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

   This commit adds a minor clarification to `HasIndexSlice::getSlice`, 
documenting that it may return null if the index input is not available.   This 
is just a clarification of existing behaviour (rather than a change in 
behaviour), and the usage sites already cover the null check.
   
   My motivation for this change is to make it more straightforward and clear 
that we can write filter wrapper delegates on top of KnnVectorValues - the 
filter can just implement HasIndexSlice and return null, rather than writing 
two different filter implementations.


-- 
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