Uses of Class
org.apache.lucene.codecs.BlockTermState
Packages that use BlockTermState
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Lucene 10.1 file format.
-
Uses of BlockTermState in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs that return BlockTermStateModifier and TypeMethodDescriptionabstract BlockTermState
PostingsReaderBase.newTermState()
Return a newly created empty TermStateabstract BlockTermState
PushPostingsWriterBase.newTermState()
Return a newly created empty TermStateabstract BlockTermState
PostingsWriterBase.writeTerm
(BytesRef term, TermsEnum termsEnum, FixedBitSet docsSeen, NormsProducer norms) Write all postings for one term; use the providedTermsEnum
to pull aPostingsEnum
.final BlockTermState
PushPostingsWriterBase.writeTerm
(BytesRef term, TermsEnum termsEnum, FixedBitSet docsSeen, NormsProducer norms) Methods in org.apache.lucene.codecs with parameters of type BlockTermStateModifier and TypeMethodDescriptionabstract void
PostingsReaderBase.decodeTerm
(DataInput in, FieldInfo fieldInfo, BlockTermState state, boolean absolute) Actually decode metadata for next termabstract void
PostingsWriterBase.encodeTerm
(DataOutput out, FieldInfo fieldInfo, BlockTermState state, boolean absolute) Encode metadata as long[] and byte[].abstract void
PushPostingsWriterBase.finishTerm
(BlockTermState state) Finishes the current term.abstract ImpactsEnum
PostingsReaderBase.impacts
(FieldInfo fieldInfo, BlockTermState state, int flags) Return aImpactsEnum
that computes impacts withscorer
.abstract PostingsEnum
PostingsReaderBase.postings
(FieldInfo fieldInfo, BlockTermState state, PostingsEnum reuse, int flags) Must fully consume state, since after this call that TermState may be reused. -
Uses of BlockTermState in org.apache.lucene.codecs.lucene101
Subclasses of BlockTermState in org.apache.lucene.codecs.lucene101Modifier and TypeClassDescriptionstatic final class
Holds all state required forLucene101PostingsReader
to produce aPostingsEnum
without re-seeking the terms dict.Methods in org.apache.lucene.codecs.lucene101 that return BlockTermStateMethods in org.apache.lucene.codecs.lucene101 with parameters of type BlockTermStateModifier and TypeMethodDescriptionvoid
Lucene101PostingsReader.decodeTerm
(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) void
Lucene101PostingsWriter.encodeTerm
(DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute) void
Lucene101PostingsWriter.finishTerm
(BlockTermState _state) Called when we are done adding docs to this termLucene101PostingsReader.impacts
(FieldInfo fieldInfo, BlockTermState state, int flags) Lucene101PostingsReader.postings
(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags)