Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.lucene.index.Term

Packages that use Term
org.apache.lucene.index | Code to maintain and access indices.
org.apache.lucene.search | Search over indices.
org.apache.lucene.search.spans | The calculus of spans.

Uses of Term in org.apache.lucene.index

Methods in org.apache.lucene.index that return Term
`Term` | `FilterIndexReader.FilterTermEnum.term()`
`abstract Term` | `TermEnum.term()` Returns the current Term in the enumeration.

Methods in org.apache.lucene.index with parameters of type Term
`TermEnum` | `MultiReader.terms(Term term)`
`int` | `MultiReader.docFreq(Term t)`
`TermEnum` | `FilterIndexReader.terms(Term t)`
`int` | `FilterIndexReader.docFreq(Term t)`
`void` | `FilterIndexReader.FilterTermDocs.seek(Term term)`
`void` | `MultipleTermPositions.seek(Term arg0)` Describe `seek` method here.
`boolean` | `TermEnum.skipTo(Term target)` Skips terms to the first beyond the current whose value is greater or equal to target.
`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.
`void` | `TermDocs.seek(Term term)` Sets this to the data for a term.

Constructors in org.apache.lucene.index with parameters of type Term
`MultipleTermPositions(IndexReader indexReader, Term[] terms)` Creates a new `MultipleTermPositions` instance.

Uses of Term in org.apache.lucene.search

Methods in org.apache.lucene.search that return Term
`Term[]` | `PhraseQuery.getTerms()` Returns the set of terms in this phrase.
`Term` | `FilteredTermEnum.term()` Returns the current Term in the enumeration.
`Term` | `TermQuery.getTerm()` Returns the term of this query.
`Term` | `RangeQuery.getLowerTerm()` Returns the lower term of this range query
`Term` | `RangeQuery.getUpperTerm()` Returns the upper term of this range query
`Term` | `PrefixQuery.getPrefix()` Returns the prefix of this query.
`Term` | `MultiTermQuery.getTerm()` Returns the pattern term.

Methods in org.apache.lucene.search with parameters of type Term
`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.
`int` | `Searchable.docFreq(Term term)` Expert: Returns the number of documents containing `term`.
`void` | `PhraseQuery.add(Term term)` Adds a term to the end of the query phrase.
`void` | `PhraseQuery.add(Term term, int position)` Adds a term to the end of the query phrase.
`protected abstract boolean` | `FilteredTermEnum.termCompare(Term term)` Equality compare on the term
`void` | `PhrasePrefixQuery.add(Term term)` Add a single term at the next position in the phrase.
`void` | `PhrasePrefixQuery.add(Term[] terms)` Add multiple terms at the next position in the phrase.
`void` | `PhrasePrefixQuery.add(Term[] terms, int position)` Allows to specify the relative position of terms within the phrase.
`float` | `Similarity.idf(Term term, Searcher searcher)` Computes a score factor for a simple term.
`protected boolean` | `WildcardTermEnum.termCompare(Term term)`
`int` | `ParallelMultiSearcher.docFreq(Term term)` TODO: parallelize this one too
`int` | `MultiSearcher.docFreq(Term term)`
`int` | `IndexSearcher.docFreq(Term term)`
`int` | `RemoteSearchable.docFreq(Term term)`

Constructors in org.apache.lucene.search with parameters of type Term
`FuzzyTermEnum(IndexReader reader, Term term)` Empty prefix and minSimilarity of 0.5f are used.
`FuzzyTermEnum(IndexReader reader, Term term, float minSimilarity)` This is the standard FuzzyTermEnum with an empty prefix.
`FuzzyTermEnum(IndexReader reader, Term term, float minSimilarity, int prefixLength)` Constructor for enumeration of all terms from specified `reader` which share a prefix of length `prefixLength` with `term` and which have a fuzzy similarity > `minSimilarity`.
`FuzzyQuery(Term term, float minimumSimilarity, int prefixLength)` Create a new FuzzyQuery that will match terms with a similarity of at least `minimumSimilarity` to `term`.
`FuzzyQuery(Term term, float minimumSimilarity)` Calls `FuzzyQuery(term, minimumSimilarity, 0)`.
`FuzzyQuery(Term term)` Calls `FuzzyQuery(term, 0.5f, 0)`.
`WildcardTermEnum(IndexReader reader, Term term)` Creates a new `WildcardTermEnum`.
`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`.
`PrefixQuery(Term prefix)` Constructs a query for terms starting with `prefix`.
`MultiTermQuery(Term term)` Constructs a query for terms matching `term`.
`WildcardQuery(Term term)`

Uses of Term in org.apache.lucene.search.spans

Methods in org.apache.lucene.search.spans that return Term
`Term` | `SpanTermQuery.getTerm()` Return the term whose spans are matched.

Constructors in org.apache.lucene.search.spans with parameters of type Term
`SpanTermQuery(Term term)` Construct a SpanTermQuery matching the named term's spans.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.