Re: HNSW and Multi-segments

2022-11-03 Thread Michael Sokolov
after collecting from multiple segments (which by the way can be done concurrently), the results are merged sorted by score. On Thu, Nov 3, 2022 at 2:38 PM MyCoy Z wrote: > > Hi, Lucene Developers: > > I'm studying the HNSW source code and have some questions regarding Lucene's >

HNSW and Multi-segments

2022-11-03 Thread MyCoy Z
Hi, Lucene Developers: I'm studying the HNSW source code and have some questions regarding Lucene's multi-segments and HNSW. First, some of my understanding: 1. While creating the index, when two segments are being merged, it could rebuild the HNSW graph based on the docs and vectors in the two