What does Lucene ScoreDoc.score mean?

I am performing a logical query with several terms. I only want to process results with a score above a certain threshold. My problem is that I do not understand how this value is calculated. I understand that high numbers mean it is a good match, and low numbers mean it is a bad match, but there seems to be no upper bounds?

Can points be normalized over the range [0,1]?

+3
source share
1 answer

Here is a page that describes how Lucene scores are calculated:

http://lucene.apache.org/java/3_0_0/scoring.html

, . , , .

, , - . , 2,5, 2.5, 0 1.

+10

Source: https://habr.com/ru/post/1795558/


All Articles