Package | Description |
---|---|
gate.creole.annic.apache.lucene.index |
Code to maintain and access indices.
|
gate.creole.annic.apache.lucene.search |
Modifier and Type | Method and Description |
---|---|
Term |
FilterIndexReader.FilterTermEnum.term() |
abstract Term |
TermEnum.term()
Returns the current Term in the enumeration.
|
Modifier and Type | Method and Description |
---|---|
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.
|
int |
IndexReader.delete(Term term)
Deletes all documents containing
term . |
int |
FilterIndexReader.docFreq(Term t) |
int |
MultiReader.docFreq(Term t) |
abstract int |
IndexReader.docFreq(Term t)
Returns the number of documents containing the term
t . |
int |
Term.indexCompareTo(Term other) |
void |
TermDocs.seek(Term term)
Sets this to the data for a term.
|
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.
|
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 . |
TermEnum |
FilterIndexReader.terms(Term t) |
TermEnum |
MultiReader.terms(Term term) |
abstract TermEnum |
IndexReader.terms(Term t)
Returns an enumeration of all terms after a given term.
|
Constructor and Description |
---|
MultipleTermPositions(IndexReader indexReader,
Term[] terms)
Creates a new
MultipleTermPositions instance. |
Modifier and Type | Method and Description |
---|---|
Term |
TermQuery.getTerm()
Returns the term of this query.
|
Term[] |
PhraseQuery.getTerms()
Returns the set of terms in this phrase.
|
Modifier and Type | Method and Description |
---|---|
void |
PhraseQuery.add(Term term) |
void |
PhraseQuery.add(Term term,
Integer position,
boolean considerAsATerm)
Adds a term to the end of the query phrase.
|
int |
Searchable.docFreq(Term term)
Expert: Returns the number of documents containing
term . |
int |
IndexSearcher.docFreq(Term term) |
float |
Similarity.idf(Term term,
Searcher searcher)
Computes a score factor for a simple term.
|
Constructor and Description |
---|
TermQuery(Term t)
Constructs a query for the term
t . |
Copyright © 2024 GATE. All rights reserved.