Skip to main content

Development

Use XRANK operator to boost the dynamic rank in Sharepoint 2013

In this blog, I’ll introduce a novel ranking algorithm called XRANK as a solution to boost the dynamic rank of items based on certain term occurrences within the match expression in Sharepoint 2013.

In the law firm business, there are lots of matters, and the attorneys always try to find out matters which are similar. For example, another matter is considered similar to the current matter according to the affinity for the following matching values. Any match within a tier trumps matches on subsequent tiers, while multiple matches within a tier would serve as a tiebreaker.

Tier 1

Matter Type

Tier 2

Client

Tier 3

Industry

Untitled01

According to this similar matter sort rank rule, we can construct Keyword Query Language (KQL) queries for searching in SharePoint 2013 like this:

Untitled02

Matches “MatterType”, “Client” or “Industry” also boost the results which are the same “MatterType” by the constant rank boost of 1000, and boost the results which are the same “Client” by the constant rank boost of 100, etc. It means on the search results, the matters just with the same “MatterType” are considered as closer than the matters just with the same “Industry”. In addition, the final dynamic rank value is calculated as a sum of boosts across all XRANK operators. For example, the matters with the same “Client” and “Industry” are considered as closer than the matters just have the same “Client”.

You can get syntax reference describes XRANK operator in KQL queries here:

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

 

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Follow Us
TwitterLinkedinFacebookYoutubeInstagram