benwtrent opened a new pull request, #15496:
URL: https://github.com/apache/lucene/pull/15496

   Back when I originally added the `VectorScorer.Bulk` interface, I was just 
sort of assuming it would only ever be used with some pre-filter applied 
iterator. 
   
   However, this doesn't make sense when being like a `BulkScorer` (see 
`BatchScoreBulkScorer` as a nice example).
   
   Consequently, I am adjusting the iteration to instead have the interface of 
`int upTo` as the "up to this next doc" to score instead of the original 
"count" score, which effectively assumes you always provide some "pre-filter" 
iterator in the construction of the object.
   
   This still allows for a "pre-filter" type of iteration (which means, the 
user constructs the iterator and provides and scores everything). This is still 
useful for RandomVectorScorer things as we can bulk score many ordinals at once 
that aren't directly next to each other and get nice speed improvements.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to