.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Articles >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Articles

How to Promote a result using Query Rules in SharePoint

Posted By:Jean Paul       Posted Date: May 26, 2014    Points: 200    Category: SharePoint    URL: http://www.dotnetspark.com  

In this article we will explore how to use Query Rules to promote a document in the search results in SharePoint

In this article we can work on a real-life scenario of putting a document at the top of the results in a search.

Search Scenario

In the HR department, there are dozens of documents containing text handbooks. When the user searches for a handbook, he/she will get many results. 

Now the HR Manager has designated a specific document as the most appropriate handbook. The interesting factor is that the document title does not contain the term handbook.

How to put this document at the top of the results in the search?


Using Query Rules we can do this.

Document URL

From your SharePoint site, find a Document URL using the copy shortcut option.



Open site settings then search settings section.


Click on the "Query Rules" link as highlighted above.


In the page that appears, choose the result source as Local SharePoint Results (System) as shown below:


Now click on "New Query Rule".


In the page that appears, enter the rule name and phrase as handbook.


Please note that we are specifying the Query Matches option to match the handbook keyword.

Then click the Add Promoted Result link. In the appearing dialog, enter the URL information.


Click the "Save" button in the dialog and "Save" button in the previous page. You are ready with the Query Rule.

Testing the Search

Now return to the Home page and in the search box enter the keyword handbook. You should get the first result with the promoted URL.


Query Rules is a management component from FAST Search.




In this article we have explored how to use Query Rules to promote a document in the search results.

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend