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

Covid 19
COVID-19: Digital Insights For Enterprise Action

Access Perficient’s latest insights into how you can leverage digital technologies to not only respond to the pandemic, but drive your operations forward and deliver experiences your customers need.

Get Informed

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

 

About the Author

More from this Author

Leave a Reply

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

Subscribe to the Weekly Blog Digest:

Sign Up