Method Terms
Terms()
Returns an enumeration of all the terms in the index. The
enumeration is ordered by Term.compareTo(). Each term is greater
than all that precede it in the enumeration. Note that after
calling terms(), Next() must be called
on the resulting enumeration before calling other methods such as
Term.
Declaration
public abstract TermEnum Terms()
Returns
Terms(Term)
Returns an enumeration of all terms starting at a given term. If
the given term does not exist, the enumeration is positioned at the
first term greater than the supplied term. The enumeration is
ordered by Term.compareTo(). Each term is greater than all that
precede it in the enumeration.
Declaration
public abstract TermEnum Terms(Term t)
Parameters
Type |
Name |
Description |
Term |
t |
|
Returns