jeho-rpls opened a new pull request, #16403:
URL: https://github.com/apache/lucene/pull/16403

   Fixes #16400.
   
   The guard in `IncrementalHnswGraphMerger.addReader` tests the per-field 
wrapper instead of the unwrapped reader, so under per-field vectors formats 
reuse never triggers and every merge rebuilds the graph. Details are in the 
issue.
   
   The fix tests the unwrapped reader and stores it in `GraphReader`, because 
`createBuilder` later casts `GraphReader#reader` to `HnswGraphProvider`.
   
   `TestHnswGraphReuse` asserts that merging deletion-free segments under the 
default codec takes the graph reuse path.
   


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