org.apache.lucene.index
Class FilterIndexReader.FilterTermEnum
- FilterIndexReader
public static class FilterIndexReader.FilterTermEnum
Base class for filtering
TermEnum implementations.
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.
|
FilterTermEnum
public FilterTermEnum(TermEnum in)
close
public void close()
throws IOExceptionCloses the enumeration to further activity, freeing resources.
- close in interface TermEnum
docFreq
public int docFreq()
Returns the docFreq of the current Term in the enumeration.
- docFreq in interface TermEnum
next
public boolean next()
throws IOExceptionIncrements the enumeration to the next element. True if one exists.
- next in interface TermEnum
term
public Term term()
Returns the current Term in the enumeration.
- term in interface TermEnum
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.