Nikhil,
Try to take a look at the function_score query. You should be able to
inject a function with say a term filter and provide an override
(script_score) or boost (boost_factor) to perform the exact match boosting.
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-
Hello All,
I am wondering how to rank exact match higher than the nGram matches.
For example:
search string: *abcd*
results - abcd, abcde, abcdegl
not in a particular order.
But I want to rank 'abcd' higher than the rest. Is it possible??
I am adding my mappings, analyzers and query below.