## Uses of Class
org.apache.lucene.search.similarities.Similarity.SimWeight

- Packages that use Similarity.SimWeight
  Package | Description
  --- | ---
  org.apache.lucene.search.similarities | This package contains the various ranking models that can be used in Lucene.
  org.apache.lucene.search.spans | The calculus of spans.

- - ### Uses of Similarity.SimWeight in org.apache.lucene.search.similarities

    Subclasses of Similarity.SimWeight in org.apache.lucene.search.similarities
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BasicStats` Stores all statistics commonly used ranking methods.
    `static class` | `LMSimilarity.LMStats` Stores the collection distribution of the current term.

    Methods in org.apache.lucene.search.similarities that return Similarity.SimWeight
    Modifier and Type | Method and Description
    --- | ---
    `Similarity.SimWeight` | PerFieldSimilarityWrapper.`computeWeight(CollectionStatistics collectionStats, TermStatistics... termStats)`
    `Similarity.SimWeight` | BooleanSimilarity.`computeWeight(CollectionStatistics collectionStats, TermStatistics... termStats)`
    `Similarity.SimWeight` | TFIDFSimilarity.`computeWeight(CollectionStatistics collectionStats, TermStatistics... termStats)`
    `Similarity.SimWeight` | SimilarityBase.`computeWeight(CollectionStatistics collectionStats, TermStatistics... termStats)`
    `Similarity.SimWeight` | MultiSimilarity.`computeWeight(CollectionStatistics collectionStats, TermStatistics... termStats)`
    `Similarity.SimWeight` | BM25Similarity.`computeWeight(CollectionStatistics collectionStats, TermStatistics... termStats)`
    `abstract Similarity.SimWeight` | Similarity.`computeWeight(CollectionStatistics collectionStats, TermStatistics... termStats)` Compute any collection-level weight (e.g.

    Methods in org.apache.lucene.search.similarities with parameters of type Similarity.SimWeight
    Modifier and Type | Method and Description
    --- | ---
    `Similarity.SimScorer` | PerFieldSimilarityWrapper.`simScorer(Similarity.SimWeight weight, LeafReaderContext context)`
    `Similarity.SimScorer` | BooleanSimilarity.`simScorer(Similarity.SimWeight weight, LeafReaderContext context)`
    `Similarity.SimScorer` | TFIDFSimilarity.`simScorer(Similarity.SimWeight stats, LeafReaderContext context)`
    `Similarity.SimScorer` | SimilarityBase.`simScorer(Similarity.SimWeight stats, LeafReaderContext context)`
    `Similarity.SimScorer` | MultiSimilarity.`simScorer(Similarity.SimWeight stats, LeafReaderContext context)`
    `Similarity.SimScorer` | BM25Similarity.`simScorer(Similarity.SimWeight stats, LeafReaderContext context)`
    `abstract Similarity.SimScorer` | Similarity.`simScorer(Similarity.SimWeight weight, LeafReaderContext context)` Creates a new `Similarity.SimScorer` to score matching documents from a segment of the inverted index.

  - ### Uses of Similarity.SimWeight in org.apache.lucene.search.spans

    Fields in org.apache.lucene.search.spans declared as Similarity.SimWeight
    Modifier and Type | Field and Description
    --- | ---
    `protected Similarity.SimWeight` | SpanWeight.`simWeight`

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