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.lucene80for 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 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.BlockTermStatePushPostingsWriterBase. 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 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 BlockTermState Modifier and Type Field Description private BlockTermStateBlockTermsReader.FieldReader.SegmentTermsEnum. stateBlockTermStateBlockTermsWriter.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 BlockTermStateBlockTreeTermsWriter.PendingTerm. state(package private) BlockTermStateSegmentTermsEnumFrame. state(package private) BlockTermStateIntersectTermsEnumFrame. termStateConstructors 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 BlockTermStateOrdsBlockTreeTermsWriter.PendingTerm. state(package private) BlockTermStateOrdsSegmentTermsEnumFrame. state(package private) BlockTermStateOrdsIntersectTermsEnumFrame. termStateConstructors 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) classIDVersionTermStateFields in org.apache.lucene.codecs.idversion declared as BlockTermState Modifier and Type Field Description (package private) BlockTermStateIDVersionSegmentTermsEnumFrame. stateBlockTermStateVersionBlockTreeTermsWriter.PendingTerm. stateMethods in org.apache.lucene.codecs.idversion that return BlockTermState Modifier and Type Method Description BlockTermStateIDVersionPostingsReader. newTermState()BlockTermStateIDVersionPostingsWriter. newTermState()Methods in org.apache.lucene.codecs.idversion with parameters of type BlockTermState Modifier and Type Method Description voidIDVersionPostingsReader. 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 termImpactsEnumIDVersionPostingsReader. impacts(FieldInfo fieldInfo, BlockTermState state, int flags)PostingsEnumIDVersionPostingsReader. 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 classLucene50PostingsFormat.IntBlockTermStateHolds all state required forLucene50PostingsReaderto produce aPostingsEnumwithout re-seeking the terms dict.Methods in org.apache.lucene.codecs.lucene50 that return BlockTermState Modifier and Type Method Description BlockTermStateLucene50PostingsReader. newTermState()Methods in org.apache.lucene.codecs.lucene50 with parameters of type BlockTermState Modifier and Type Method Description voidLucene50PostingsReader. decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute)ImpactsEnumLucene50PostingsReader. impacts(FieldInfo fieldInfo, BlockTermState state, int flags)PostingsEnumLucene50PostingsReader. 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 classLucene84PostingsFormat.IntBlockTermStateHolds all state required forLucene84PostingsReaderto produce aPostingsEnumwithout re-seeking the terms dict.Methods in org.apache.lucene.codecs.lucene84 that return BlockTermState Modifier and Type Method Description BlockTermStateLucene84PostingsReader. newTermState()Methods in org.apache.lucene.codecs.lucene84 with parameters of type BlockTermState Modifier and Type Method Description voidLucene84PostingsReader. decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute)voidLucene84PostingsWriter. encodeTerm(DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute)voidLucene84PostingsWriter. finishTerm(BlockTermState _state)Called when we are done adding docs to this termImpactsEnumLucene84PostingsReader. impacts(FieldInfo fieldInfo, BlockTermState state, int flags)PostingsEnumLucene84PostingsReader. 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) BlockTermStateFSTTermsReader.TermsReader.BaseTermsEnum. stateMethods in org.apache.lucene.codecs.memory with parameters of type BlockTermState Modifier and Type Method Description voidFSTTermsWriter.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 BlockTermStateBlockReader. scratchTermStateprotected BlockTermStateBlockLine. termStateOnly used for writing.protected BlockTermStateBlockReader. termStateCurrent block line details.Methods in org.apache.lucene.codecs.uniformsplit that return BlockTermState Modifier and Type Method Description protected BlockTermStateBlockReader. readTermState()Reads theBlockTermStateon the current line.BlockTermStateDeltaBaseTermStateSerializer. 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 BlockTermState Modifier and Type Method Description protected voidBlockWriter. addLine(BytesRef term, BlockTermState blockTermState, IndexDictionary.Builder dictionaryBuilder)Adds a newBlockLineterm for the current field.BlockTermStateDeltaBaseTermStateSerializer. 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 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 BlockTermStateFieldMetadataTermState. state(package private) BlockTermStateSTUniformSplitTermsWriter.SegmentPostings. termStateFields 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. fieldTermStatesMapMethods in org.apache.lucene.codecs.uniformsplit.sharedterms that return BlockTermState Modifier and Type Method Description protected BlockTermStateSTBlockReader. readTermState()Reads theBlockTermStateon the current line for this reader's field.protected BlockTermStateSTIntersectBlockReader. readTermState()Reads theBlockTermStateon the current line for the specific field corresponding to this reader.BlockTermStateSTBlockLine.Serializer. readTermStateForField(int fieldId, DataInput termStatesInput, DeltaBaseTermStateSerializer termStateSerializer, BlockHeader blockHeader, FieldInfos fieldInfos, BlockTermState reuse)Reads a singleBlockTermStatefor the provided field in the current block line of the provided input.protected BlockTermStateSTMergingBlockReader. readTermStateIfNotRead()Methods in org.apache.lucene.codecs.uniformsplit.sharedterms with parameters of type BlockTermState Modifier and Type Method Description PostingsEnumSTMergingBlockReader. postings(java.lang.String fieldName, BlockTermState termState, PostingsEnum reuse, int flags)Creates a newPostingsEnumfor the provided field andBlockTermState.BlockTermStateSTBlockLine.Serializer. readTermStateForField(int fieldId, DataInput termStatesInput, DeltaBaseTermStateSerializer termStateSerializer, BlockHeader blockHeader, FieldInfos fieldInfos, BlockTermState reuse)Reads a singleBlockTermStatefor 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 voidSTBlockLine.Serializer. readFieldTermStatesMap(DataInput termStatesInput, DeltaBaseTermStateSerializer termStateSerializer, BlockHeader blockHeader, FieldInfos fieldInfos, java.util.Map<java.lang.String,BlockTermState> fieldTermStatesMap)Reads all theBlockTermStateof all the field in the current block line of the provided input.voidSTMergingBlockReader. readFieldTermStatesMap(java.util.Map<java.lang.String,BlockTermState> fieldTermStatesMap)Reads all the fieldsTermStates 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)
-