Score interval

Is there a limit to the value of _score without the use of boost in a search query ?

I need to return the score of each search results in a [0, 1] interval, and I'm wondering if I can just divide the score returned by Elasticsearch by 100 or something.

Elasticsearch/Lucene scores are relative only to the specific query used to
generate them and cannot be normalized to other queries or to a range. You
can use aggregations to calculate the min/max scores are normalize the
values on the client side.

Are you saying that it's not possible to get a score between 0 and 1, while having this score relative to all the documents (rather than relative to the best score for the matched documents) ?

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