In order to access the admin UI described bellow, you will need to be authenticated in Datafari as a user with the "SearchExpert" or the "SearchAdministrator" privilege. For more details refer to the Types of users.
From the 2.3 version of Datafari, a new feature is available for the "SearchExpert" and "SearchAdministrator" users in the admin UI, the "Query Elevator" :
This UI allows you to either modify/remove existing elevate boosts, or create new ones.
Let's start with the modify/remove part :
As you can see, it is composed by two sections :
- The first one is a "Select" where you will be able to select a query which has elevated documents. The list only contains queries that are present in the elevate.xml file located in [Datafari_Home]/solr/solr_home/FileShare/conf.
- The second is a table where will appear the documents which have an elevate boost for the query you have selected.
The documents are ordered by priority of appearance in the search results, which is also indicated by their "Position" number.
Here you can simply drag and drop the documents to change their position in the search results. You can also remove some of them if you want by clicking on their associated trash icon.
Once you are satisfied with the order of the documents for the selected query, you can click on the "confirm" button. Datafari will update the elevate.xml file to match your configuration and will reload the Solr core so your modifications will take effect at the end of the process. Once the Solr core is reloaded, a confirmation message will appear next to the "confirm" button.
Let's focus now on the create part:
This part allow you to create or add elevate boosts for a query. Notice that if you add new elevate boosts to a query which already has ones, the new ones will be added at the top of the list in the same order as you have entered them.
Simply type a query in the corresponding text field and then enter the id of the documents you want to elevate for this query. You can add several documents by clicking on the green cross which will add a new document ID line.
Once your are done with your configuration, click on the "confirm" button. Datafari will update the elevate.xml file to match your configuration and will reload the Solr core so your modifications will take effect at the end of the process. Once the Solr core is reloaded, a confirmation message will appear next to the "confirm" button.