Package | Description |
---|---|
gate.creole.annic.apache.lucene.search | |
gate.creole.annic.lucene |
Modifier and Type | Class and Description |
---|---|
class |
IndexSearcher
Implements search over a single IndexReader.
|
Modifier and Type | Field and Description |
---|---|
protected Searcher |
Scorer.searcher |
Modifier and Type | Method and Description |
---|---|
protected Weight |
Query.createWeight(Searcher searcher)
Expert: Constructs an appropriate Weight implementation for this query.
|
protected Weight |
TermQuery.createWeight(Searcher searcher) |
protected Weight |
PhraseQuery.createWeight(Searcher searcher) |
protected Weight |
BooleanQuery.createWeight(Searcher searcher) |
Similarity |
Query.getSimilarity(Searcher searcher)
Expert: Returns the Similarity implementation to be used for this query.
|
float |
Similarity.idf(Collection terms,
Searcher searcher)
Computes a score factor for a phrase.
|
float |
Similarity.idf(Term term,
Searcher searcher)
Computes a score factor for a simple term.
|
abstract boolean |
Scorer.next(Searcher searcher)
Advance to the next document matching the query.
|
void |
Scorer.score(HitCollector hc,
Searcher searcher)
Scores all documents and passes them to a collector.
|
abstract float |
Scorer.score(Searcher searcher)
Returns the score of the current document.
|
Scorer |
Weight.scorer(IndexReader reader,
Searcher searcher)
Constructs a scorer for this.
|
Weight |
Query.weight(Searcher searcher)
Expert: Constructs an initializes a Weight for a top-level query.
|
Modifier and Type | Class and Description |
---|---|
class |
LuceneIndexSearcher
This class provides an implementation that searches within the lucene
index to retrieve the results of a query submitted by user.
|
Copyright © 2024 GATE. All rights reserved.