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

   ### Description
   
   If you index over 100 documents with the demo application without providing 
a KnnVector dictionary you'll run always into this [code 
path](https://github.com/apache/lucene/blob/49db29e59f1d9c7de33bc09d42334a6afab943ac/lucene/demo/src/java/org/apache/lucene/demo/IndexFiles.java#L178-L183).
 This PR extends the condition to only be executed, if an actual KnnVector 
dictionary was provided.
   
   Note: As `test-files/docs` only contains 16 documents I hesitated to 
introduce additional 85 docs just for testing this specific functionality of 
the demo application. Happy to add it anyway, if needed.
   
   Closes https://github.com/apache/lucene/issues/12330
   


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