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 |
ComplexExplanation
Expert: Describes the score computation for document and query, and
can distinguish a match independent of a positive value.
|
Modifier and Type | Method and Description |
---|---|
abstract Explanation |
Weight.explain(IndexReader reader,
int doc)
An explanation of the score computation for the named document.
|
Explanation |
BooleanQuery.BooleanWeight.explain(IndexReader reader,
int doc) |
Explanation |
ConstantScoreQuery.ConstantWeight.explain(IndexReader reader,
int doc) |
Explanation |
DisjunctionMaxQuery.DisjunctionMaxWeight.explain(IndexReader reader,
int doc) |
Explanation |
Scorer.explain(int doc)
Deprecated.
|
Explanation |
ConstantScoreQuery.ConstantScorer.explain(int doc) |
Explanation |
ScoreCachingWrappingScorer.explain(int doc) |
Explanation |
Searcher.explain(Query query,
int doc)
Returns an Explanation that describes how
doc scored against
query . |
Explanation |
RemoteSearchable.explain(Weight weight,
int doc) |
abstract Explanation |
Searcher.explain(Weight weight,
int doc) |
Explanation |
Searchable.explain(Weight weight,
int doc)
Expert: low-level implementation method
Returns an Explanation that describes how
doc scored against
weight . |
Explanation |
IndexSearcher.explain(Weight weight,
int doc) |
Explanation |
MultiSearcher.explain(Weight weight,
int doc) |
Explanation[] |
Explanation.getDetails()
The sub-nodes of this explanation node.
|
Modifier and Type | Method and Description |
---|---|
void |
Explanation.addDetail(Explanation detail)
Adds a sub-node to this explanation node.
|
Modifier and Type | Method and Description |
---|---|
Explanation |
CustomScoreProvider.customExplain(int doc,
Explanation subQueryExpl,
Explanation valSrcExpl)
Explain the custom score.
|
Explanation |
CustomScoreQuery.customExplain(int doc,
Explanation subQueryExpl,
Explanation valSrcExpl)
Deprecated.
Will be removed in Lucene 3.1.
The doc is relative to the current reader, which is
unknown to CustomScoreQuery when using per-segment search (since Lucene 2.9).
Please override
CustomScoreQuery.getCustomScoreProvider(org.apache.lucene.index.IndexReader) and return a subclass
of CustomScoreProvider for the given IndexReader . |
Explanation |
CustomScoreProvider.customExplain(int doc,
Explanation subQueryExpl,
Explanation[] valSrcExpls)
Explain the custom score.
|
Explanation |
CustomScoreQuery.customExplain(int doc,
Explanation subQueryExpl,
Explanation[] valSrcExpls)
Deprecated.
Will be removed in Lucene 3.1.
The doc is relative to the current reader, which is
unknown to CustomScoreQuery when using per-segment search (since Lucene 2.9).
Please override
CustomScoreQuery.getCustomScoreProvider(org.apache.lucene.index.IndexReader) and return a subclass
of CustomScoreProvider for the given IndexReader . |
Explanation |
DocValues.explain(int doc)
Explain the scoring value for the input doc.
|
Modifier and Type | Method and Description |
---|---|
Explanation |
CustomScoreProvider.customExplain(int doc,
Explanation subQueryExpl,
Explanation valSrcExpl)
Explain the custom score.
|
Explanation |
CustomScoreQuery.customExplain(int doc,
Explanation subQueryExpl,
Explanation valSrcExpl)
Deprecated.
Will be removed in Lucene 3.1.
The doc is relative to the current reader, which is
unknown to CustomScoreQuery when using per-segment search (since Lucene 2.9).
Please override
CustomScoreQuery.getCustomScoreProvider(org.apache.lucene.index.IndexReader) and return a subclass
of CustomScoreProvider for the given IndexReader . |
Explanation |
CustomScoreProvider.customExplain(int doc,
Explanation subQueryExpl,
Explanation[] valSrcExpls)
Explain the custom score.
|
Explanation |
CustomScoreProvider.customExplain(int doc,
Explanation subQueryExpl,
Explanation[] valSrcExpls)
Explain the custom score.
|
Explanation |
CustomScoreQuery.customExplain(int doc,
Explanation subQueryExpl,
Explanation[] valSrcExpls)
Deprecated.
Will be removed in Lucene 3.1.
The doc is relative to the current reader, which is
unknown to CustomScoreQuery when using per-segment search (since Lucene 2.9).
Please override
CustomScoreQuery.getCustomScoreProvider(org.apache.lucene.index.IndexReader) and return a subclass
of CustomScoreProvider for the given IndexReader . |
Explanation |
CustomScoreQuery.customExplain(int doc,
Explanation subQueryExpl,
Explanation[] valSrcExpls)
Deprecated.
Will be removed in Lucene 3.1.
The doc is relative to the current reader, which is
unknown to CustomScoreQuery when using per-segment search (since Lucene 2.9).
Please override
CustomScoreQuery.getCustomScoreProvider(org.apache.lucene.index.IndexReader) and return a subclass
of CustomScoreProvider for the given IndexReader . |
Modifier and Type | Method and Description |
---|---|
Explanation |
PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer.explain(int doc) |
Explanation |
PayloadNearQuery.PayloadNearSpanScorer.explain(int doc) |
Modifier and Type | Method and Description |
---|---|
Explanation |
SpanWeight.explain(IndexReader reader,
int doc) |
Explanation |
SpanScorer.explain(int doc) |
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.