Uses of Class org.apache.lucene.search.Weight (Lucene 3.6.2 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
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

Subclasses of Weight in org.apache.lucene.search
`protected class` | `BooleanQuery.BooleanWeight` Expert: the Weight for BooleanQuery, used to normalize, score and explain these queries.
`protected class` | `ConstantScoreQuery.ConstantWeight`
`protected class` | `DisjunctionMaxQuery.DisjunctionMaxWeight` Expert: the Weight for DisjunctionMaxQuery, used to normalize, score and explain these queries.

Fields in org.apache.lucene.search declared as Weight
`protected Weight` | `Scorer.weight`

Fields in org.apache.lucene.search with type parameters of type Weight
`protected ArrayList<Weight>` | `BooleanQuery.BooleanWeight.weights`
`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` | `MultiSearcher.createNormalizedWeight(Query original)` Deprecated. Create weight in multiple index scenario.
`Weight` | `Searcher.createNormalizedWeight(Query query)` Deprecated. Creates a normalized weight for a top-level `Query`.
`Weight` | `IndexSearcher.createNormalizedWeight(Query query)` Creates a normalized weight for a top-level `Query`.
`protected Weight` | `Searcher.createWeight(Query query)` Deprecated. never ever use this method in `Weight` implementations. Subclasses of Searcher should use `Searcher.createNormalizedWeight(org.apache.lucene.search.Query)`, instead.
`Weight` | `FilteredQuery.createWeight(Searcher searcher)` Returns a Weight that applies the filter to the enclosed query's Weight.
`Weight` | `ConstantScoreQuery.createWeight(Searcher searcher)`
`Weight` | `MultiPhraseQuery.createWeight(Searcher searcher)`
`Weight` | `PhraseQuery.createWeight(Searcher searcher)`
`Weight` | `BooleanQuery.createWeight(Searcher searcher)`
`Weight` | `DisjunctionMaxQuery.createWeight(Searcher searcher)` Create the Weight used to score us
`Weight` | `TermQuery.createWeight(Searcher searcher)`
`Weight` | `MatchAllDocsQuery.createWeight(Searcher searcher)`
`Weight` | `Query.createWeight(Searcher searcher)` Expert: Constructs an appropriate Weight implementation for this query.
`Weight` | `Query.weight(Searcher searcher)` Deprecated. never ever use this method in `Weight` implementations. Subclasses of `Query` should use `Query.createWeight(org.apache.lucene.search.Searcher)`, instead.

Methods in org.apache.lucene.search with parameters of type Weight
`Explanation` | `MultiSearcher.explain(Weight weight, int doc)` Deprecated.
`Explanation` | `Searchable.explain(Weight weight, int doc)` Deprecated. Expert: low-level implementation method Returns an Explanation that describes how `doc` scored against `weight`.
`abstract Explanation` | `Searcher.explain(Weight weight, int doc)` Deprecated.
`Explanation` | `IndexSearcher.explain(Weight weight, int doc)` Expert: low-level implementation method Returns an Explanation that describes how `doc` scored against `weight`.
`void` | `MultiSearcher.search(Weight weight, Filter filter, Collector collector)` Deprecated.
`void` | `Searchable.search(Weight weight, Filter filter, Collector collector)` Deprecated. Lower-level search API.
`abstract void` | `Searcher.search(Weight weight, Filter filter, Collector results)` Deprecated.
`void` | `IndexSearcher.search(Weight weight, Filter filter, Collector collector)` Lower-level search API.
`void` | `ParallelMultiSearcher.search(Weight weight, Filter filter, Collector collector)` Deprecated. Lower-level search API.
`TopDocs` | `MultiSearcher.search(Weight weight, Filter filter, int nDocs)` Deprecated.
`TopDocs` | `Searchable.search(Weight weight, Filter filter, int n)` Deprecated. Expert: Low-level search implementation.
`abstract TopDocs` | `Searcher.search(Weight weight, Filter filter, int n)` Deprecated.
`TopDocs` | `IndexSearcher.search(Weight weight, Filter filter, int nDocs)` Expert: Low-level search implementation.
`TopDocs` | `ParallelMultiSearcher.search(Weight weight, Filter filter, int nDocs)` Deprecated. A search implementation which executes each `Searchable` in its own thread and waits for each search to complete and merge the results back together.
`TopFieldDocs` | `MultiSearcher.search(Weight weight, Filter filter, int n, Sort sort)` Deprecated.
`TopFieldDocs` | `Searchable.search(Weight weight, Filter filter, int n, Sort sort)` Deprecated. Expert: Low-level search implementation with arbitrary sorting.
`abstract TopFieldDocs` | `Searcher.search(Weight weight, Filter filter, int n, Sort sort)` Deprecated.
`TopFieldDocs` | `IndexSearcher.search(Weight weight, Filter filter, int nDocs, Sort sort)` Expert: Low-level search implementation with arbitrary sorting.
`TopFieldDocs` | `ParallelMultiSearcher.search(Weight weight, Filter filter, int nDocs, Sort sort)` Deprecated. 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.
`protected TopFieldDocs` | `IndexSearcher.search(Weight weight, Filter filter, int nDocs, Sort sort, boolean fillFields)` Just like `IndexSearcher.search(Weight, Filter, int, Sort)`, but you choose whether or not the fields in the returned `FieldDoc` instances should be set by specifying fillFields.
`protected TopDocs` | `IndexSearcher.search(Weight weight, Filter filter, ScoreDoc after, int nDocs)` Expert: Low-level search implementation.

Constructors in org.apache.lucene.search with parameters of type Weight
`ConstantScoreQuery.ConstantScorer(Similarity similarity, DocIdSetIterator docIdSetIterator, Weight w)`
`Scorer(Similarity similarity, Weight weight)` Deprecated. Use `Scorer.Scorer(Weight)` instead.
`Scorer(Weight weight)` Constructs a Scorer

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

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

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

Subclasses of Weight in org.apache.lucene.search.payloads
`class` | `PayloadNearQuery.PayloadNearSpanWeight`
`protected class` | `PayloadTermQuery.PayloadTermWeight`

Methods in org.apache.lucene.search.payloads that return Weight
`Weight` | `PayloadNearQuery.createWeight(Searcher searcher)`
`Weight` | `PayloadTermQuery.createWeight(Searcher searcher)`

Constructors in org.apache.lucene.search.payloads with parameters of type Weight
`PayloadNearQuery.PayloadNearSpanScorer(Spans spans, Weight weight, Similarity similarity, byte[] norms)`
`PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer(TermSpans spans, Weight weight, Similarity similarity, byte[] norms)`

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

Subclasses of Weight in org.apache.lucene.search.spans
`class` | `SpanWeight` Expert-only.

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

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES