org.apache.lucene.index
public interface TermPositions extends TermDocs
The document and frequency are the same as for a TermDocs. The positions portion lists the ordinal positions of each occurrence of a term in a document.
See Also: IndexReader
Method Summary | |
---|---|
int | nextPosition() Returns next position in the current document. |
This is invalid until {@link #next()} is called for the first time.