How to sort search results by relevancy

This document explain how you can sort your results by relevancy based on the keywords you provide

Search Relevancy in Digicomply

Non-Sorted search

With the basic search interaction , there is no ranking by relevance. Results are filters according to terms used and are ordered by date.

Screen recording above shows the interaction using labels like product or market. As a user you can also switch to boolean search and further customize your terms. With this approach, the results are sorted by their publishing date as you can see on following screenshot:

Search sorted by relevance

Different way to interact with search is if you do not select any item from the drop down list and only confirm your search. This interaction is more similar to interaction you could have with systems like google.

As you can see on the preview above this approach returns more than 100 thousand results across all markets and sources. With this search, results which mention challenges in chocolate will be put to the top of the results (see screenshot below). In this case documents are not filtered but ordered

The system includes content which mentions challenges in other products as well. Or mention chocolate but does not mention challenges. This content will be placed below more relevant content, but it will not be filtered out. Because of this, this method is not that useful for creating feeds with email notifications enabled. 


To narrow down the search results with more specific information you can combine the search criteria with the previous search method. You can do so by interacting with widgets. For example looking only at content from the USA.


Or using one of the suggested terms system has proposed. 

The terms that the system proposes are based on the query you have provided. By clicking on the terms, you’re telling the system: Do not return any documents that do not contain Chocolate as a product. 

As you can see, at the end, instead of 100 000 results, we ended up with 161 where each is sorted by how relevant they are to your query. 

Switching between sorting modes

After you perform your search you can switch between different searching modes with button shown in screenshot below.