All Known Implementing Classes:
ParallelTermPositions, TermPositions, FilterTermDocs, SegmentTermPositions, GCJTermDocs, ParallelTermDocs, MySegmentTermDocs, FilterTermPositions, SegmentTermDocs, MultiTermDocs, MultipleTermPositions, MultiTermPositions
The document portion names each document containing the term. Documents are indicated by number. The frequency portion gives the number of times the term occurred in each document.
The pairs are ordered by document number.
| Method from org.apache.lucene.index.TermDocs Summary: |
|---|
| close, doc, freq, next, read, seek, seek, skipTo |
| Method from org.apache.lucene.index.TermDocs Detail: |
|---|
|
This is invalid until #next() is called for the first time. |
This is invalid until #next() is called for the first time. |
Returns true iff there is such a next pair in the enumeration. |
Returns the number of entries read. Zero is only returned when the stream has been exhausted. |
|
|
Returns true iff there is such an entry. Behaves as if written:
boolean skipTo(int target) {
do {
if (!next())
return false;
} while (target > doc());
return true;
}
Some implementations are considerably more efficient than that. |