Value search results consist of values grouped by record
attribute. Attributes in the result list are returned in ascending alphabetical
order.
The ordering of values, within each attribute, is as follows:
- If you specify a relevance
ranking strategy, the order of results is ranked according to it.
- If you do not specify a
relevance ranking strategy, the Dgraph uses the value for this strategy
provided in the
DIMSEARCH_CONFIG configuration document (you can send
an updated version of this document to the Dgraph by using the Configuration
Web Service).
- Further, if the document
does not provide a strategy, the Dgraph ranks the results using the three
strategies in this order to break ties:
interp,
exact, and
static(nbins,descending).