public class STIntersectBlockReader extends IntersectBlockReader
org.apache.lucene.index.TermsEnum response to
STUniformSplitTerms.intersect(CompiledAutomaton, BytesRef),
intersecting the terms with an automaton.IntersectBlockReader.AutomatonNextTermCalculator| Modifier and Type | Field and Description |
|---|---|
protected FieldInfos |
fieldInfos |
beyondCommonPrefix, blockPrefixLen, blockPrefixRunAutomatonState, commonPrefixRef, commonSuffixRef, nextStringCalculator, numBytesAccepted, runAutomaton, seekTerm, startTermblockDecoder, blockFirstLineStart, blockHeader, blockInput, blockLine, blockLineReader, blockReadBuffer, blockStartFP, dictionaryBrowser, dictionaryBrowserSupplier, fieldMetadata, forcedTerm, lineIndexInBlock, postingsReader, scratchBlockBytes, scratchTermState, termState, termStateForced, termStateSerializer, termStatesReadBuffer| Constructor and Description |
|---|
STIntersectBlockReader(CompiledAutomaton compiled,
BytesRef startTerm,
DictionaryBrowserSupplier dictionaryBrowserSupplier,
IndexInput blockInput,
PostingsReaderBase postingsReader,
FieldMetadata fieldMetadata,
BlockDecoder blockDecoder,
FieldInfos fieldInfos) |
| Modifier and Type | Method and Description |
|---|---|
BytesRef |
next() |
protected boolean |
nextBlockMatchingPrefix()
Find the next block that appears to contain terms that could match the automata.
|
protected BlockTermState |
readTermState()
Reads the
BlockTermState on the current line for the specific field
corresponding this this reader. |
isBeyondCommonPrefix, nextTermInBlockMatching, runAutomatonForState, runAutomatonFromPrefix, seekCeil, seekExact, seekExactclearTermState, compareToMiddleAndJump, decodeBlockBytesIfNeeded, docFreq, getOrCreateDictionaryBrowser, impacts, initializeBlockReadLazily, initializeHeader, isBeyondLastTerm, isCurrentTerm, nextTerm, ord, postings, ramBytesUsed, readHeader, readLineInBlock, readTermStateIfNotRead, seekInBlock, seekInBlock, term, termState, totalTermFreqpublic STIntersectBlockReader(CompiledAutomaton compiled,
BytesRef startTerm,
DictionaryBrowserSupplier dictionaryBrowserSupplier,
IndexInput blockInput,
PostingsReaderBase postingsReader,
FieldMetadata fieldMetadata,
BlockDecoder blockDecoder,
FieldInfos fieldInfos)
throws java.io.IOException
java.io.IOExceptionpublic BytesRef next()
throws java.io.IOException
next in class IntersectBlockReaderjava.io.IOExceptionprotected boolean nextBlockMatchingPrefix()
throws java.io.IOException
IntersectBlockReadernextBlockMatchingPrefix in class IntersectBlockReaderjava.io.IOExceptionprotected BlockTermState readTermState()
throws java.io.IOException
BlockTermState on the current line for the specific field
corresponding this this reader.
Changes the current BlockTermState to null if the term does not
occur for the field.readTermState in class BlockReaderBlockTermState; or null if none.java.io.IOExceptionData In Motion GmbH all rights reserved