Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search |
Code to search indices.
|
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 | Method and Description |
---|---|
Similarity |
IndexWriter.getSimilarity()
Expert: Return the Similarity implementation used by this IndexWriter.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexWriter.setSimilarity(Similarity similarity)
Expert: Set the Similarity implementation used by this IndexWriter.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultSimilarity
Expert: Default scoring implementation.
|
class |
SimilarityDelegator
Expert: Delegating scoring implementation.
|
Modifier and Type | Method and Description |
---|---|
static Similarity |
Similarity.getDefault()
Return the default Similarity implementation used by indexing and search
code.
|
Similarity |
Scorer.getSimilarity()
Returns the Similarity implementation used by this scorer.
|
Similarity |
Searcher.getSimilarity()
Expert: Return the Similarity implementation used by this Searcher.
|
Similarity |
Query.getSimilarity(Searcher searcher)
Expert: Returns the Similarity implementation to be used for this query.
|
Similarity |
BooleanQuery.getSimilarity(Searcher searcher) |
Modifier and Type | Method and Description |
---|---|
static void |
Similarity.setDefault(Similarity similarity)
Set the default Similarity implementation used by indexing and search
code.
|
void |
Searcher.setSimilarity(Similarity similarity)
Expert: Set the Similarity implementation used by this Searcher.
|
Constructor and Description |
---|
ConstantScoreQuery.ConstantScorer(Similarity similarity,
IndexReader reader,
Weight w) |
Scorer(Similarity similarity)
Constructs a Scorer.
|
SimilarityDelegator(Similarity delegee)
Construct a
Similarity that delegates all methods to another. |
Modifier and Type | Method and Description |
---|---|
protected void |
BoostingTermQuery.BoostingTermWeight.BoostingSpanScorer.processPayload(Similarity similarity) |
Constructor and Description |
---|
BoostingTermQuery.BoostingTermWeight.BoostingSpanScorer(TermSpans spans,
Weight weight,
Similarity similarity,
byte[] norms) |
Modifier and Type | Field and Description |
---|---|
protected Similarity |
SpanWeight.similarity |
Constructor and Description |
---|
SpanScorer(Spans spans,
Weight weight,
Similarity similarity,
byte[] norms) |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.