Class Lucene912PostingsReader.AbstractPostingsEnum
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.PostingsEnum
org.apache.lucene.backward_codecs.lucene912.Lucene912PostingsReader.AbstractPostingsEnum
- Direct Known Subclasses:
Lucene912PostingsReader.BlockDocsEnum
,Lucene912PostingsReader.EverythingEnum
- Enclosing class:
Lucene912PostingsReader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected final long[]
protected int
protected int
protected int
protected int
protected IndexInput
protected ForDeltaUtil
protected final boolean
protected int
protected int
protected long
protected int
protected PForUtil
protected long
protected int
protected long
Fields inherited from class org.apache.lucene.index.PostingsEnum
ALL, FREQS, NONE, OFFSETS, PAYLOADS, POSITIONS
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
docID()
Returns the following:-1
ifDocIdSetIterator.nextDoc()
orDocIdSetIterator.advance(int)
were not called yet.protected PostingsEnum
protected void
Methods inherited from class org.apache.lucene.index.PostingsEnum
endOffset, featureRequested, freq, getPayload, nextPosition, startOffset
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
advance, all, cost, empty, nextDoc, range, slowAdvance
-
Field Details
-
forDeltaUtil
-
pforUtil
-
docBuffer
protected final long[] docBuffer -
indexHasFreq
protected final boolean indexHasFreq -
doc
protected int doc -
level0LastDocID
protected int level0LastDocID -
level1LastDocID
protected int level1LastDocID -
level1DocEndFP
protected long level1DocEndFP -
level1DocCountUpto
protected int level1DocCountUpto -
docFreq
protected int docFreq -
totalTermFreq
protected long totalTermFreq -
singletonDocID
protected int singletonDocID -
docCountUpto
protected int docCountUpto -
prevDocID
protected long prevDocID -
docBufferSize
protected int docBufferSize -
docBufferUpto
protected int docBufferUpto -
docIn
-
-
Constructor Details
-
AbstractPostingsEnum
-
-
Method Details
-
docID
public int docID()Description copied from class:DocIdSetIterator
Returns the following:-1
ifDocIdSetIterator.nextDoc()
orDocIdSetIterator.advance(int)
were not called yet.DocIdSetIterator.NO_MORE_DOCS
if the iterator has exhausted.- Otherwise it should return the doc ID it is currently on.
- Specified by:
docID
in classDocIdSetIterator
-
resetIndexInput
protected void resetIndexInput(Lucene912PostingsFormat.IntBlockTermState termState) throws IOException - Throws:
IOException
-
resetIdsAndLevelParams
protected PostingsEnum resetIdsAndLevelParams(Lucene912PostingsFormat.IntBlockTermState termState) throws IOException - Throws:
IOException
-