I have subclassed the BooleanQuery and changed the BooleanWeight constructor to change the way the /coord/ and /idf /components of the similiarity formula are computed, and my changes work as expected when calling IndexSearcher.explain().
However, I now find that when just calling IndexSearcher.search(), the scores reported for each document and resulting ranking are quite different from what .explain() shows me. What is going on? Clearly scores are computed somewhere else when done by BulkScorer and not in BooleanQuery.BooleanWeight(). I have been looking at the code but it's mighty confusing and I still haven't figured out how to make the same changes on this pipeline. Please help!! Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/BulkScorer-and-explain-compute-scores-separately-tp4185544.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org