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

Packages that use Weight
org.apache.lucene.document: The logical representation of a `Document` for indexing and searching.
org.apache.lucene.search: Code to search indices.
org.apache.lucene.search.spans: The calculus of spans.

### Uses of Weight in org.apache.lucene.document

Methods in org.apache.lucene.document that return Weight
`Weight` LatLonDocValuesPointInPolygonQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`

### Uses of Weight in org.apache.lucene.search

Subclasses of Weight in org.apache.lucene.search
`class` `ConstantScoreWeight` A Weight that has a constant score equal to the boost of the wrapped query.
`protected class` `DisjunctionMaxQuery.DisjunctionMaxWeight` Expert: the Weight for DisjunctionMaxQuery, used to normalize, score and explain these queries.
`class` `FilterWeight` A `FilterWeight` contains another `Weight` and implements all abstract methods by calling the contained weight's method.

Fields in org.apache.lucene.search declared as Weight
`protected Weight` FilterWeight.`in`
`protected Weight` Scorer.`weight` the Scorer's parent Weight

Fields in org.apache.lucene.search with type parameters of type Weight
`protected ArrayList<Weight>` DisjunctionMaxQuery.DisjunctionMaxWeight.`weights` The Weights for our subqueries, in 1-1 correspondence with disjuncts

Methods in org.apache.lucene.search that return Weight
`Weight` DisjunctionMaxQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)` Create the Weight used to score us
`Weight` PhraseQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`
`Weight` NormsFieldExistsQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`
`Weight` PointRangeQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`
`Weight` ConstantScoreQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`
`Weight` BoostQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`
`Weight` MatchAllDocsQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`
`Weight` IndexOrDocValuesQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`
`Weight` BooleanQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`
`Weight` PointInSetQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`
`Weight` DocValuesFieldExistsQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`
`Weight` SynonymQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`
`Weight` Query.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)` Expert: Constructs an appropriate Weight implementation for this query.
`Weight` MultiPhraseQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`
`Weight` MatchNoDocsQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`
`Weight` TermInSetQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`
`Weight` TermQuery.`createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)`
`Weight` IndexSearcher.`createWeight(Query query, ScoreMode scoreMode, float boost)` Creates a `Weight` for the given query, potentially adding caching if possible and configured.
`Weight` QueryCache.`doCache(Weight weight, QueryCachingPolicy policy)` Return a wrapper around the provided `weight` that will cache matching docs per-segment accordingly to the given `policy`.
`Weight` LRUQueryCache.`doCache(Weight weight, QueryCachingPolicy policy)`
`Weight` Scorer.`getWeight()` returns parent Weight

Methods in org.apache.lucene.search with parameters of type Weight
`Weight` QueryCache.`doCache(Weight weight, QueryCachingPolicy policy)` Return a wrapper around the provided `weight` that will cache matching docs per-segment accordingly to the given `policy`.
`Weight` LRUQueryCache.`doCache(Weight weight, QueryCachingPolicy policy)`
`protected Explanation` IndexSearcher.`explain(Weight weight, int doc)` Expert: low-level implementation method Returns an Explanation that describes how `doc` scored against `weight`.
`protected void` IndexSearcher.`search(List<LeafReaderContext> leaves, Weight weight, Collector collector)` Lower-level search API.

Constructors in org.apache.lucene.search with parameters of type Weight
Constructor and Description
`ConstantBulkScorer(BulkScorer bulkScorer, Weight weight, float theScore)`
`ConstantScoreScorer(Weight weight, float score, ScoreMode scoreMode, DocIdSetIterator disi)` Constructor based on a `DocIdSetIterator` which will be used to drive iteration.
`ConstantScoreScorer(Weight weight, float score, ScoreMode scoreMode, TwoPhaseIterator twoPhaseIterator)` Constructor based on a `TwoPhaseIterator`.
`FilterScorer(Scorer in, Weight weight)` Create a new FilterScorer with a specific weight
`FilterWeight(Query query, Weight weight)` Alternative constructor.
`FilterWeight(Weight weight)` Default constructor.
`Scorer(Weight weight)` Constructs a Scorer

### Uses of Weight in org.apache.lucene.search.spans

Subclasses of Weight in org.apache.lucene.search.spans
`class` `SpanContainingQuery.SpanContainingWeight`
`class` `org.apache.lucene.search.spans.SpanContainQuery.SpanContainWeight`
`class` `SpanNearQuery.SpanNearWeight`
`class` `SpanNotQuery.SpanNotWeight`
`class` `SpanOrQuery.SpanOrWeight`
`class` `SpanPositionCheckQuery.SpanPositionCheckWeight`
`class` `SpanTermQuery.SpanTermWeight`
`class` `SpanWeight` Expert-only.
`class` `SpanWithinQuery.SpanWithinWeight`