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.
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.
BlockTree terms dictionary.
Lucene 9.9 file format.
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 BlockTermStateSegmentTermsEnumFrame.state(package private) final BlockTermStateIntersectTermsEnumFrame.termState -
Uses of BlockTermState in org.apache.lucene.backward_codecs.lucene50
Subclasses of BlockTermState in org.apache.lucene.backward_codecs.lucene50Modifier and TypeClassDescriptionstatic final classHolds all state required forLucene50PostingsReaderto produce aPostingsEnumwithout 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 TypeMethodDescriptionvoidLucene50PostingsReader.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 classHolds all state required forLucene84PostingsReaderto produce aPostingsEnumwithout 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 TypeMethodDescriptionvoidLucene84PostingsReader.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 classHolds all state required forLucene90PostingsReaderto produce aPostingsEnumwithout 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 TypeMethodDescriptionvoidLucene90PostingsReader.decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) voidLucene90PostingsWriter.encodeTerm(DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute) voidLucene90PostingsWriter.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.codecs
Methods in org.apache.lucene.codecs that return BlockTermStateModifier and TypeMethodDescriptionabstract BlockTermStatePostingsReaderBase.newTermState()Return a newly created empty TermStateabstract BlockTermStatePushPostingsWriterBase.newTermState()Return a newly created empty TermStateabstract BlockTermStatePostingsWriterBase.writeTerm(BytesRef term, TermsEnum termsEnum, FixedBitSet docsSeen, NormsProducer norms) Write all postings for one term; use the providedTermsEnumto pull aPostingsEnum.final BlockTermStatePushPostingsWriterBase.writeTerm(BytesRef term, TermsEnum termsEnum, FixedBitSet docsSeen, NormsProducer norms) Methods in org.apache.lucene.codecs with parameters of type BlockTermStateModifier and TypeMethodDescriptionabstract voidPostingsReaderBase.decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState state, boolean absolute) Actually decode metadata for next termabstract voidPostingsWriterBase.encodeTerm(DataOutput out, FieldInfo fieldInfo, BlockTermState state, boolean absolute) Encode metadata as long[] and byte[].abstract voidPushPostingsWriterBase.finishTerm(BlockTermState state) Finishes the current term.abstract ImpactsEnumPostingsReaderBase.impacts(FieldInfo fieldInfo, BlockTermState state, int flags) Return aImpactsEnumthat computes impacts withscorer.abstract PostingsEnumPostingsReaderBase.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 BlockTermStateBlockTermsReader.FieldReader.SegmentTermsEnum.stateBlockTermsWriter.TermEntry.state -
Uses of BlockTermState in org.apache.lucene.codecs.blocktreeords
Fields in org.apache.lucene.codecs.blocktreeords declared as BlockTermStateModifier and TypeFieldDescriptionfinal BlockTermStateOrdsBlockTreeTermsWriter.PendingTerm.state(package private) final BlockTermStateOrdsSegmentTermsEnumFrame.state(package private) final BlockTermStateOrdsIntersectTermsEnumFrame.termStateConstructors in org.apache.lucene.codecs.blocktreeords with parameters of type BlockTermState -
Uses of BlockTermState in org.apache.lucene.codecs.lucene90.blocktree
Fields in org.apache.lucene.codecs.lucene90.blocktree declared as BlockTermStateModifier and TypeFieldDescriptionfinal BlockTermStateLucene90BlockTreeTermsWriter.PendingTerm.state(package private) final BlockTermStateSegmentTermsEnumFrame.state(package private) final BlockTermStateIntersectTermsEnumFrame.termStateConstructors in org.apache.lucene.codecs.lucene90.blocktree with parameters of type BlockTermState -
Uses of BlockTermState in org.apache.lucene.codecs.lucene99
Subclasses of BlockTermState in org.apache.lucene.codecs.lucene99Modifier and TypeClassDescriptionstatic final classHolds all state required forLucene99PostingsReaderto produce aPostingsEnumwithout re-seeking the terms dict.Methods in org.apache.lucene.codecs.lucene99 that return BlockTermStateMethods in org.apache.lucene.codecs.lucene99 with parameters of type BlockTermStateModifier and TypeMethodDescriptionvoidLucene99PostingsReader.decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) voidLucene99PostingsWriter.encodeTerm(DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute) voidLucene99PostingsWriter.finishTerm(BlockTermState _state) Called when we are done adding docs to this termLucene99PostingsReader.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.memory
Fields in org.apache.lucene.codecs.memory declared as BlockTermStateModifier and TypeFieldDescription(package private) final BlockTermStateFSTTermsReader.TermsReader.BaseTermsEnum.stateMethods in org.apache.lucene.codecs.memory with parameters of type BlockTermStateModifier and TypeMethodDescriptionvoidFSTTermsWriter.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 BlockTermStateBlockReader.scratchTermStateprotected final BlockTermStateBlockLine.termStateOnly used for writing.protected BlockTermStateBlockReader.termStateCurrent block line details.Methods in org.apache.lucene.codecs.uniformsplit that return BlockTermStateModifier and TypeMethodDescriptionprotected BlockTermStateBlockReader.readTermState()Reads theBlockTermStateon the current line.DeltaBaseTermStateSerializer.readTermState(long baseDocStartFP, long basePosStartFP, long basePayStartFP, DataInput termStatesInput, FieldInfo fieldInfo, BlockTermState reuse) Reads aBlockTermStatefrom the providedDataInput.protected BlockTermStateBlockReader.readTermStateIfNotRead()Reads theBlockTermStateif it is not already set.protected BlockTermStateUniformSplitTermsWriter.writePostingLine(TermsEnum termsEnum, FieldMetadata fieldMetadata, NormsProducer normsProducer) Writes the posting values for the current term in the givenTermsEnumand updates theFieldMetadatastats.Methods in org.apache.lucene.codecs.uniformsplit with parameters of type BlockTermStateModifier and TypeMethodDescriptionprotected voidBlockWriter.addLine(BytesRef term, BlockTermState blockTermState, IndexDictionary.Builder dictionaryBuilder) Adds a newBlockLineterm for the current field.DeltaBaseTermStateSerializer.readTermState(long baseDocStartFP, long basePosStartFP, long basePayStartFP, DataInput termStatesInput, FieldInfo fieldInfo, BlockTermState reuse) Reads aBlockTermStatefrom the providedDataInput.voidFieldMetadata.updateStats(BlockTermState state) Updates the field stats with the givenBlockTermStatefor the current block line (for one term).voidDeltaBaseTermStateSerializer.writeTermState(DataOutput termStatesOutput, FieldInfo fieldInfo, BlockTermState termState) Writes aBlockTermStateto the providedDataOutput.Constructors in org.apache.lucene.codecs.uniformsplit with parameters of type BlockTermStateModifierConstructorDescriptionprivateBlockLine(TermBytes termBytes, int termStateRelativeOffset, BlockTermState termState) protectedBlockLine(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 BlockTermStateIDVersionSegmentTermsEnumFrame.statefinal BlockTermStateVersionBlockTreeTermsWriter.PendingTerm.stateMethods 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 TypeMethodDescriptionvoidIDVersionPostingsReader.decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) voidIDVersionPostingsWriter.encodeTerm(DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute) voidIDVersionPostingsWriter.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