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 |
DisjunctionMaxQuery.DisjunctionMaxWeight.explain(IndexReader reader,
int doc)
Explain the score we computed for doc
|
Explanation |
ConstantScoreQuery.ConstantWeight.explain(IndexReader reader,
int doc) |
Explanation |
BooleanQuery.BooleanWeight.explain(IndexReader reader,
int doc) |
Explanation |
Searcher.explain(Query query,
int doc)
Deprecated.
Returns an Explanation that describes how
doc scored against
query . |
Explanation |
IndexSearcher.explain(Query query,
int doc)
Returns an Explanation that describes how
doc scored against
query . |
abstract Explanation |
Searcher.explain(Weight weight,
int doc)
Deprecated.
|
Explanation |
Searchable.explain(Weight weight,
int doc)
Deprecated.
Expert: low-level implementation method
Returns an Explanation that describes how
doc scored against
weight . |
Explanation |
MultiSearcher.explain(Weight weight,
int doc)
Deprecated.
|
Explanation |
IndexSearcher.explain(Weight weight,
int doc)
Expert: low-level implementation method
Returns an Explanation that describes how
doc scored against
weight . |
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 |
CustomScoreProvider.customExplain(int doc,
Explanation subQueryExpl,
Explanation[] valSrcExpls)
Explain the custom score.
|
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
Explanation |
PayloadTermQuery.PayloadTermWeight.explain(IndexReader reader,
int doc) |
protected Explanation |
PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer.explain(int doc) |
protected Explanation |
PayloadNearQuery.PayloadNearSpanScorer.explain(int doc) |
Explanation |
PayloadFunction.explain(int docId,
int numPayloadsSeen,
float payloadScore) |
Explanation |
MinPayloadFunction.explain(int doc,
int numPayloadsSeen,
float payloadScore) |
Explanation |
MaxPayloadFunction.explain(int doc,
int numPayloadsSeen,
float payloadScore) |
Explanation |
AveragePayloadFunction.explain(int doc,
int numPayloadsSeen,
float payloadScore) |
Modifier and Type | Method and Description |
---|---|
Explanation |
SpanWeight.explain(IndexReader reader,
int doc) |
protected Explanation |
SpanScorer.explain(int doc)
This method is no longer an official member of
Scorer ,
but it is needed by SpanWeight to build an explanation. |