Re: Help to understand the per-field formats in Lucene

2022-10-25 Thread Mikhail Khludnev
Hello McCoy. "DocValues", "KnnVectors" and "Postings" are three core principally different APIs/data structures ie docValues is data column; and postings is inverted index. By default codec defines these three formats for all fields. And per-field wrappers allow configuring separate formats for a p

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