Uses of Class
org.apache.lucene.search.similarities.BasicStats
Packages that use BasicStats
Package
Description
This package contains the various ranking models that can be used in Lucene.
-
Uses of BasicStats in org.apache.lucene.search.similarities
Subclasses of BasicStats in org.apache.lucene.search.similaritiesModifier and TypeClassDescriptionstatic classStores the collection distribution of the current term.Methods in org.apache.lucene.search.similarities that return BasicStatsModifier and TypeMethodDescriptionprotected BasicStatsprotected BasicStatsFactory method to return a custom stats objectMethods in org.apache.lucene.search.similarities with parameters of type BasicStatsModifier and TypeMethodDescriptiondoubleIndriDirichletSimilarity.IndriCollectionModel.computeProbability(BasicStats stats) doubleLMSimilarity.CollectionModel.computeProbability(BasicStats stats) Computes the probabilityp(w|C)according to the language model strategy for the current term.doubleLMSimilarity.DefaultCollectionModel.computeProbability(BasicStats stats) abstract ExplanationAfterEffect.explain(BasicStats stats, double tfn) Returns an explanation for the score.final ExplanationAfterEffectB.explain(BasicStats stats, double tfn) final ExplanationAfterEffectL.explain(BasicStats stats, double tfn) protected voidAxiomatic.explain(List<Explanation> subs, BasicStats stats, double freq, double docLen) protected ExplanationAxiomatic.explain(BasicStats stats, Explanation freq, double docLen) abstract ExplanationBasicModel.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 ExplanationBasicModelIn.explain(BasicStats stats, double tfn, double aeTimes1pTfn) BasicModelIne.explain(BasicStats stats, double tfn, double aeTimes1pTfn) protected ExplanationDFISimilarity.explain(BasicStats stats, Explanation freq, double docLen) protected voidDFRSimilarity.explain(List<Explanation> subs, BasicStats stats, double freq, double docLen) protected ExplanationDFRSimilarity.explain(BasicStats stats, Explanation freq, double docLen) Distribution.explain(BasicStats stats, double tfn, double lambda) Explains the score.protected voidIBSimilarity.explain(List<Explanation> subs, BasicStats stats, double freq, double docLen) protected ExplanationIBSimilarity.explain(BasicStats stats, Explanation freq, double docLen) protected voidIndriDirichletSimilarity.explain(List<Explanation> subs, BasicStats stats, double freq, double docLen) abstract ExplanationLambda.explain(BasicStats stats) Explains the lambda parameter.final ExplanationLambdaDF.explain(BasicStats stats) final ExplanationLambdaTTF.explain(BasicStats stats) protected voidLMDirichletSimilarity.explain(List<Explanation> subs, BasicStats stats, double freq, double docLen) protected ExplanationLMDirichletSimilarity.explain(BasicStats stats, Explanation freq, double docLen) protected voidLMJelinekMercerSimilarity.explain(List<Explanation> subs, BasicStats stats, double freq, double docLen) protected ExplanationLMJelinekMercerSimilarity.explain(BasicStats stats, Explanation freq, double docLen) protected voidLMSimilarity.explain(List<Explanation> subExpls, BasicStats stats, double 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) protected voidSimilarityBase.explain(List<Explanation> subExpls, BasicStats stats, double freq, double docLen) Subclasses should implement this method to explain the score.protected ExplanationSimilarityBase.explain(BasicStats stats, Explanation freq, double docLen) Explains the score.protected voidLMSimilarity.fillBasicStats(BasicStats stats, CollectionStatistics collectionStats, TermStatistics termStats) Computes the collection probability of the current term in addition to the usual statistics.protected voidSimilarityBase.fillBasicStats(BasicStats stats, CollectionStatistics collectionStats, TermStatistics termStats) Fills all member fields defined inBasicStatsinstats.protected abstract doubleAxiomatic.gamma(BasicStats stats, double freq, double docLen) compute the gamma component (only for F3EXp and F3LOG)protected doubleAxiomaticF1EXP.gamma(BasicStats stats, double freq, double docLen) compute the gamma componentprotected doubleAxiomaticF1LOG.gamma(BasicStats stats, double freq, double docLen) compute the gamma componentprotected doubleAxiomaticF2EXP.gamma(BasicStats stats, double freq, double docLen) compute the gamma componentprotected doubleAxiomaticF2LOG.gamma(BasicStats stats, double freq, double docLen) compute the gamma componentprotected doubleAxiomaticF3EXP.gamma(BasicStats stats, double freq, double docLen) compute the gamma componentprotected doubleAxiomaticF3LOG.gamma(BasicStats stats, double freq, double docLen) compute the gamma componentprotected abstract doubleAxiomatic.idf(BasicStats stats, double freq, double docLen) compute the inverted document frequency componentprotected doubleAxiomaticF1EXP.idf(BasicStats stats, double freq, double docLen) compute the inverted document frequency componentprotected doubleAxiomaticF1LOG.idf(BasicStats stats, double freq, double docLen) compute the inverted document frequency componentprotected doubleAxiomaticF2EXP.idf(BasicStats stats, double freq, double docLen) compute the inverted document frequency componentprotected doubleAxiomaticF2LOG.idf(BasicStats stats, double freq, double docLen) compute the inverted document frequency componentprotected doubleAxiomaticF3EXP.idf(BasicStats stats, double freq, double docLen) compute the inverted document frequency componentprotected doubleAxiomaticF3LOG.idf(BasicStats stats, double freq, double docLen) compute the inverted document frequency componentprotected abstract ExplanationAxiomatic.idfExplain(BasicStats stats, double freq, double docLen) Explain the score of the inverted document frequency component for a single documentprotected ExplanationAxiomaticF1EXP.idfExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF1LOG.idfExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF2EXP.idfExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF2LOG.idfExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF3EXP.idfExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF3LOG.idfExplain(BasicStats stats, double freq, double docLen) abstract floatLambda.lambda(BasicStats stats) Computes the lambda parameter.final floatLambdaDF.lambda(BasicStats stats) final floatLambdaTTF.lambda(BasicStats stats) protected abstract doubleAxiomatic.ln(BasicStats stats, double freq, double docLen) compute the document length componentprotected doubleAxiomaticF1EXP.ln(BasicStats stats, double freq, double docLen) compute the document length componentprotected doubleAxiomaticF1LOG.ln(BasicStats stats, double freq, double docLen) compute the document length componentprotected doubleAxiomaticF2EXP.ln(BasicStats stats, double freq, double docLen) compute the document length componentprotected doubleAxiomaticF2LOG.ln(BasicStats stats, double freq, double docLen) compute the document length componentprotected doubleAxiomaticF3EXP.ln(BasicStats stats, double freq, double docLen) compute the document length componentprotected doubleAxiomaticF3LOG.ln(BasicStats stats, double freq, double docLen) compute the document length componentprotected abstract ExplanationAxiomatic.lnExplain(BasicStats stats, double freq, double docLen) Explain the score of the document length component for a single documentprotected ExplanationAxiomaticF1EXP.lnExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF1LOG.lnExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF2EXP.lnExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF2LOG.lnExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF3EXP.lnExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF3LOG.lnExplain(BasicStats stats, double freq, double docLen) doubleAxiomatic.score(BasicStats stats, double freq, double docLen) abstract doubleBasicModel.score(BasicStats stats, double tfn, double aeTimes1pTfn) Returns the informative content score combined with the after effect, more specificallyinformationContentScore * aeTimes1pTfn / (1 + tfn).final doubleBasicModelG.score(BasicStats stats, double tfn, double aeTimes1pTfn) final doubleBasicModelIF.score(BasicStats stats, double tfn, double aeTimes1pTfn) final doubleBasicModelIn.score(BasicStats stats, double tfn, double aeTimes1pTfn) final doubleBasicModelIne.score(BasicStats stats, double tfn, double aeTimes1pTfn) protected doubleDFISimilarity.score(BasicStats stats, double freq, double docLen) protected doubleDFRSimilarity.score(BasicStats stats, double freq, double docLen) abstract doubleDistribution.score(BasicStats stats, double tfn, double lambda) Computes the score.final doubleDistributionLL.score(BasicStats stats, double tfn, double lambda) final doubleDistributionSPL.score(BasicStats stats, double tfn, double lambda) protected doubleIBSimilarity.score(BasicStats stats, double freq, double docLen) protected doubleIndriDirichletSimilarity.score(BasicStats stats, double freq, double docLen) protected doubleLMDirichletSimilarity.score(BasicStats stats, double freq, double docLen) protected doubleLMJelinekMercerSimilarity.score(BasicStats stats, double freq, double docLen) protected abstract doubleSimilarityBase.score(BasicStats stats, double freq, double docLen) Scores the documentdoc.abstract doubleAfterEffect.scoreTimes1pTfn(BasicStats stats) Returns the product of the after effect with1+tfn.final doubleAfterEffectB.scoreTimes1pTfn(BasicStats stats) final doubleAfterEffectL.scoreTimes1pTfn(BasicStats stats) protected abstract doubleAxiomatic.tf(BasicStats stats, double freq, double docLen) compute the term frequency componentprotected doubleAxiomaticF1EXP.tf(BasicStats stats, double freq, double docLen) compute the term frequency componentprotected doubleAxiomaticF1LOG.tf(BasicStats stats, double freq, double docLen) compute the term frequency componentprotected doubleAxiomaticF2EXP.tf(BasicStats stats, double freq, double docLen) compute the term frequency componentprotected doubleAxiomaticF2LOG.tf(BasicStats stats, double freq, double docLen) compute the term frequency componentprotected doubleAxiomaticF3EXP.tf(BasicStats stats, double freq, double docLen) compute the term frequency componentprotected doubleAxiomaticF3LOG.tf(BasicStats stats, double freq, double docLen) compute the term frequency componentprotected abstract ExplanationAxiomatic.tfExplain(BasicStats stats, double freq, double docLen) Explain the score of the term frequency component for a single documentprotected ExplanationAxiomaticF1EXP.tfExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF1LOG.tfExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF2EXP.tfExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF2LOG.tfExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF3EXP.tfExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF3LOG.tfExplain(BasicStats stats, double freq, double docLen) protected abstract doubleAxiomatic.tfln(BasicStats stats, double freq, double docLen) compute the mixed term frequency and document length componentprotected doubleAxiomaticF1EXP.tfln(BasicStats stats, double freq, double docLen) compute the mixed term frequency and document length componentprotected doubleAxiomaticF1LOG.tfln(BasicStats stats, double freq, double docLen) compute the mixed term frequency and document length componentprotected doubleAxiomaticF2EXP.tfln(BasicStats stats, double freq, double docLen) compute the mixed term frequency and document length componentprotected doubleAxiomaticF2LOG.tfln(BasicStats stats, double freq, double docLen) compute the mixed term frequency and document length componentprotected doubleAxiomaticF3EXP.tfln(BasicStats stats, double freq, double docLen) compute the mixed term frequency and document length componentprotected doubleAxiomaticF3LOG.tfln(BasicStats stats, double freq, double docLen) compute the mixed term frequency and document length componentprotected abstract ExplanationAxiomatic.tflnExplain(BasicStats stats, double freq, double docLen) Explain the score of the mixed term frequency and document length component for a single documentprotected ExplanationAxiomaticF1EXP.tflnExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF1LOG.tflnExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF2EXP.tflnExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF2LOG.tflnExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF3EXP.tflnExplain(BasicStats stats, double freq, double docLen) protected ExplanationAxiomaticF3LOG.tflnExplain(BasicStats stats, double freq, double docLen) doubleNormalization.NoNormalization.tfn(BasicStats stats, double tf, double len) abstract doubleNormalization.tfn(BasicStats stats, double tf, double len) Returns the normalized term frequency.final doubleNormalizationH1.tfn(BasicStats stats, double tf, double len) final doubleNormalizationH2.tfn(BasicStats stats, double tf, double len) doubleNormalizationH3.tfn(BasicStats stats, double tf, double len) doubleNormalizationZ.tfn(BasicStats stats, double tf, double len)