public class STIntersectBlockReader extends IntersectBlockReader
TermsEnum
response to
STUniformSplitTerms.intersect(CompiledAutomaton, BytesRef)
,
intersecting the terms with an automaton.IntersectBlockReader.AutomatonNextTermCalculator, IntersectBlockReader.BlockIteration
TermsEnum.SeekStatus
Modifier and Type | Field and Description |
---|---|
protected FieldInfos |
fieldInfos |
automaton, blockIteration, commonSuffix, finite, minTermLength, nextStringCalculator, NUM_CONSECUTIVELY_REJECTED_TERMS_THRESHOLD, numConsecutivelyRejectedTerms, numMatchedBytes, runAutomaton, seekTerm, states
blockDecoder, blockFirstLineStart, blockHeader, blockHeaderReader, blockInput, blockLine, blockLineReader, blockReadBuffer, blockStartFP, dictionaryBrowser, dictionaryBrowserSupplier, fieldMetadata, forcedTerm, lineIndexInBlock, postingsReader, scratchBlockBytes, scratchBlockLine, scratchTermState, termState, termStateForced, termStateSerializer, termStatesReadBuffer
NULL_ACCOUNTABLE
Constructor and Description |
---|
STIntersectBlockReader(CompiledAutomaton compiled,
BytesRef startTerm,
IndexDictionary.BrowserSupplier dictionaryBrowserSupplier,
IndexInput blockInput,
PostingsReaderBase postingsReader,
FieldMetadata fieldMetadata,
BlockDecoder blockDecoder,
FieldInfos fieldInfos) |
Modifier and Type | Method and Description |
---|---|
protected STBlockLine.Serializer |
createBlockLineSerializer() |
BytesRef |
next() |
protected BlockTermState |
readTermState()
Reads the
BlockTermState on the current line for the specific field corresponding to this reader. |
endsWithCommonSuffix, getMinTermLength, nextBlock, nextTermInBlockMatching, seekCeil, seekExact, seekExact, seekExact, seekFirstBlock
clearTermState, compareToMiddleAndJump, createBlockHeaderSerializer, createDeltaBaseTermStateSerializer, decodeBlockBytesIfNeeded, docFreq, getOrCreateDictionaryBrowser, impacts, initializeBlockReadLazily, initializeHeader, isBeyondLastTerm, isCurrentTerm, newCorruptIndexException, nextTerm, ord, postings, ramBytesUsed, readHeader, readLineInBlock, readTermStateIfNotRead, seekInBlock, seekInBlock, term, termState, totalTermFreq
attributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources
protected final FieldInfos fieldInfos
public STIntersectBlockReader(CompiledAutomaton compiled, BytesRef startTerm, IndexDictionary.BrowserSupplier dictionaryBrowserSupplier, IndexInput blockInput, PostingsReaderBase postingsReader, FieldMetadata fieldMetadata, BlockDecoder blockDecoder, FieldInfos fieldInfos) throws IOException
IOException
public BytesRef next() throws IOException
next
in interface BytesRefIterator
next
in class IntersectBlockReader
IOException
protected STBlockLine.Serializer createBlockLineSerializer()
createBlockLineSerializer
in class BlockReader
protected BlockTermState readTermState() throws IOException
BlockTermState
on the current line for the specific field corresponding to this reader.
Returns null if the term does not occur for the field.readTermState
in class BlockReader
BlockTermState
; or null if none.IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.