Package | Description |
---|---|
org.apache.lucene.search |
Search over indices.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
org.apache.lucene.wordnet |
This package uses synonyms defined by WordNet to build a
Lucene index storing them, which in turn can be used for query expansion.
|
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 |
ConstantScoreQuery.createWeight(Searcher searcher) |
protected Weight |
DisjunctionMaxQuery.createWeight(Searcher searcher) |
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 |
MultiPhraseQuery.createWeight(Searcher searcher) |
protected Weight |
PhrasePrefixQuery.createWeight(Searcher searcher)
Deprecated.
|
protected Weight |
PhraseQuery.createWeight(Searcher searcher) |
protected Weight |
Query.createWeight(Searcher searcher)
Expert: Constructs an appropriate Weight implementation for this query.
|
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 |
SpanQuery.createWeight(Searcher searcher) |
Modifier and Type | Method and Description |
---|---|
static Query |
SynExpand.expand(String query,
Searcher syns,
Analyzer a,
String field,
float boost)
Perform synonym expansion on a query.
|
static Query |
SynLookup.expand(String query,
Searcher syns,
Analyzer a,
String field,
float boost)
Perform synonym expansion on a query.
|
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.