gate.creole.annic.apache.lucene.index
Class MultiTermPositions
java.lang.Object
gate.creole.annic.apache.lucene.index.MultiTermDocs
gate.creole.annic.apache.lucene.index.MultiTermPositions
- All Implemented Interfaces:
- TermDocs, TermPositions
class MultiTermPositions
- extends MultiTermDocs
- implements TermPositions
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiTermPositions
public MultiTermPositions(IndexReader[] r,
int[] s)
termDocs
protected TermDocs termDocs(IndexReader reader)
throws IOException
- Overrides:
termDocs in class MultiTermDocs
- Throws:
IOException
nextPosition
public int nextPosition()
throws IOException
- Description copied from interface:
TermPositions
- Returns next position in the current document. It is an error to call
this more than
TermDocs.freq() times
without calling TermDocs.next() This is
invalid until TermDocs.next() is called for
the first time.
- Specified by:
nextPosition in interface TermPositions
- Throws:
IOException