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.
IndexReader.termPositions()int nextPosition()
throws IOException
TermDocs.freq() times
without calling TermDocs.next() This is
invalid until TermDocs.next() is called for
the first time.
IOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.