Did someone successfully redefine the count of documents in the request to determine the "relevance" of the term for the contents of the field through one own function? If so, was that through CustomScoreQuery and overriding customScore (int, float, float)? I can't seem to find a way to create a custom sort or a custom counter that can rank exact word matches much higher than other matches with prefix terms. Any suggestions would be appreciated.
source share