What is the corresponding class for org.apache.lucene.codecs.memory.DirectDocValuesFormat in Lucene9

2023-01-30 Thread MyCoy Z
Hi, Lucene experts: I'm looking at some code which is based on an older version of lucene. And I just noticed that, the org.apache.lucene.codecs.memory.DirectDocValuesFormat doesn't have a corresponding class in Lucene9. But the "DirectPostingFormat" is still in Lucene9. Could anyone help me to

Re: Learning Lucene from ground up

2022-11-05 Thread MyCoy Z
I just started learning Lucene HNSW source code last months. I find the most effective way is to start with the testcases, set debugging break points in the code you're interested in, and walk through the code Regards MyCoy On Fri, Nov 4, 2022 at 9:24 PM Rahul Goswami wrote: > Hello, > I have

Multi-segments and HNSW

2022-11-01 Thread MyCoy Z
Hi: 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 segments. 2. But whi

Help to understand the per-field formats in Lucene

2022-10-25 Thread MyCoy Z
Hi, Everyone: I just start studying lucene's source code. I'm confused about those per-field formats, in this package of " *org.apache.lucene.codecs.perfield*" There are many formats in lucene's codec. But there are only 3 per-field formats: "DocValues", "KnnVectors" and "Postings". So, what i