irvingzhang opened a new pull request #1169: LUCENE-9004: A minor feature and 
patch -- support deleting vector values and fix segments merging
   I think this commit belongs to this issue 
( I'm not sure if I need to 
create a new issue. Following are my specified considerations,
   1. A minor feature: Regarding to the ANN search problems, it's dangerous to 
delete vectors according to similarity search result in HNSW.  The selected 
docs are neither sorted nor reduced. The number of deleted vectors is 
proportional to the segment count and the parameter ef. And the deleted vectors 
is obviously uncertain. Hence, I created a new type of Query (KnnDelQuery) And 
Weight (KnnDelScoreWeight) for the dedicated deleting of the exact values that 
matching the query vector;
   2. A minor patch: For fixing the merge process while some segments may 
contain deleted documents that must be filtered;
   The modified codes have been tested by the test cases.

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:

With regards,
Apache Git Services

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to