Boosting documents from the Search UI
Valid from 5.3
1. Activate the graphical tool
To be able to use the graphical tool to boost documents from the UI, you will need first to activate it through the admin UI, in the "Search Engine Configuration / Document Boost" tab:
The graphical tool can only be enabled if the Search Aggregator is NOT ENABLEDÂ !
The reason is that in search aggregation mode, the search results are composed of documents that may be remote documents, as the doc boost is a Solr feature that is linked to the local cluster, trying to boost a remote document may result in strange behavior or even errors in the search results.
When the Search Aggregator is enabled, the button to enable the graphical tool is therefore disabled and a warning message is displayed:
2. How to use itÂ
To see the feature described below in the search view of Datafari, you must be connected to Datafari with a user having either the "SearchExpert" or the "SearchAdministrator" role. Refer to the Types of users for more details.
Once you are connected as a "SearchExpert" or a "SearchAdministrator", if you perform a search in Datafari with the legacy UI mode, you will notice new icons at the right of each result:
These icons are used to elevate, drop or remove an elevate boost of the associated document for the current query:
: is used to elevate the associated document. It will add a boost to the document for the current query, that will make it appear in the firsts results.
When you click on this button, Datafari modifies the elevate.xml file located in [Datafari_Home]/solr/solr_home/FileShare/conf to either add the document to the list of the elevated docs for this query if it is not already in, or to raise it one step up.Â
If you elevate several documents with this method, notice that each added document will be inserted at the end of the list.
: Is used to drop an elevated document one step down in the list.
: Is used to remove an elevated document from the list.
: Indicates that the corresponding document is already in the list of elevated documents for the current query. The displayed number indicates the position of the document in the list, it is refreshed in real time when the user adds, raises, downgrades or removes documents from the elevated docs.
The elevated documents will appear as the first documents of the search, in the order they are stored in the list. You can change the order through the search UI thanks to the  and  buttons, or through the documents boosting admin UI.Â
The elevations will be taking place immediatly (the reload of the solr core may cause some lagging for a few seconds or minutes depending on the solr index size).