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

Packages that use Weight
org.apache.lucene.search: Code to search indices.
org.apache.lucene.search.function: Programmatic control over documents scores.
org.apache.lucene.search.payloads: The payloads package provides Query mechanisms for finding and using payloads.
org.apache.lucene.search.spans: The calculus of spans.

Uses of Weight in org.apache.lucene.search

Classes in org.apache.lucene.search that implement Weight
`protected class` `ConstantScoreQuery.ConstantWeight`

Methods in org.apache.lucene.search that return Weight
`protected Weight` `Searcher.createWeight(Query query)` creates a weight for `query`
`protected Weight` `MultiSearcher.createWeight(Query original)` Create weight in multiple index scenario.
`protected Weight` `TermQuery.createWeight(Searcher searcher)`
`protected Weight` `FilteredQuery.createWeight(Searcher searcher)` Returns a Weight that applies the filter to the enclosed query's Weight.
`protected Weight` `MatchAllDocsQuery.createWeight(Searcher searcher)`
`protected Weight` `Query.createWeight(Searcher searcher)` Expert: Constructs an appropriate Weight implementation for this query.
`protected Weight` `ConstantScoreQuery.createWeight(Searcher searcher)`
`protected Weight` `MultiPhraseQuery.createWeight(Searcher searcher)`
`protected Weight` `PhraseQuery.createWeight(Searcher searcher)`
`protected Weight` `BooleanQuery.createWeight(Searcher searcher)`
`protected Weight` `DisjunctionMaxQuery.createWeight(Searcher searcher)`
`Weight` `Query.weight(Searcher searcher)` Expert: Constructs and initializes a Weight for a top-level query.

Methods in org.apache.lucene.search with parameters of type Weight
`Explanation` `RemoteSearchable.explain(Weight weight, int doc)`
`Explanation` `IndexSearcher.explain(Weight weight, int doc)`
`Explanation` `Searchable.explain(Weight weight, int doc)` Expert: low-level implementation method Returns an Explanation that describes how `doc` scored against `weight`.
`abstract Explanation` `Searcher.explain(Weight weight, int doc)`
`Explanation` `MultiSearcher.explain(Weight weight, int doc)`
`void` `RemoteSearchable.search(Weight weight, Filter filter, HitCollector results)`
`void` `IndexSearcher.search(Weight weight, Filter filter, HitCollector results)`
`void` `Searchable.search(Weight weight, Filter filter, HitCollector results)` Lower-level search API.
`abstract void` `Searcher.search(Weight weight, Filter filter, HitCollector results)`
`void` `ParallelMultiSearcher.search(Weight weight, Filter filter, HitCollector results)` Lower-level search API.
`void` `MultiSearcher.search(Weight weight, Filter filter, HitCollector results)`
`TopDocs` `RemoteSearchable.search(Weight weight, Filter filter, int n)`
`TopDocs` `IndexSearcher.search(Weight weight, Filter filter, int nDocs)`
`TopDocs` `Searchable.search(Weight weight, Filter filter, int n)` Expert: Low-level search implementation.
`abstract TopDocs` `Searcher.search(Weight weight, Filter filter, int n)`
`TopDocs` `ParallelMultiSearcher.search(Weight weight, Filter filter, int nDocs)` A search implementation which spans a new thread for each Searchable, waits for each search to complete and merge the results back together.
`TopDocs` `MultiSearcher.search(Weight weight, Filter filter, int nDocs)`
`TopFieldDocs` `RemoteSearchable.search(Weight weight, Filter filter, int n, Sort sort)`
`TopFieldDocs` `IndexSearcher.search(Weight weight, Filter filter, int nDocs, Sort sort)`
`TopFieldDocs` `Searchable.search(Weight weight, Filter filter, int n, Sort sort)` Expert: Low-level search implementation with arbitrary sorting.
`abstract TopFieldDocs` `Searcher.search(Weight weight, Filter filter, int n, Sort sort)`
`TopFieldDocs` `ParallelMultiSearcher.search(Weight weight, Filter filter, int nDocs, Sort sort)` A search implementation allowing sorting which spans a new thread for each Searchable, waits for each search to complete and merges the results back together.
`TopFieldDocs` `MultiSearcher.search(Weight weight, Filter filter, int n, Sort sort)`

Constructors in org.apache.lucene.search with parameters of type Weight
`ConstantScoreQuery.ConstantScorer(Similarity similarity, IndexReader reader, Weight w)`

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

Methods in org.apache.lucene.search.function that return Weight
`protected Weight` `CustomScoreQuery.createWeight(Searcher searcher)`
`protected Weight` `ValueSourceQuery.createWeight(Searcher searcher)`

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

Classes in org.apache.lucene.search.payloads that implement Weight
`protected class` `BoostingTermQuery.BoostingTermWeight`

Methods in org.apache.lucene.search.payloads that return Weight
`protected Weight` `BoostingTermQuery.createWeight(Searcher searcher)`

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

Classes in org.apache.lucene.search.spans that implement Weight
`class` `SpanWeight` Expert-only.

Fields in org.apache.lucene.search.spans declared as Weight
`protected Weight` `SpanScorer.weight`

Methods in org.apache.lucene.search.spans that return Weight
`protected Weight` `SpanQuery.createWeight(Searcher searcher)`

Constructors in org.apache.lucene.search.spans with parameters of type Weight
`SpanScorer(Spans spans, Weight weight, Similarity similarity, byte[] norms)`

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