ImpactsEnum
Extension of PostingsEnum which also provides information about upcoming impacts.
Inheritors
Properties
Functions
Shallow-advance to target. This is cheaper than calling DocIdSetIterator.advance and allows further calls to .getImpacts to ignore doc IDs that are less than target in order to get more precise information about impacts. This method may not be called on targets that are less than the current DocIdSetIterator.docID. After this method has been called, DocIdSetIterator.nextDoc may not be called if the current doc ID is less than `target
Returns the estimated cost of this DocIdSetIterator.
Returns term frequency in the current document, or 1 if the field was indexed with . Do not call this before .nextDoc is first called, nor after .nextDoc returns DocIdSetIterator.NO_MORE_DOCS.
Load doc IDs into a FixedBitSet. This should behave exactly as if implemented as below, which is the default implementation:
Returns the next position, or -1 if positions were not indexed. Calling this more than .freq times is undefined.
Returns start offset for the current position, or -1 if offsets were not indexed.