java.lang.Object
org.apache.lucene.index.TermEnum
org.apache.lucene.index.MultiTermEnum
- class MultiTermEnum
- extends TermEnum
|
Method Summary |
void |
close()
Closes the enumeration to further activity, freeing resources. |
int |
docFreq()
Returns the docFreq of the current Term in the enumeration. |
boolean |
next()
Increments the enumeration to the next element. |
Term |
term()
Returns the current Term in the enumeration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
queue
private SegmentMergeQueue queue
term
private Term term
docFreq
private int docFreq
MultiTermEnum
public MultiTermEnum(IndexReader[] readers,
int[] starts,
Term t)
throws java.io.IOException
next
public boolean next()
throws java.io.IOException
- Description copied from class:
TermEnum
- Increments the enumeration to the next element. True if one exists.
- Specified by:
next in class TermEnum
term
public Term term()
- Description copied from class:
TermEnum
- Returns the current Term in the enumeration.
- Specified by:
term in class TermEnum
docFreq
public int docFreq()
- Description copied from class:
TermEnum
- Returns the docFreq of the current Term in the enumeration.
- Specified by:
docFreq in class TermEnum
close
public void close()
throws java.io.IOException
- Description copied from class:
TermEnum
- Closes the enumeration to further activity, freeing resources.
- Specified by:
close in class TermEnum