Uses of Class
org.apache.lucene.search.Explanation
-
Packages that use Explanation 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. -
-
Uses of Explanation in org.apache.lucene.search
Subclasses of Explanation in org.apache.lucene.search Modifier and Type Class Description classComplexExplanationExpert: Describes the score computation for document and query, and can distinguish a match independent of a positive value.Methods in org.apache.lucene.search that return Explanation Modifier and Type Method Description ExplanationBooleanQuery.BooleanWeight. explain(IndexReader reader, int doc)ExplanationConstantScoreQuery.ConstantWeight. explain(IndexReader reader, int doc)ExplanationDisjunctionMaxQuery.DisjunctionMaxWeight. explain(IndexReader reader, int doc)Explain the score we computed for docExplanationIndexSearcher. explain(Query query, int doc)Returns an Explanation that describes howdocscored againstquery.ExplanationIndexSearcher. explain(Weight weight, int doc)Expert: low-level implementation method Returns an Explanation that describes howdocscored againstweight.ExplanationMultiSearcher. explain(Weight weight, int doc)Deprecated.ExplanationRemoteSearchable. explain(Weight weight, int doc)Deprecated.ExplanationSearchable. explain(Weight weight, int doc)Deprecated.Expert: low-level implementation method Returns an Explanation that describes howdocscored againstweight.ExplanationSearcher. explain(Query query, int doc)Deprecated.Returns an Explanation that describes howdocscored againstquery.abstract ExplanationSearcher. explain(Weight weight, int doc)Deprecated.abstract ExplanationWeight. explain(IndexReader reader, int doc)An explanation of the score computation for the named document.Explanation[]Explanation. getDetails()The sub-nodes of this explanation node.Methods in org.apache.lucene.search with parameters of type Explanation Modifier and Type Method Description voidExplanation. addDetail(Explanation detail)Adds a sub-node to this explanation node.static voidCheckHits. verifyExplanation(String q, int doc, float score, boolean deep, Explanation expl)Assert that an explanation has the expected score, and optionally that its sub-details max/sum/factor match to that score. -
Uses of Explanation in org.apache.lucene.search.function
Methods in org.apache.lucene.search.function that return Explanation Modifier and Type Method Description ExplanationCustomScoreProvider. customExplain(int doc, Explanation subQueryExpl, Explanation valSrcExpl)Explain the custom score.ExplanationCustomScoreProvider. customExplain(int doc, Explanation subQueryExpl, Explanation[] valSrcExpls)Explain the custom score.ExplanationDocValues. explain(int doc)Explain the scoring value for the input doc.Methods in org.apache.lucene.search.function with parameters of type Explanation Modifier and Type Method Description ExplanationCustomScoreProvider. customExplain(int doc, Explanation subQueryExpl, Explanation valSrcExpl)Explain the custom score.ExplanationCustomScoreProvider. customExplain(int doc, Explanation subQueryExpl, Explanation[] valSrcExpls)Explain the custom score. -
Uses of Explanation in org.apache.lucene.search.payloads
Methods in org.apache.lucene.search.payloads that return Explanation Modifier and Type Method Description ExplanationAveragePayloadFunction. explain(int doc, int numPayloadsSeen, float payloadScore)ExplanationMaxPayloadFunction. explain(int doc, int numPayloadsSeen, float payloadScore)ExplanationMinPayloadFunction. explain(int doc, int numPayloadsSeen, float payloadScore)ExplanationPayloadFunction. explain(int docId, int numPayloadsSeen, float payloadScore)protected ExplanationPayloadNearQuery.PayloadNearSpanScorer. explain(int doc)ExplanationPayloadTermQuery.PayloadTermWeight. explain(IndexReader reader, int doc)protected ExplanationPayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer. explain(int doc) -
Uses of Explanation in org.apache.lucene.search.spans
Methods in org.apache.lucene.search.spans that return Explanation Modifier and Type Method Description protected ExplanationSpanScorer. explain(int doc)This method is no longer an official member ofScorer, but it is needed by SpanWeight to build an explanation.ExplanationSpanWeight. explain(IndexReader reader, int doc)
-