PostingsAndPosition
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Returns the estimated cost of this DocIdSetIterator.
Link copied to clipboard
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.
Link copied to clipboard
Load doc IDs into a FixedBitSet. This should behave exactly as if implemented as below, which is the default implementation:
Link copied to clipboard
Link copied to clipboard
Returns the next position, or -1 if positions were not indexed. Calling this more than .freq times is undefined.
Link copied to clipboard
Returns start offset for the current position, or -1 if offsets were not indexed.