Uses of Class
org.apache.lucene.codecs.BlockTermState
-
Packages that use BlockTermState Package Description org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.codecs.blockterms Pluggable term index / block terms dictionary implementations.org.apache.lucene.codecs.blocktree BlockTree terms dictionary.org.apache.lucene.codecs.blocktreeords Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.org.apache.lucene.codecs.idversion A primary-key postings format that associates a version (long) with each term and can provide fail-fast lookups by ID and version.org.apache.lucene.codecs.lucene50 Components from the Lucene 5.0 index format Seeorg.apache.lucene.codecs.lucene80
for an overview of the index format.org.apache.lucene.codecs.lucene84 Components from the Lucene 8.4 index format.org.apache.lucene.codecs.memory Term dictionary, DocValues or Postings formats that are read entirely into memory.org.apache.lucene.codecs.uniformsplit Pluggable term index / block terms dictionary implementations.org.apache.lucene.codecs.uniformsplit.sharedterms Pluggable term index / block terms dictionary implementations. -
-
Uses of BlockTermState in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs that return BlockTermState Modifier and Type Method Description abstract 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
.BlockTermState
PushPostingsWriterBase. writeTerm(BytesRef term, TermsEnum termsEnum, FixedBitSet docsSeen, NormsProducer norms)
Methods in org.apache.lucene.codecs with parameters of type BlockTermState Modifier and Type Method Description abstract 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 BlockTermState Modifier and Type Field Description private BlockTermState
BlockTermsReader.FieldReader.SegmentTermsEnum. state
BlockTermState
BlockTermsWriter.TermEntry. state
-
Uses of BlockTermState in org.apache.lucene.codecs.blocktree
Fields in org.apache.lucene.codecs.blocktree declared as BlockTermState Modifier and Type Field Description BlockTermState
BlockTreeTermsWriter.PendingTerm. state
(package private) BlockTermState
SegmentTermsEnumFrame. state
(package private) BlockTermState
IntersectTermsEnumFrame. termState
Constructors in org.apache.lucene.codecs.blocktree with parameters of type BlockTermState Constructor Description PendingTerm(BytesRef term, BlockTermState state)
-
Uses of BlockTermState in org.apache.lucene.codecs.blocktreeords
Fields in org.apache.lucene.codecs.blocktreeords declared as BlockTermState Modifier and Type Field Description BlockTermState
OrdsBlockTreeTermsWriter.PendingTerm. state
(package private) BlockTermState
OrdsSegmentTermsEnumFrame. state
(package private) BlockTermState
OrdsIntersectTermsEnumFrame. termState
Constructors in org.apache.lucene.codecs.blocktreeords with parameters of type BlockTermState Constructor Description PendingTerm(BytesRef term, BlockTermState state)
-
Uses of BlockTermState in org.apache.lucene.codecs.idversion
Subclasses of BlockTermState in org.apache.lucene.codecs.idversion Modifier and Type Class Description (package private) class
IDVersionTermState
Fields in org.apache.lucene.codecs.idversion declared as BlockTermState Modifier and Type Field Description (package private) BlockTermState
IDVersionSegmentTermsEnumFrame. state
BlockTermState
VersionBlockTreeTermsWriter.PendingTerm. state
Methods in org.apache.lucene.codecs.idversion that return BlockTermState Modifier and Type Method Description BlockTermState
IDVersionPostingsReader. newTermState()
BlockTermState
IDVersionPostingsWriter. newTermState()
Methods in org.apache.lucene.codecs.idversion with parameters of type BlockTermState Modifier and Type Method Description void
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 termImpactsEnum
IDVersionPostingsReader. impacts(FieldInfo fieldInfo, BlockTermState state, int flags)
PostingsEnum
IDVersionPostingsReader. postings(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags)
Constructors in org.apache.lucene.codecs.idversion with parameters of type BlockTermState Constructor Description PendingTerm(BytesRef term, BlockTermState state)
-
Uses of BlockTermState in org.apache.lucene.codecs.lucene50
Subclasses of BlockTermState in org.apache.lucene.codecs.lucene50 Modifier and Type Class Description static class
Lucene50PostingsFormat.IntBlockTermState
Holds all state required forLucene50PostingsReader
to produce aPostingsEnum
without re-seeking the terms dict.Methods in org.apache.lucene.codecs.lucene50 that return BlockTermState Modifier and Type Method Description BlockTermState
Lucene50PostingsReader. newTermState()
Methods in org.apache.lucene.codecs.lucene50 with parameters of type BlockTermState Modifier and Type Method Description void
Lucene50PostingsReader. decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute)
ImpactsEnum
Lucene50PostingsReader. impacts(FieldInfo fieldInfo, BlockTermState state, int flags)
PostingsEnum
Lucene50PostingsReader. postings(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags)
-
Uses of BlockTermState in org.apache.lucene.codecs.lucene84
Subclasses of BlockTermState in org.apache.lucene.codecs.lucene84 Modifier and Type Class Description static class
Lucene84PostingsFormat.IntBlockTermState
Holds all state required forLucene84PostingsReader
to produce aPostingsEnum
without re-seeking the terms dict.Methods in org.apache.lucene.codecs.lucene84 that return BlockTermState Modifier and Type Method Description BlockTermState
Lucene84PostingsReader. newTermState()
Methods in org.apache.lucene.codecs.lucene84 with parameters of type BlockTermState Modifier and Type Method Description void
Lucene84PostingsReader. decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute)
void
Lucene84PostingsWriter. encodeTerm(DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute)
void
Lucene84PostingsWriter. finishTerm(BlockTermState _state)
Called when we are done adding docs to this termImpactsEnum
Lucene84PostingsReader. impacts(FieldInfo fieldInfo, BlockTermState state, int flags)
PostingsEnum
Lucene84PostingsReader. postings(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags)
-
Uses of BlockTermState in org.apache.lucene.codecs.memory
Fields in org.apache.lucene.codecs.memory declared as BlockTermState Modifier and Type Field Description (package private) BlockTermState
FSTTermsReader.TermsReader.BaseTermsEnum. state
Methods in org.apache.lucene.codecs.memory with parameters of type BlockTermState Modifier and Type Method Description void
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 BlockTermState Modifier and Type Field Description protected BlockTermState
BlockReader. scratchTermState
protected BlockTermState
BlockLine. termState
Only used for writing.protected BlockTermState
BlockReader. termState
Current block line details.Methods in org.apache.lucene.codecs.uniformsplit that return BlockTermState Modifier and Type Method Description protected BlockTermState
BlockReader. readTermState()
Reads theBlockTermState
on the current line.BlockTermState
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 BlockTermState Modifier and Type Method Description protected void
BlockWriter. addLine(BytesRef term, BlockTermState blockTermState, IndexDictionary.Builder dictionaryBuilder)
Adds a newBlockLine
term for the current field.BlockTermState
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 BlockTermState Constructor Description BlockLine(TermBytes termBytes, int termStateRelativeOffset, BlockTermState termState)
BlockLine(TermBytes termBytes, BlockTermState termState)
Constructor used for writing aBlockLine
. -
Uses of BlockTermState in org.apache.lucene.codecs.uniformsplit.sharedterms
Fields in org.apache.lucene.codecs.uniformsplit.sharedterms declared as BlockTermState Modifier and Type Field Description BlockTermState
FieldMetadataTermState. state
(package private) BlockTermState
STUniformSplitTermsWriter.SegmentPostings. termState
Fields in org.apache.lucene.codecs.uniformsplit.sharedterms with type parameters of type BlockTermState Modifier and Type Field Description private java.util.Map<java.lang.String,BlockTermState>
STUniformSplitTermsWriter.SegmentTerms. fieldTermStatesMap
Methods in org.apache.lucene.codecs.uniformsplit.sharedterms that return BlockTermState Modifier and Type Method Description protected BlockTermState
STBlockReader. readTermState()
Reads theBlockTermState
on the current line for this reader's field.protected BlockTermState
STIntersectBlockReader. readTermState()
Reads theBlockTermState
on the current line for the specific field corresponding to this reader.BlockTermState
STBlockLine.Serializer. readTermStateForField(int fieldId, DataInput termStatesInput, DeltaBaseTermStateSerializer termStateSerializer, BlockHeader blockHeader, FieldInfos fieldInfos, BlockTermState reuse)
Reads a singleBlockTermState
for the provided field in the current block line of the provided input.protected BlockTermState
STMergingBlockReader. readTermStateIfNotRead()
Methods in org.apache.lucene.codecs.uniformsplit.sharedterms with parameters of type BlockTermState Modifier and Type Method Description PostingsEnum
STMergingBlockReader. postings(java.lang.String fieldName, BlockTermState termState, PostingsEnum reuse, int flags)
Creates a newPostingsEnum
for the provided field andBlockTermState
.BlockTermState
STBlockLine.Serializer. readTermStateForField(int fieldId, DataInput termStatesInput, DeltaBaseTermStateSerializer termStateSerializer, BlockHeader blockHeader, FieldInfos fieldInfos, BlockTermState reuse)
Reads a singleBlockTermState
for the provided field in the current block line of the provided input.Method parameters in org.apache.lucene.codecs.uniformsplit.sharedterms with type arguments of type BlockTermState Modifier and Type Method Description void
STBlockLine.Serializer. readFieldTermStatesMap(DataInput termStatesInput, DeltaBaseTermStateSerializer termStateSerializer, BlockHeader blockHeader, FieldInfos fieldInfos, java.util.Map<java.lang.String,BlockTermState> fieldTermStatesMap)
Reads all theBlockTermState
of all the field in the current block line of the provided input.void
STMergingBlockReader. readFieldTermStatesMap(java.util.Map<java.lang.String,BlockTermState> fieldTermStatesMap)
Reads all the fieldsTermState
s of the current term and put them in the provided map.Constructors in org.apache.lucene.codecs.uniformsplit.sharedterms with parameters of type BlockTermState Constructor Description FieldMetadataTermState(FieldMetadata fieldMetadata, BlockTermState state)
SegmentPostings(int segmentIndex, BlockTermState termState, STMergingBlockReader mergingBlockReader, MergeState.DocMap docMap)
-