Uses of Class
org.apache.lucene.search.Weight
-
Packages that use Weight Package Description org.apache.lucene.search Code to search indices.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 Modifier and Type Class Description classConstantScoreWeightA Weight that has a constant score equal to the boost of the wrapped query.protected classDisjunctionMaxQuery.DisjunctionMaxWeightExpert: the Weight for DisjunctionMaxQuery, used to normalize, score and explain these queries.classFilterWeightAFilterWeightcontains anotherWeightand implements all abstract methods by calling the contained weight's method.Fields in org.apache.lucene.search declared as Weight Modifier and Type Field Description protected WeightFilterWeight. inprotected WeightScorer. weightthe Scorer's parent Weight.Fields in org.apache.lucene.search with type parameters of type Weight Modifier and Type Field Description protected ArrayList<Weight>DisjunctionMaxQuery.DisjunctionMaxWeight. weightsThe Weights for our subqueries, in 1-1 correspondence with disjunctsMethods in org.apache.lucene.search that return Weight Modifier and Type Method Description WeightIndexSearcher. createNormalizedWeight(Query query, boolean needsScores)Deprecated.Clients should rewrite the query and then callIndexSearcher.createWeight(Query, boolean, float)with a boost value of 1fWeightBooleanQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)WeightBoostQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)WeightConstantScoreQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)WeightDisjunctionMaxQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)Create the Weight used to score usWeightDocValuesFieldExistsQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)WeightIndexOrDocValuesQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)WeightIndexSearcher. createWeight(Query query, boolean needsScores, float boost)Creates aWeightfor the given query, potentially adding caching if possible and configured.WeightMatchAllDocsQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)WeightMatchNoDocsQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)WeightMultiPhraseQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)WeightNormsFieldExistsQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)WeightPhraseQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)WeightPointInSetQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)WeightPointRangeQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)WeightQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)Expert: Constructs an appropriate Weight implementation for this query.WeightSynonymQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)WeightTermInSetQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)WeightTermQuery. createWeight(IndexSearcher searcher, boolean needsScores, float boost)WeightLRUQueryCache. doCache(Weight weight, QueryCachingPolicy policy)WeightQueryCache. doCache(Weight weight, QueryCachingPolicy policy)Return a wrapper around the providedweightthat will cache matching docs per-segment accordingly to the givenpolicy.WeightScorer. getWeight()returns parent WeightMethods in org.apache.lucene.search with parameters of type Weight Modifier and Type Method Description WeightLRUQueryCache. doCache(Weight weight, QueryCachingPolicy policy)WeightQueryCache. doCache(Weight weight, QueryCachingPolicy policy)Return a wrapper around the providedweightthat will cache matching docs per-segment accordingly to the givenpolicy.protected ExplanationIndexSearcher. explain(Weight weight, int doc)Expert: low-level implementation method Returns an Explanation that describes howdocscored againstweight.protected voidIndexSearcher. search(List<LeafReaderContext> leaves, Weight weight, Collector collector)Lower-level search API.Constructors in org.apache.lucene.search with parameters of type Weight Constructor Description ConstantBulkScorer(BulkScorer bulkScorer, Weight weight, float theScore)ConstantScoreScorer(Weight weight, float score, DocIdSetIterator disi)Constructor based on aDocIdSetIteratorwhich will be used to drive iteration.ConstantScoreScorer(Weight weight, float score, TwoPhaseIterator twoPhaseIterator)Constructor based on aTwoPhaseIterator.FilterScorer(Scorer in, Weight weight)Create a new FilterScorer with a specific weightFilterWeight(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 Modifier and Type Class Description classSpanContainingQuery.SpanContainingWeightclassorg.apache.lucene.search.spans.SpanContainQuery.SpanContainWeightclassSpanNearQuery.SpanNearWeightclassSpanNotQuery.SpanNotWeightclassSpanOrQuery.SpanOrWeightclassSpanPositionCheckQuery.SpanPositionCheckWeightclassSpanTermQuery.SpanTermWeightclassSpanWeightExpert-only.classSpanWithinQuery.SpanWithinWeight
-