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

   This commit ensures that `SimpleText[Float|Byte]VectorValues::scorer` 
returns null when the vector values is empty, as per the scorer javadoc.  Other 
KnnVectorsReader implementations have specialised empty implementations that do 
similar, e.g. `OffHeapFloatVectorValues.EmptyOffHeapVectorValues`. The 
`VectorScorer` interface in new in Lucene 9.11, see #13181 
   
   An existing test randomly hits this, but a new test has been added that 
exercises this code path consistently. It's also useful to verify other 
KnnVectorsReader implementations.
   
   closes #13443


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

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