john-mlika commented on issue #16420:
URL: https://github.com/apache/lucene/issues/16420#issuecomment-5161248848

   the centroid is used to center vectors during scalar quantization, so we do 
need one for the merged segment.
   
   i checked this, and i was overestimating the cost of the extra read. 
checkIntegrity reads the same .vec first, so the centroid pass is already warm. 
it was only 0.3-0.8% of merge time, about 1.16s on the 4M x 512 run. that's 
probably not worth adding the API for, feel free to close.


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