Configure Bing Search

In this article we can explore how to configure Bing Search in SharePoint.

What is Bing Search?

Bing Search in SharePoint allows searching in www.bing.com within SharePoint.

1. It requires Enterprise edition of SharePoint to configure this

What is the Advantage?

Users can use SharePoint as a Central Page to search multiple search engines.

How Bing Search is achieved?

We are using Federated Search to achieve this. Here the user search term is passed to Bing.com through Open Search protocol.

image

There are 2 types of Search in SharePoint. One is Indexed Search where the SharePoint Crawler periodically collects data of external systems & indexes them in SharePoint database.

The other one is Federated Search which can be used for systems where Indexing is not possible / time consuming / resource centric / result freshness required. In Federated Search, the user search term is passed to the third party search provider using Query strings & the result can be retrieved as RSS and will be formatted and displayed in SharePoint.

Steps

Following are the steps involved.

Step 1 Create Result Source

Open Central Administration > Manage service applications > Search Service Application > Result Sources page

image

Choose the New Result Source option.

Enter the following information:

1. Name Bing

2. Protocol Open Search

3. Search Term (no change)

4. Source Url http://www.bing.com/search?q={?searchterms}&format=rss

Save changes.

image

The query string q={?searchterms} passes the user-typed term in SharePoint to the Bing URL.

The query string format=rss emphasizes returning results as RSS feeds without the Bing HTML content.

image

Result sources limit searches to certain content or to a subset of search results. You can also use result sources to send queries to external providers such as Bing.

Step 2 Modify Search Result Page

Now we need to associate the Bing result source to a result page.

Create an Enterprise Search Center template & Open the result page.

image

Choose Page Settings > Edit Page & then Edit Search Results web part.

image

Choose the Change Query option.

image

Select the result source as Bing (our new result source)

image

Save changes to dialog, web part & page.

Check-in & Publish the page.

Step 3 Test Search

Now we are ready to test the search. Open the Enterprise Search Center site and run a query. You should be able to see results from bing.com.

image

This concludes our Federates Search using Bing.

image

In the example we have modified the default search result page of enterprise search center site. You may wish to revert the changes or delete & create another site.

image

Please note that Federated Search is possible only if the Provider enables OpenSearch compliant RSS feeds. You can see this in the provider site as shown below for Bing Search.

image

References

http://msdn.microsoft.com/en-us/library/office/cc806030(v=office.14).aspx

Summary

In this article we have explored how to configure Bing Search in SharePoint.

Leave a Reply

Your email address will not be published. Required fields are marked *