Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

    Advertisements
  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand
  • Advertisements

SharePoint 2013 – Promote result using Query Rules

Posted by Paul on September 15, 2013


In this article we can work on a real life scenario.

Search Scenario

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

Now the HR Manager have validated a particular document as the most appropriate handbook. The interesting factor is that the document title does not contain the term handbook.

How to promote this document to be the first-appearing result in search?

Solution

Using Query Rules we can achieve this.

Document URL

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

http://corp/Docs/HowTo.docx

Steps

Open site settings > search settings section

clip_image001

Click on the Query Rules link as highlighted above.

clip_image003

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

clip_image004

Now click on the New Query Rule option.

clip_image006

In the appearing page, enter the rule name, phrase as handbook

clip_image008

clip_image010

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

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

clip_image012

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

Testing the Search

Now, go back to the Home page & in the search box enter the keyword handbook. You should get the first result with promoted url.

clip_image014

clip_image015

Query Rules is a management component from FAST Search.  In SharePoint 2010 this feature is called ‘Best Bet’.

References

http://bit.ly/14D6VS7

Summary

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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s