Uses of Class
org.apache.lucene.search.Explanation
Package
Description
Code to search indices.
This package contains the various ranking models that can be used in Lucene.
-
Uses of Explanation in org.apache.lucene.search
Modifier and TypeMethodDescriptionConstantScoreWeight.explain
(LeafReaderContext context, int doc) DisjunctionMaxQuery.DisjunctionMaxWeight.explain
(LeafReaderContext context, int doc) Explain the score we computed for docDoubleValuesSource.explain
(LeafReaderContext ctx, int docId, Explanation scoreExplanation) An explanation of the value for the named document.FilterWeight.explain
(LeafReaderContext context, int doc) Returns an Explanation that describes howdoc
scored againstquery
.protected Explanation
Expert: low-level implementation method Returns an Explanation that describes howdoc
scored againstweight
.IndriAndWeight.explain
(LeafReaderContext context, int doc) LeafSimScorer.explain
(int doc, Explanation freqExpl) Explain the score for the provided document assuming the given term document frequency.PhraseWeight.explain
(LeafReaderContext context, int doc) QueryRescorer.explain
(IndexSearcher searcher, Explanation firstPassExplanation, int docID) abstract Explanation
Rescorer.explain
(IndexSearcher searcher, Explanation firstPassExplanation, int docID) Explains how the score for the specified document was computed.SortRescorer.explain
(IndexSearcher searcher, Explanation firstPassExplanation, int docID) abstract Explanation
Weight.explain
(LeafReaderContext context, int doc) An explanation of the score computation for the named document.Explanation.getDetails()
The sub-nodes of this explanation node.static Explanation
Explanation.match
(Number value, String description, Collection<Explanation> details) Create a new explanation for a match.static Explanation
Explanation.match
(Number value, String description, Explanation... details) Create a new explanation for a match.static Explanation
Explanation.noMatch
(String description, Collection<Explanation> details) Create a new explanation for a document which does not match.static Explanation
Explanation.noMatch
(String description, Explanation... details) Create a new explanation for a document which does not match.Modifier and TypeMethodDescriptionDoubleValuesSource.explain
(LeafReaderContext ctx, int docId, Explanation scoreExplanation) An explanation of the value for the named document.LeafSimScorer.explain
(int doc, Explanation freqExpl) Explain the score for the provided document assuming the given term document frequency.QueryRescorer.explain
(IndexSearcher searcher, Explanation firstPassExplanation, int docID) abstract Explanation
Rescorer.explain
(IndexSearcher searcher, Explanation firstPassExplanation, int docID) Explains how the score for the specified document was computed.SortRescorer.explain
(IndexSearcher searcher, Explanation firstPassExplanation, int docID) static Explanation
Explanation.match
(Number value, String description, Explanation... details) Create a new explanation for a match.static Explanation
Explanation.noMatch
(String description, Explanation... details) Create a new explanation for a document which does not match.Modifier and TypeMethodDescriptionstatic Explanation
Explanation.match
(Number value, String description, Collection<Explanation> details) Create a new explanation for a match.static Explanation
Explanation.noMatch
(String description, Collection<Explanation> details) Create a new explanation for a document which does not match. -
Uses of Explanation in org.apache.lucene.search.similarities
Modifier and TypeMethodDescriptionabstract Explanation
AfterEffect.explain
(BasicStats stats, double tfn) Returns an explanation for the score.final Explanation
AfterEffectB.explain
(BasicStats stats, double tfn) final Explanation
AfterEffectL.explain
(BasicStats stats, double tfn) protected Explanation
Axiomatic.explain
(BasicStats stats, Explanation freq, double docLen) abstract Explanation
BasicModel.explain
(BasicStats stats, double tfn, double aeTimes1pTfn) Returns an explanation for the score.BasicModelG.explain
(BasicStats stats, double tfn, double aeTimes1pTfn) BasicModelIF.explain
(BasicStats stats, double tfn, double aeTimes1pTfn) final Explanation
BasicModelIn.explain
(BasicStats stats, double tfn, double aeTimes1pTfn) BasicModelIne.explain
(BasicStats stats, double tfn, double aeTimes1pTfn) protected Explanation
DFISimilarity.explain
(BasicStats stats, Explanation freq, double docLen) protected Explanation
DFRSimilarity.explain
(BasicStats stats, Explanation freq, double docLen) Distribution.explain
(BasicStats stats, double tfn, double lambda) Explains the score.protected Explanation
IBSimilarity.explain
(BasicStats stats, Explanation freq, double docLen) abstract Explanation
Lambda.explain
(BasicStats stats) Explains the lambda parameter.final Explanation
LambdaDF.explain
(BasicStats stats) final Explanation
LambdaTTF.explain
(BasicStats stats) protected Explanation
LMDirichletSimilarity.explain
(BasicStats stats, Explanation freq, double docLen) protected Explanation
LMJelinekMercerSimilarity.explain
(BasicStats stats, Explanation freq, double docLen) Normalization.explain
(BasicStats stats, double tf, double len) Returns an explanation for the normalized term frequency.Normalization.NoNormalization.explain
(BasicStats stats, double tf, double len) NormalizationH1.explain
(BasicStats stats, double tf, double len) NormalizationH2.explain
(BasicStats stats, double tf, double len) NormalizationH3.explain
(BasicStats stats, double tf, double len) NormalizationZ.explain
(BasicStats stats, double tf, double len) Similarity.SimScorer.explain
(Explanation freq, long norm) Explain the score for a single documentprotected Explanation
SimilarityBase.explain
(BasicStats stats, Explanation freq, double docLen) Explains the score.protected abstract Explanation
Axiomatic.idfExplain
(BasicStats stats, double freq, double docLen) Explain the score of the inverted document frequency component for a single documentprotected Explanation
AxiomaticF1EXP.idfExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF1LOG.idfExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF2EXP.idfExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF2LOG.idfExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF3EXP.idfExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF3LOG.idfExplain
(BasicStats stats, double freq, double docLen) BM25Similarity.idfExplain
(CollectionStatistics collectionStats, TermStatistics termStats) Computes a score factor for a simple term and returns an explanation for that score factor.BM25Similarity.idfExplain
(CollectionStatistics collectionStats, TermStatistics[] termStats) Computes a score factor for a phrase.ClassicSimilarity.idfExplain
(CollectionStatistics collectionStats, TermStatistics termStats) TFIDFSimilarity.idfExplain
(CollectionStatistics collectionStats, TermStatistics termStats) Computes a score factor for a simple term and returns an explanation for that score factor.TFIDFSimilarity.idfExplain
(CollectionStatistics collectionStats, TermStatistics[] termStats) Computes a score factor for a phrase.protected abstract Explanation
Axiomatic.lnExplain
(BasicStats stats, double freq, double docLen) Explain the score of the document length component for a single documentprotected Explanation
AxiomaticF1EXP.lnExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF1LOG.lnExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF2EXP.lnExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF2LOG.lnExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF3EXP.lnExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF3LOG.lnExplain
(BasicStats stats, double freq, double docLen) protected abstract Explanation
Axiomatic.tfExplain
(BasicStats stats, double freq, double docLen) Explain the score of the term frequency component for a single documentprotected Explanation
AxiomaticF1EXP.tfExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF1LOG.tfExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF2EXP.tfExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF2LOG.tfExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF3EXP.tfExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF3LOG.tfExplain
(BasicStats stats, double freq, double docLen) protected abstract Explanation
Axiomatic.tflnExplain
(BasicStats stats, double freq, double docLen) Explain the score of the mixed term frequency and document length component for a single documentprotected Explanation
AxiomaticF1EXP.tflnExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF1LOG.tflnExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF2EXP.tflnExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF2LOG.tflnExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF3EXP.tflnExplain
(BasicStats stats, double freq, double docLen) protected Explanation
AxiomaticF3LOG.tflnExplain
(BasicStats stats, double freq, double docLen) Modifier and TypeMethodDescriptionprotected Explanation
Axiomatic.explain
(BasicStats stats, Explanation freq, double docLen) protected Explanation
DFISimilarity.explain
(BasicStats stats, Explanation freq, double docLen) protected Explanation
DFRSimilarity.explain
(BasicStats stats, Explanation freq, double docLen) protected Explanation
IBSimilarity.explain
(BasicStats stats, Explanation freq, double docLen) protected Explanation
LMDirichletSimilarity.explain
(BasicStats stats, Explanation freq, double docLen) protected Explanation
LMJelinekMercerSimilarity.explain
(BasicStats stats, Explanation freq, double docLen) Similarity.SimScorer.explain
(Explanation freq, long norm) Explain the score for a single documentprotected Explanation
SimilarityBase.explain
(BasicStats stats, Explanation freq, double docLen) Explains the score.Modifier and TypeMethodDescriptionprotected void
Axiomatic.explain
(List<Explanation> subs, BasicStats stats, double freq, double docLen) protected void
DFRSimilarity.explain
(List<Explanation> subs, BasicStats stats, double freq, double docLen) protected void
IBSimilarity.explain
(List<Explanation> subs, BasicStats stats, double freq, double docLen) protected void
IndriDirichletSimilarity.explain
(List<Explanation> subs, BasicStats stats, double freq, double docLen) protected void
LMDirichletSimilarity.explain
(List<Explanation> subs, BasicStats stats, double freq, double docLen) protected void
LMJelinekMercerSimilarity.explain
(List<Explanation> subs, BasicStats stats, double freq, double docLen) protected void
LMSimilarity.explain
(List<Explanation> subExpls, BasicStats stats, double freq, double docLen) protected void
SimilarityBase.explain
(List<Explanation> subExpls, BasicStats stats, double freq, double docLen) Subclasses should implement this method to explain the score.