Hi Jesse,
you are correct, the variable 'bestScore' used in the
createQuery(PriorityQueue q) should be "minScore".
it is used to normalise the terms score :
tq = new BoostQuery(tq, boostFactor * myScore / bestScore);
e.g.
Queue -> Term1:100 , Term2:50, Term3:20, Term4:10
The minScore will be 10
Hi folks,
Looks like LUCENE-5795
(https://github.com/apache/lucene-solr/commit/173a44e67c7c3c1a9ffbe7259ea8b45f1f53b015#diff-d3409eb300a059322d46e4c9f43717ed)
changed the “lessThan” condition in FreqQ PriorityQueue to actually be less
than in order to only collect top N terms.
However, w