atris commented on issue #1303: LUCENE-9114: Improve ValueSourceScorer's 
Default Cost Implementation
URL: https://github.com/apache/lucene-solr/pull/1303#issuecomment-593126930
 
 
   > Wouldn't this result in an infinite loop?
   
   The idea was that the underlying TwoPhaseIterator implementation for the 
nested FunctionValues would be an actual VSC derivative and not using the 
default matchCost version. I planned to merge this PR only for 8x and make 
matchCost an abstract method for master. BTW, what would be your suggestion to 
better evaluate FunctionValues's cost? Maybe we could look at the doc each time 
and see if it matches or not and then return a cost based on that?
   
   Another thing -- the Lucene test suite passes fine with this change. Does 
that mean that we are lacking comprehensive tests for VSC where two nested 
FunctionValues use the default VSC matchCost?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to