With the help of Query Rules in Sharepoint 2013 without any
custom code we can promote a specific result or even change the ranked result
by changing the query. Search Expert or the Search Manager of the organization has
the freedom and power to change the search experience and adapt it to the
organization needs. Defining the right keywords to be matched on the user
queries and mapping the conditions with the relevant actions is easy but the
process must undoubtedly be well managed. The management of the query rules
should definitely be part of your SharePoint 2013 search governance strategy.
A query rule can specify the following three types of
actions:
- Add Promoted Results
- Add one or more groups of results, called result blocks.
- Change the ranking of results.
How to Add Query Rule:
Let’s take a scenario where organization is maintaining the
list of glossary terms managed in the organization. When we search in google “meaning
of activity”, it automatically recognizes that user wants to know the meaning
of the word ‘activity’ and it highlights its meaning at top and displays the
rest of the results in bottom.
SharePoint also provides this feature using ‘Query Rule’ feature.