|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Term | |
org.apache.lucene.index | Code to maintain and access indices. |
org.apache.lucene.search | Search over indices. |
Uses of Term in org.apache.lucene.index |
Methods in org.apache.lucene.index that return Term | |
abstract Term |
TermEnum.term()
Returns the current Term in the enumeration. |
Methods in org.apache.lucene.index with parameters of type Term | |
void |
TermDocs.seek(Term term)
Sets this to the data for a term. |
abstract TermEnum |
IndexReader.terms(Term t)
Returns an enumeration of all terms after a given term. |
abstract int |
IndexReader.docFreq(Term t)
Returns the number of documents containing the term t . |
TermDocs |
IndexReader.termDocs(Term term)
Returns an enumeration of all the documents which contain term . |
TermPositions |
IndexReader.termPositions(Term term)
Returns an enumeration of all the documents which contain term . |
int |
IndexReader.delete(Term term)
Deletes all documents containing term . |
int |
Term.compareTo(Term other)
Compares two terms, returning an integer which is less than zero iff this term belongs after the argument, equal zero iff this term is equal to the argument, and greater than zero iff this term belongs after the argument. |
Uses of Term in org.apache.lucene.search |
Methods in org.apache.lucene.search that return Term | |
Term |
FilteredTermEnum.term()
Returns the current Term in the enumeration. |
Methods in org.apache.lucene.search with parameters of type Term | |
protected boolean |
WildcardTermEnum.termCompare(Term term)
|
void |
PhraseQuery.add(Term term)
Adds a term to the end of the query phrase. |
protected boolean |
FuzzyTermEnum.termCompare(Term term)
The termCompare method in FuzzyTermEnum uses Levenshtein distance to calculate the distance between the given term and the comparing term. |
protected abstract boolean |
FilteredTermEnum.termCompare(Term term)
Equality compare on the term |
Constructors in org.apache.lucene.search with parameters of type Term | |
WildcardTermEnum(IndexReader reader,
Term term)
Creates new WildcardTermEnum |
|
WildcardQuery(Term term)
|
|
TermQuery(Term t)
Constructs a query for the term t . |
|
RangeQuery(Term lowerTerm,
Term upperTerm,
boolean inclusive)
Constructs a query selecting all terms greater than lowerTerm but less than upperTerm . |
|
RangeQuery(Term lowerTerm,
Term upperTerm,
boolean inclusive)
Constructs a query selecting all terms greater than lowerTerm but less than upperTerm . |
|
PrefixQuery(Term prefix)
Constructs a query for terms starting with prefix . |
|
FuzzyTermEnum(IndexReader reader,
Term term)
|
|
MultiTermQuery(Term term)
Constructs a query for terms matching term . |
|
FuzzyQuery(Term term)
|
|
FilteredTermEnum(IndexReader reader,
Term term)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |