org.apache.lucene.codecs.lucene103.blocktree (Lucene 10.5.1 core API)
Description: declaration: package: org.apache.lucene.codecs.lucene103.blocktree

# Package org.apache.lucene.codecs.lucene103.blocktree

package org.apache.lucene.codecs.lucene103.blocktree
BlockTree terms dictionary.

This terms dictionary organizes all terms into blocks according to shared prefix, such that each block has enough terms, and then stores the prefix trie in memory as a trie as the index structure. It allows you to plug in your own `PostingsWriterBase` to implement the postings.

See `Lucene103BlockTreeTermsWriter` for the file format.

- Classes
  Class
  Description
  FieldReader
  BlockTree's implementation of `Terms`.
  Lucene103BlockTreeTermsReader
  A block-based terms index and dictionary that assigns terms to variable length blocks according to how they share prefixes.
  Lucene103BlockTreeTermsWriter
  Block-based terms index and dictionary writer.
  Stats
  BlockTree statistics for a single field returned by `FieldReader.getStats()`.