Uses of Class
org.apache.lucene.codecs.BlockTermState
Packages that use BlockTermState
Package
Description
BlockTree terms dictionary.
Lucene 5.0 file format.
Lucene 8.4 file format.
Lucene 9.0 file format.
Lucene 9.12 file format.
Lucene 9.9 file format.
Codecs API: API for customization of the encoding and structure of the index.
Pluggable term index / block terms dictionary implementations.
Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.
Lucene 10.1 file format.
BlockTree terms dictionary.
Term dictionary, DocValues or Postings formats that are read entirely into memory.
Pluggable term index / block terms dictionary implementations.
Pluggable term index / block terms dictionary implementations.
A primary-key postings format that associates a version (long) with each term and can provide
fail-fast lookups by ID and version.
-
Uses of BlockTermState in org.apache.lucene.backward_codecs.lucene40.blocktree
Fields in org.apache.lucene.backward_codecs.lucene40.blocktree declared as BlockTermStateModifier and TypeFieldDescription(package private) final BlockTermState
SegmentTermsEnumFrame.state
(package private) final BlockTermState
IntersectTermsEnumFrame.termState
-
Uses of BlockTermState in org.apache.lucene.backward_codecs.lucene50
Subclasses of BlockTermState in org.apache.lucene.backward_codecs.lucene50Modifier and TypeClassDescriptionstatic final class
Holds all state required forLucene50PostingsReader
to produce aPostingsEnum
without re-seeking the terms dict.Methods in org.apache.lucene.backward_codecs.lucene50 that return BlockTermStateMethods in org.apache.lucene.backward_codecs.lucene50 with parameters of type BlockTermStateModifier and TypeMethodDescriptionvoid
Lucene50PostingsReader.decodeTerm
(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) Lucene50PostingsReader.impacts
(FieldInfo fieldInfo, BlockTermState state, int flags) Lucene50PostingsReader.postings
(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags) -
Uses of BlockTermState in org.apache.lucene.backward_codecs.lucene84
Subclasses of BlockTermState in org.apache.lucene.backward_codecs.lucene84Modifier and TypeClassDescriptionstatic final class
Holds all state required forLucene84PostingsReader
to produce aPostingsEnum
without re-seeking the terms dict.Methods in org.apache.lucene.backward_codecs.lucene84 that return BlockTermStateMethods in org.apache.lucene.backward_codecs.lucene84 with parameters of type BlockTermStateModifier and TypeMethodDescriptionvoid
Lucene84PostingsReader.decodeTerm
(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) Lucene84PostingsReader.impacts
(FieldInfo fieldInfo, BlockTermState state, int flags) Lucene84PostingsReader.postings
(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags) -
Uses of BlockTermState in org.apache.lucene.backward_codecs.lucene90
Subclasses of BlockTermState in org.apache.lucene.backward_codecs.lucene90Modifier and TypeClassDescriptionstatic final class
Holds all state required forLucene90PostingsReader
to produce aPostingsEnum
without re-seeking the terms dict.Methods in org.apache.lucene.backward_codecs.lucene90 that return BlockTermStateMethods in org.apache.lucene.backward_codecs.lucene90 with parameters of type BlockTermStateModifier and TypeMethodDescriptionvoid
Lucene90PostingsReader.decodeTerm
(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) void
Lucene90PostingsWriter.encodeTerm
(DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute) void
Lucene90PostingsWriter.finishTerm
(BlockTermState _state) Called when we are done adding docs to this termLucene90PostingsReader.impacts
(FieldInfo fieldInfo, BlockTermState state, int flags) Lucene90PostingsReader.postings
(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags) -
Uses of BlockTermState in org.apache.lucene.backward_codecs.lucene912
Subclasses of BlockTermState in org.apache.lucene.backward_codecs.lucene912Modifier and TypeClassDescriptionstatic final class
Holds all state required forLucene912PostingsReader
to produce aPostingsEnum
without re-seeking the terms dict.Methods in org.apache.lucene.backward_codecs.lucene912 that return BlockTermStateMethods in org.apache.lucene.backward_codecs.lucene912 with parameters of type BlockTermStateModifier and TypeMethodDescriptionvoid
Lucene912PostingsReader.decodeTerm
(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) Lucene912PostingsReader.impacts
(FieldInfo fieldInfo, BlockTermState state, int flags) Lucene912PostingsReader.postings
(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags) -
Uses of BlockTermState in org.apache.lucene.backward_codecs.lucene99
Subclasses of BlockTermState in org.apache.lucene.backward_codecs.lucene99Modifier and TypeClassDescriptionstatic final class
Holds all state required forLucene99PostingsReader
to produce aPostingsEnum
without re-seeking the terms dict.Methods in org.apache.lucene.backward_codecs.lucene99 that return BlockTermStateMethods in org.apache.lucene.backward_codecs.lucene99 with parameters of type BlockTermStateModifier and TypeMethodDescriptionvoid
Lucene99PostingsReader.decodeTerm
(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) Lucene99PostingsReader.impacts
(FieldInfo fieldInfo, BlockTermState state, int flags) Lucene99PostingsReader.postings
(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags) -
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.blockterms
Fields in org.apache.lucene.codecs.blockterms declared as BlockTermStateModifier and TypeFieldDescriptionprivate final BlockTermState
BlockTermsReader.FieldReader.SegmentTermsEnum.state
BlockTermsWriter.TermEntry.state
-
Uses of BlockTermState in org.apache.lucene.codecs.blocktreeords
Fields in org.apache.lucene.codecs.blocktreeords declared as BlockTermStateModifier and TypeFieldDescriptionfinal BlockTermState
OrdsBlockTreeTermsWriter.PendingTerm.state
(package private) final BlockTermState
OrdsSegmentTermsEnumFrame.state
(package private) final BlockTermState
OrdsIntersectTermsEnumFrame.termState
Constructors in org.apache.lucene.codecs.blocktreeords with parameters of type BlockTermState -
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) -
Uses of BlockTermState in org.apache.lucene.codecs.lucene90.blocktree
Fields in org.apache.lucene.codecs.lucene90.blocktree declared as BlockTermStateModifier and TypeFieldDescriptionfinal BlockTermState
Lucene90BlockTreeTermsWriter.PendingTerm.state
(package private) final BlockTermState
SegmentTermsEnumFrame.state
(package private) final BlockTermState
IntersectTermsEnumFrame.termState
Constructors in org.apache.lucene.codecs.lucene90.blocktree with parameters of type BlockTermState -
Uses of BlockTermState in org.apache.lucene.codecs.memory
Fields in org.apache.lucene.codecs.memory declared as BlockTermStateModifier and TypeFieldDescription(package private) final BlockTermState
FSTTermsReader.TermsReader.BaseTermsEnum.state
Methods in org.apache.lucene.codecs.memory with parameters of type BlockTermStateModifier and TypeMethodDescriptionvoid
FSTTermsWriter.TermsWriter.finishTerm
(BytesRef text, BlockTermState state) -
Uses of BlockTermState in org.apache.lucene.codecs.uniformsplit
Fields in org.apache.lucene.codecs.uniformsplit declared as BlockTermStateModifier and TypeFieldDescriptionprotected final BlockTermState
BlockReader.scratchTermState
protected final BlockTermState
BlockLine.termState
Only used for writing.protected BlockTermState
BlockReader.termState
Current block line details.Methods in org.apache.lucene.codecs.uniformsplit that return BlockTermStateModifier and TypeMethodDescriptionprotected BlockTermState
BlockReader.readTermState()
Reads theBlockTermState
on the current line.DeltaBaseTermStateSerializer.readTermState
(long baseDocStartFP, long basePosStartFP, long basePayStartFP, DataInput termStatesInput, FieldInfo fieldInfo, BlockTermState reuse) Reads aBlockTermState
from the providedDataInput
.protected BlockTermState
BlockReader.readTermStateIfNotRead()
Reads theBlockTermState
if it is not already set.protected BlockTermState
UniformSplitTermsWriter.writePostingLine
(TermsEnum termsEnum, FieldMetadata fieldMetadata, NormsProducer normsProducer) Writes the posting values for the current term in the givenTermsEnum
and updates theFieldMetadata
stats.Methods in org.apache.lucene.codecs.uniformsplit with parameters of type BlockTermStateModifier and TypeMethodDescriptionprotected void
BlockWriter.addLine
(BytesRef term, BlockTermState blockTermState, IndexDictionary.Builder dictionaryBuilder) Adds a newBlockLine
term for the current field.DeltaBaseTermStateSerializer.readTermState
(long baseDocStartFP, long basePosStartFP, long basePayStartFP, DataInput termStatesInput, FieldInfo fieldInfo, BlockTermState reuse) Reads aBlockTermState
from the providedDataInput
.void
FieldMetadata.updateStats
(BlockTermState state) Updates the field stats with the givenBlockTermState
for the current block line (for one term).void
DeltaBaseTermStateSerializer.writeTermState
(DataOutput termStatesOutput, FieldInfo fieldInfo, BlockTermState termState) Writes aBlockTermState
to the providedDataOutput
.Constructors in org.apache.lucene.codecs.uniformsplit with parameters of type BlockTermStateModifierConstructorDescriptionprivate
BlockLine
(TermBytes termBytes, int termStateRelativeOffset, BlockTermState termState) protected
BlockLine
(TermBytes termBytes, BlockTermState termState) Constructor used for writing aBlockLine
. -
Uses of BlockTermState in org.apache.lucene.sandbox.codecs.idversion
Subclasses of BlockTermState in org.apache.lucene.sandbox.codecs.idversionFields in org.apache.lucene.sandbox.codecs.idversion declared as BlockTermStateModifier and TypeFieldDescription(package private) final BlockTermState
IDVersionSegmentTermsEnumFrame.state
final BlockTermState
VersionBlockTreeTermsWriter.PendingTerm.state
Methods in org.apache.lucene.sandbox.codecs.idversion that return BlockTermStateModifier and TypeMethodDescriptionIDVersionPostingsReader.newTermState()
IDVersionPostingsWriter.newTermState()
Methods in org.apache.lucene.sandbox.codecs.idversion with parameters of type BlockTermStateModifier and TypeMethodDescriptionvoid
IDVersionPostingsReader.decodeTerm
(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) void
IDVersionPostingsWriter.encodeTerm
(DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute) void
IDVersionPostingsWriter.finishTerm
(BlockTermState _state) Called when we are done adding docs to this termIDVersionPostingsReader.impacts
(FieldInfo fieldInfo, BlockTermState state, int flags) IDVersionPostingsReader.postings
(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags) Constructors in org.apache.lucene.sandbox.codecs.idversion with parameters of type BlockTermState