mayya-sharipova opened a new pull request #608:
URL: https://github.com/apache/lucene/pull/608


   Currently HNSW has only a single layer.
   This patch makes HNSW graph multi-layered.
   
   This PR is based on the following PRs:
    #250, #267, #287, #315, #536, #416
   
   Main changes:
   - Multi layers are introduced into HnswGraph and HnswGraphBuilder
   - A new Lucene91HnswVectorsFormat with new Lucene91HnswVectorsReader
   and Lucene91HnswVectorsWriter are introduced to encode graph
   layers' information
   - Lucene90Codec, Lucene90HnswVectorsFormat, and the reading logic of
   Lucene90HnswVectorsReader and Lucene90HnswGraph are moved to
   backward_codecs to support reading and searching of graphs built
   in pre 9.1 version. Lucene90HnswVectorsWriter is deleted.
   - For backwards compatible tests, previous Lucene90 graph reading and
   writing logic was copied into test files of
   Lucene90RWHnswVectorsFormat, Lucene90HnswVectorsWriter,
   Lucene90HnswGraphBuilder and Lucene90HnswRWGraph.
   
   TODO: tests for KNN search for graphs built in pre 9.1 version;
   tests for merge of indices of pre 9.1 + current versions.


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to