## Uses of Class
org.apache.lucene.search.similarities.BasicStats

- Packages that use BasicStats
  Package | Description
  --- | ---
  org.apache.lucene.search.similarities | 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.similarities
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `LMSimilarity.LMStats` Stores the collection distribution of the current term.

    Methods in org.apache.lucene.search.similarities that return BasicStats
    Modifier and Type | Method and Description
    --- | ---
    `protected BasicStats` | LMSimilarity.`newStats(String field, float boost)`
    `protected BasicStats` | SimilarityBase.`newStats(String field, float boost)` Factory method to return a custom stats object

    Methods in org.apache.lucene.search.similarities with parameters of type BasicStats
    Modifier and Type | Method and Description
    --- | ---
    `float` | LMSimilarity.CollectionModel.`computeProbability(BasicStats stats)` Computes the probability `p(w|C)` according to the language model strategy for the current term.
    `float` | LMSimilarity.DefaultCollectionModel.`computeProbability(BasicStats stats)`
    `Explanation` | LambdaDF.`explain(BasicStats stats)`
    `abstract Explanation` | Lambda.`explain(BasicStats stats)` Explains the lambda parameter.
    `Explanation` | LambdaTTF.`explain(BasicStats stats)`
    `Explanation` | BasicModel.`explain(BasicStats stats, float tfn)` Returns an explanation for the score.
    `Explanation` | AfterEffectL.`explain(BasicStats stats, float tfn)`
    `Explanation` | AfterEffectB.`explain(BasicStats stats, float tfn)`
    `abstract Explanation` | AfterEffect.`explain(BasicStats stats, float tfn)` Returns an explanation for the score.
    `Explanation` | AfterEffect.NoAfterEffect.`explain(BasicStats stats, float tfn)`
    `Explanation` | BasicModelIn.`explain(BasicStats stats, float tfn)`
    `Explanation` | Normalization.`explain(BasicStats stats, float tf, float len)` Returns an explanation for the normalized term frequency.
    `Explanation` | Normalization.NoNormalization.`explain(BasicStats stats, float tf, float len)`
    `Explanation` | Distribution.`explain(BasicStats stats, float tfn, float lambda)` Explains the score.
    `protected Explanation` | SimilarityBase.`explain(BasicStats stats, int doc, Explanation freq, float docLen)` Explains the score.
    `protected void` | Axiomatic.`explain(List<Explanation> subs, BasicStats stats, int doc, float freq, float docLen)`
    `protected void` | LMJelinekMercerSimilarity.`explain(List<Explanation> subs, BasicStats stats, int doc, float freq, float docLen)`
    `protected void` | LMSimilarity.`explain(List<Explanation> subExpls, BasicStats stats, int doc, float freq, float docLen)`
    `protected void` | SimilarityBase.`explain(List<Explanation> subExpls, BasicStats stats, int doc, float freq, float docLen)` Subclasses should implement this method to explain the score.
    `protected void` | IBSimilarity.`explain(List<Explanation> subs, BasicStats stats, int doc, float freq, float docLen)`
    `protected void` | DFRSimilarity.`explain(List<Explanation> subs, BasicStats stats, int doc, float freq, float docLen)`
    `protected void` | LMDirichletSimilarity.`explain(List<Explanation> subs, BasicStats stats, int doc, float freq, float docLen)`
    `protected void` | LMSimilarity.`fillBasicStats(BasicStats stats, CollectionStatistics collectionStats, TermStatistics termStats)` Computes the collection probability of the current term in addition to the usual statistics.
    `protected void` | SimilarityBase.`fillBasicStats(BasicStats stats, CollectionStatistics collectionStats, TermStatistics termStats)` Fills all member fields defined in `BasicStats` in `stats`.
    `protected abstract float` | Axiomatic.`gamma(BasicStats stats, float freq, float docLen)` compute the gamma component (only for F3EXp and F3LOG)
    `protected float` | AxiomaticF1EXP.`gamma(BasicStats stats, float freq, float docLen)` compute the gamma component
    `protected float` | AxiomaticF2LOG.`gamma(BasicStats stats, float freq, float docLen)` compute the gamma component
    `protected float` | AxiomaticF1LOG.`gamma(BasicStats stats, float freq, float docLen)` compute the gamma component
    `protected float` | AxiomaticF3EXP.`gamma(BasicStats stats, float freq, float docLen)` compute the gamma component
    `protected float` | AxiomaticF3LOG.`gamma(BasicStats stats, float freq, float docLen)` compute the gamma component
    `protected float` | AxiomaticF2EXP.`gamma(BasicStats stats, float freq, float docLen)` compute the gamma component
    `protected abstract float` | Axiomatic.`idf(BasicStats stats, float freq, float docLen)` compute the inverted document frequency component
    `protected float` | AxiomaticF1EXP.`idf(BasicStats stats, float freq, float docLen)` compute the inverted document frequency component
    `protected float` | AxiomaticF2LOG.`idf(BasicStats stats, float freq, float docLen)` compute the inverted document frequency component
    `protected float` | AxiomaticF1LOG.`idf(BasicStats stats, float freq, float docLen)` compute the inverted document frequency component
    `protected float` | AxiomaticF3EXP.`idf(BasicStats stats, float freq, float docLen)` compute the inverted document frequency component
    `protected float` | AxiomaticF3LOG.`idf(BasicStats stats, float freq, float docLen)` compute the inverted document frequency component
    `protected float` | AxiomaticF2EXP.`idf(BasicStats stats, float freq, float docLen)` compute the inverted document frequency component
    `float` | LambdaDF.`lambda(BasicStats stats)`
    `abstract float` | Lambda.`lambda(BasicStats stats)` Computes the lambda parameter.
    `float` | LambdaTTF.`lambda(BasicStats stats)`
    `protected abstract float` | Axiomatic.`ln(BasicStats stats, float freq, float docLen)` compute the document length component
    `protected float` | AxiomaticF1EXP.`ln(BasicStats stats, float freq, float docLen)` compute the document length component
    `protected float` | AxiomaticF2LOG.`ln(BasicStats stats, float freq, float docLen)` compute the document length component
    `protected float` | AxiomaticF1LOG.`ln(BasicStats stats, float freq, float docLen)` compute the document length component
    `protected float` | AxiomaticF3EXP.`ln(BasicStats stats, float freq, float docLen)` compute the document length component
    `protected float` | AxiomaticF3LOG.`ln(BasicStats stats, float freq, float docLen)` compute the document length component
    `protected float` | AxiomaticF2EXP.`ln(BasicStats stats, float freq, float docLen)` compute the document length component
    `float` | BasicModelIne.`score(BasicStats stats, float tfn)`
    `float` | BasicModelIF.`score(BasicStats stats, float tfn)`
    `float` | BasicModelBE.`score(BasicStats stats, float tfn)`
    `float` | BasicModelP.`score(BasicStats stats, float tfn)`
    `abstract float` | BasicModel.`score(BasicStats stats, float tfn)` Returns the informative content score.
    `float` | AfterEffectL.`score(BasicStats stats, float tfn)`
    `float` | AfterEffectB.`score(BasicStats stats, float tfn)`
    `float` | BasicModelG.`score(BasicStats stats, float tfn)`
    `abstract float` | AfterEffect.`score(BasicStats stats, float tfn)` Returns the aftereffect score.
    `float` | AfterEffect.NoAfterEffect.`score(BasicStats stats, float tfn)`
    `float` | BasicModelD.`score(BasicStats stats, float tfn)`
    `float` | BasicModelIn.`score(BasicStats stats, float tfn)`
    `float` | Axiomatic.`score(BasicStats stats, float freq, float docLen)`
    `float` | DistributionLL.`score(BasicStats stats, float tfn, float lambda)`
    `protected float` | LMJelinekMercerSimilarity.`score(BasicStats stats, float freq, float docLen)`
    `protected abstract float` | SimilarityBase.`score(BasicStats stats, float freq, float docLen)` Scores the document `doc`.
    `protected float` | IBSimilarity.`score(BasicStats stats, float freq, float docLen)`
    `protected float` | DFRSimilarity.`score(BasicStats stats, float freq, float docLen)`
    `protected float` | DFISimilarity.`score(BasicStats stats, float freq, float docLen)`
    `abstract float` | Distribution.`score(BasicStats stats, float tfn, float lambda)` Computes the score.
    `protected float` | LMDirichletSimilarity.`score(BasicStats stats, float freq, float docLen)`
    `float` | DistributionSPL.`score(BasicStats stats, float tfn, float lambda)`
    `protected abstract float` | Axiomatic.`tf(BasicStats stats, float freq, float docLen)` compute the term frequency component
    `protected float` | AxiomaticF1EXP.`tf(BasicStats stats, float freq, float docLen)` compute the term frequency component
    `protected float` | AxiomaticF2LOG.`tf(BasicStats stats, float freq, float docLen)` compute the term frequency component
    `protected float` | AxiomaticF1LOG.`tf(BasicStats stats, float freq, float docLen)` compute the term frequency component
    `protected float` | AxiomaticF3EXP.`tf(BasicStats stats, float freq, float docLen)` compute the term frequency component
    `protected float` | AxiomaticF3LOG.`tf(BasicStats stats, float freq, float docLen)` compute the term frequency component
    `protected float` | AxiomaticF2EXP.`tf(BasicStats stats, float freq, float docLen)` compute the term frequency component
    `protected abstract float` | Axiomatic.`tfln(BasicStats stats, float freq, float docLen)` compute the mixed term frequency and document length component
    `protected float` | AxiomaticF1EXP.`tfln(BasicStats stats, float freq, float docLen)` compute the mixed term frequency and document length component
    `protected float` | AxiomaticF2LOG.`tfln(BasicStats stats, float freq, float docLen)` compute the mixed term frequency and document length component
    `protected float` | AxiomaticF1LOG.`tfln(BasicStats stats, float freq, float docLen)` compute the mixed term frequency and document length component
    `protected float` | AxiomaticF3EXP.`tfln(BasicStats stats, float freq, float docLen)` compute the mixed term frequency and document length component
    `protected float` | AxiomaticF3LOG.`tfln(BasicStats stats, float freq, float docLen)` compute the mixed term frequency and document length component
    `protected float` | AxiomaticF2EXP.`tfln(BasicStats stats, float freq, float docLen)` compute the mixed term frequency and document length component
    `float` | NormalizationH2.`tfn(BasicStats stats, float tf, float len)`
    `abstract float` | Normalization.`tfn(BasicStats stats, float tf, float len)` Returns the normalized term frequency.
    `float` | Normalization.NoNormalization.`tfn(BasicStats stats, float tf, float len)`
    `float` | NormalizationH1.`tfn(BasicStats stats, float tf, float len)`
    `float` | NormalizationH3.`tfn(BasicStats stats, float tf, float len)`
    `float` | NormalizationZ.`tfn(BasicStats stats, float tf, float len)`

Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.