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

   Fixes partially #16674: Skip scanning all vectors while calculating centroid 
for quantization during segment merging when there are deletes in the segment. 
Before this change, when there are deleted docs in a segment, we go over all 
live docs and calculate mean of the vectors. Now after this change we are just 
going over deleted docs (if they are less than 50%) and deleting the vectors 
from the old centroid values. This should save some CPU in theory.


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