mkhludnev opened a new issue, #12269:
URL: https://github.com/apache/lucene/issues/12269

   ### Description
   
   It's a spin off from #12204 #12245.
   I'm not sure it's really necessary, please advise. 
   Now `ToParentBlockJoinQuery.BlockJoinScorer#explain` requests expensive 
`explain()` for every matching child doc. Here are possible measures:
   1. extract BlockJoinScorer.setScoreAndFreq().freq to a field. Are we ready 
to afford this cost? 
   2. call score() in the beginning of explain(), use returned score to find 
child doc (for Min,Max modes)
   3. request explain() only for the child found at 2.
   4. use freq from 1. to output number of matches
   
   WDYD? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to