locked
How to implement Bing Search to sharepoint RRS feed

  • Question

  • Hello everybody,

    Is it possible to implement Bing Search to Moss 2007 and desktop search.Is there webpart for it or somethink

    Jouni
    • Moved by Mike Walsh FIN Friday, November 6, 2009 7:41 PM asking for a ready-made web part (From:SharePoint - Development and Programming)
    Friday, November 6, 2009 7:33 PM

Answers

    • Proposed as answer by Anand yadav Sunday, November 8, 2009 8:17 AM
    • Marked as answer by Lu Zou-MSFT Tuesday, November 10, 2009 5:39 AM
    Saturday, November 7, 2009 7:07 AM
  • Are you asking:

    1. About using Bing as a federated search (in a single search, search both MOSS using MOSS and the web using Bing)
    2. About using Bing to do the search of SharePoint content (an internet facing SharePoint site for example)
    3. About adding a web part to a SharePoint so users can search the internet using Bing (not to use Bing to search your SharePoint sites

    1) Michael's link is about federated search. Also "bing" "sharepoint federated search bing".

    2) If you want to use Bing to search an internet facing SharePoint site look here by replacing the default SharePoint search box:
    http://techtrainingnotes.blogspot.com/2009/07/sharepoint-custom-search-boxes-google.html

    2 & 3) If you would like to add a web part for general internet searching try this:
     Add a Content Editor Web Part
     Modify the web part and click the Source Editor button
     Paste the following HTML and JavaScript (displays a search box and button)
     (To search just your site, edit "site:www.maxtrain.com" with your site name)
     (To search all of the internet, delete ' + " site:www.maxtrain.com"  '
     (edit to your needs, open a popup window, etc)

    Search Bing! <input name="q" type="text"/>
    <a href="" onclick="javascript:BingSearch();return false"><img src="/_layouts/images/gosearch.gif"/></a>
    
    <script>  
    function BingSearch()  {
        document.location.href="http://www.bing.com?q=" + 
         document.all("q").value + " site:www.maxtrain.com"  }
    </script>
    

    Mike Smith TechTrainingNotes.blogspot.com
    • Marked as answer by Lu Zou-MSFT Tuesday, November 10, 2009 5:39 AM
    Sunday, November 8, 2009 4:42 PM

All replies

    • Proposed as answer by Anand yadav Sunday, November 8, 2009 8:17 AM
    • Marked as answer by Lu Zou-MSFT Tuesday, November 10, 2009 5:39 AM
    Saturday, November 7, 2009 7:07 AM
  • Are you asking:

    1. About using Bing as a federated search (in a single search, search both MOSS using MOSS and the web using Bing)
    2. About using Bing to do the search of SharePoint content (an internet facing SharePoint site for example)
    3. About adding a web part to a SharePoint so users can search the internet using Bing (not to use Bing to search your SharePoint sites

    1) Michael's link is about federated search. Also "bing" "sharepoint federated search bing".

    2) If you want to use Bing to search an internet facing SharePoint site look here by replacing the default SharePoint search box:
    http://techtrainingnotes.blogspot.com/2009/07/sharepoint-custom-search-boxes-google.html

    2 & 3) If you would like to add a web part for general internet searching try this:
     Add a Content Editor Web Part
     Modify the web part and click the Source Editor button
     Paste the following HTML and JavaScript (displays a search box and button)
     (To search just your site, edit "site:www.maxtrain.com" with your site name)
     (To search all of the internet, delete ' + " site:www.maxtrain.com"  '
     (edit to your needs, open a popup window, etc)

    Search Bing! <input name="q" type="text"/>
    <a href="" onclick="javascript:BingSearch();return false"><img src="/_layouts/images/gosearch.gif"/></a>
    
    <script>  
    function BingSearch()  {
        document.location.href="http://www.bing.com?q=" + 
         document.all("q").value + " site:www.maxtrain.com"  }
    </script>
    

    Mike Smith TechTrainingNotes.blogspot.com
    • Marked as answer by Lu Zou-MSFT Tuesday, November 10, 2009 5:39 AM
    Sunday, November 8, 2009 4:42 PM
  • Thank you mike. Your tips was very helpful. I need your helop in one small teps .I need show result BingResult.aspx.This solution has one small problem.It always Redirect or Open new window.My goal is to show result in result.page.Mayby Federated search bing is answer, but i cannot find any webparts for it
    Jouni
    Monday, November 23, 2009 3:52 PM
  • What do you mean by "result.page"?

    As far as web parts, etc, are you at service pack 2 or have the Infrastructre update installed?

    Updates are here: http://technet.microsoft.com/en-us/office/sharepointserver/bb735839.aspx
    Mike Smith TechTrainingNotes.blogspot.com
    Monday, November 23, 2009 5:28 PM
  • Sorry I mean Result.aspx. I mean page where do you usually show search results

    Jouni
    Monday, November 23, 2009 6:05 PM