Few terminology need to understand before integrate the Bing Result
Having set up a query rule that returns federated results, you will save it and then see it in action.
Happy Coding..
Result Source :-
Result sources In SharePoint 2013 Search define where a search query looks for results.
SharePoint 2010, result sources replace “search scopes”. In this blog, you will learn how to create a new result source. Specifically, you will create a result source that returns search results from the Bing search engine.
Search Federation
Federated search can be defined as using search indexes created by other search engines to supplement SharePoint search results. This feature enables the user to retrieve and display search results for content that is not crawled by the SharePoint search server. For example, you can set up a search to return content indexed by an external search engine like Bing. SharePoint can format and display external results on the same search results page along with results from SharePoint search.- Navigate to Site Settings page of Search Center -> Click Search, click Result Source.
- Click New Result Source
- Name: Federated Results
- Description: Result source for Bing
- Source Information/Protocol: OpenSearch 1.0/1.1
- Query Transformation: {searchTerms}
- Source URL (for Bing): Copy and paste, or type in the following as a continuous string of text: http://www.bing.com/search?q={?searchterms}&format=rss&Market=en-Us Credentials Information: Anonymous At the bottom of the page
- click Save
Build a Query Rule:-
- Navigate to Site Settings page of Search Center -> Click Search, click Query Rules.
- Click the down-arrow next to Select a Result Source… and then click Local SharePoint Results. Note: this will enable the query rule to return results from local SharePoint content as well as from the Bing federated result source. In a few minutes, we will configure a result block for the Bing results part of the query rule.
- Click New Query Rule.
- In the query rule configuration page, under Rule name, type Bing Results.
- In the Query Conditions area, click Remove Condition. This means the query rule will fire for all search queries.
- In the Actions area, under Result Blocks, click Add Result Block.
Configure the result block
- In the Block Title area, change the title to Bing Results for “{subjectTerms}”.Use the drop-down menu next to theSearch this Source box to select Federated Results.
- Change the Items drop-down menu to 5.
- Expand Settings.
- Select This block is always shown above core results.
- The final Result Block configuration window should look like the following:
Test the query rule
- Click OK to close the Add Result Block window.
- Scroll down if needed, and click Save to save the new query rule.
- At the upper left of the page, click the SharePoint icon to open a fresh search page.
- In the query box, type SharePoint 2013 and click the search icon.
- Notice the Bing results at the top of the results page. Below the Bing Results block, you may see local SharePoint results as well.
Happy Coding..
https://www.accountingweb.com/profile/bestmapof
ReplyDeletehttp://www.blogtalkradio.com/bestmapof
https://ello.co/bestmapof
https://www.stumbleupon.com/stumbler/bestmapof
https://www.opendesktop.org/member/496576/
https://trello.com/bestmapof
https://hubpages.com/@bestmapof
https://vue-forums.uit.tufts.edu/user/profile/570921.page
https://www.plurk.com/bestmapof
https://www.ifixit.com/User/2480011/bestmapof
Outstanding! What a wonderful content you've written on SharePoint.Thank you so much for sharing your knowledge on SharePoint Developer with us. Please keep sharing such as great content in future.
ReplyDeleteThank you so much for this amazing article. I just loved it.
ReplyDeleteI run a blog where I wrote about various black friday web hosting deals and discount coupons. If you are looking for just black friday deals you can visit this blog.