ElasticSearch normalized the score for each document

Is it possible to normalized score in elastic search using function_score from relevance score? so, we can get max_score/_score range 0 to 1 for each document and we can put a threshold min_score because we know the exact score

My case: I want to search the document that has at least 50% of words from query for example
query : Iphone
document: New Iphone (50% because two words and contains iphone)
document: New iphone 7 (33% because three words)

Relevance scoring is not bounded, you may be able to force it into a bound with a function score, but I'd expect it to be pretty useless.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.