## Uses of Class
org.apache.lucene.search.TermStatistics

- Packages that use TermStatistics
  Package | Description
  --- | ---
  org.apache.lucene.search | Code to search indices.
  org.apache.lucene.search.similarities | This package contains the various ranking models that can be used in Lucene.

- - ### Uses of TermStatistics in org.apache.lucene.search

    Methods in org.apache.lucene.search that return TermStatistics
    Modifier and Type | Method and Description
    --- | ---
    `TermStatistics` | IndexSearcher.`termStatistics(Term term, TermContext context)` Returns `TermStatistics` for a term.

  - ### Uses of TermStatistics in org.apache.lucene.search.similarities

    Methods in org.apache.lucene.search.similarities with parameters of type TermStatistics
    Modifier and Type | Method and Description
    --- | ---
    `Similarity.SimWeight` | BooleanSimilarity.`computeWeight(CollectionStatistics collectionStats, TermStatistics... termStats)`
    `Similarity.SimWeight` | PerFieldSimilarityWrapper.`computeWeight(CollectionStatistics collectionStats, TermStatistics... termStats)`
    `Similarity.SimWeight` | BM25Similarity.`computeWeight(CollectionStatistics collectionStats, TermStatistics... termStats)`
    `Similarity.SimWeight` | TFIDFSimilarity.`computeWeight(CollectionStatistics collectionStats, TermStatistics... termStats)`
    `Similarity.SimWeight` | SimilarityBase.`computeWeight(CollectionStatistics collectionStats, TermStatistics... termStats)`
    `abstract Similarity.SimWeight` | Similarity.`computeWeight(CollectionStatistics collectionStats, TermStatistics... termStats)` Compute any collection-level weight (e.g.
    `Similarity.SimWeight` | MultiSimilarity.`computeWeight(CollectionStatistics collectionStats, TermStatistics... termStats)`
    `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`.
    `Explanation` | ClassicSimilarity.`idfExplain(CollectionStatistics collectionStats, TermStatistics termStats)`
    `Explanation` | BM25Similarity.`idfExplain(CollectionStatistics collectionStats, TermStatistics termStats)` Computes a score factor for a simple term and returns an explanation for that score factor.
    `Explanation` | TFIDFSimilarity.`idfExplain(CollectionStatistics collectionStats, TermStatistics termStats)` Computes a score factor for a simple term and returns an explanation for that score factor.
    `Explanation` | BM25Similarity.`idfExplain(CollectionStatistics collectionStats, TermStatistics[] termStats)` Computes a score factor for a phrase.
    `Explanation` | TFIDFSimilarity.`idfExplain(CollectionStatistics collectionStats, TermStatistics[] termStats)` Computes a score factor for a phrase.

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