Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.function |
Programmatic control over documents scores.
|
org.apache.lucene.search.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
Modifier and Type | Class and Description |
---|---|
class |
IndexSearcher
Implements search over a single IndexReader.
|
class |
MultiSearcher
Implements search over a set of
Searchables . |
class |
ParallelMultiSearcher
Implements parallel search over a set of
Searchables . |
Modifier and Type | Method and Description |
---|---|
protected Weight |
BooleanQuery.createWeight(Searcher searcher) |
protected Weight |
PhraseQuery.createWeight(Searcher searcher) |
protected Weight |
Query.createWeight(Searcher searcher)
Expert: Constructs an appropriate Weight implementation for this query.
|
protected Weight |
FilteredQuery.createWeight(Searcher searcher)
Returns a Weight that applies the filter to the enclosed query's Weight.
|
protected Weight |
MatchAllDocsQuery.createWeight(Searcher searcher) |
protected Weight |
DisjunctionMaxQuery.createWeight(Searcher searcher) |
protected Weight |
ConstantScoreQuery.createWeight(Searcher searcher) |
protected Weight |
MultiPhraseQuery.createWeight(Searcher searcher) |
protected Weight |
TermQuery.createWeight(Searcher searcher) |
Similarity |
BooleanQuery.getSimilarity(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.
|
Weight |
Query.weight(Searcher searcher)
Expert: Constructs and initializes a Weight for a top-level query.
|
Constructor and Description |
---|
ConstantScoreQuery.ConstantWeight(Searcher searcher) |
Modifier and Type | Method and Description |
---|---|
protected Weight |
CustomScoreQuery.createWeight(Searcher searcher) |
protected Weight |
ValueSourceQuery.createWeight(Searcher searcher) |
Modifier and Type | Method and Description |
---|---|
protected Weight |
BoostingTermQuery.createWeight(Searcher searcher) |
Constructor and Description |
---|
BoostingTermQuery.BoostingTermWeight(BoostingTermQuery query,
Searcher searcher) |
Modifier and Type | Method and Description |
---|---|
protected Weight |
SpanQuery.createWeight(Searcher searcher) |
Constructor and Description |
---|
SpanWeight(SpanQuery query,
Searcher searcher) |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.