Uses of Class
org.apache.lucene.search.Weight
-
-
Uses of Weight in org.apache.lucene.document
Methods in org.apache.lucene.document that return Weight Modifier and Type Method Description WeightLatLonDocValuesPointInPolygonQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of Weight in org.apache.lucene.queries
Methods in org.apache.lucene.queries that return Weight Modifier and Type Method Description WeightBinaryDocValuesRangeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightMinDocQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightSearchAfterSortedDocQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of Weight in org.apache.lucene.queries.function
Methods in org.apache.lucene.queries.function that return Weight Modifier and Type Method Description WeightFunctionScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of Weight in org.apache.lucene.queries.intervals
Methods in org.apache.lucene.queries.intervals that return Weight Modifier and Type Method Description WeightIntervalQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
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 WeightFields 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 WeightBooleanQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightBoostQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightConstantScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightCoveringQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightDisjunctionMaxQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)Create the Weight used to score usWeightDocValuesFieldExistsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightIndexOrDocValuesQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightIndexSearcher. createWeight(Query query, ScoreMode scoreMode, float boost)Creates aWeightfor the given query, potentially adding caching if possible and configured.WeightMatchAllDocsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightMatchNoDocsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightMultiPhraseQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightNormsFieldExistsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightPhraseQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightPointInSetQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightPointRangeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)Expert: Constructs an appropriate Weight implementation for this query.WeightSynonymQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightTermInSetQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightTermQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, 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, ScoreMode scoreMode, DocIdSetIterator disi)Constructor based on aDocIdSetIteratorwhich will be used to drive iteration.ConstantScoreScorer(Weight weight, float score, ScoreMode scoreMode, 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.join
Methods in org.apache.lucene.search.join that return Weight Modifier and Type Method Description WeightParentChildrenBlockJoinQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightToChildBlockJoinQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightToParentBlockJoinQuery. createWeight(IndexSearcher searcher, ScoreMode weightScoreMode, float boost) -
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 -
Uses of Weight in org.apache.lucene.search.suggest.document
Subclasses of Weight in org.apache.lucene.search.suggest.document Modifier and Type Class Description classCompletionWeightExpert: the Weight for CompletionQuery, used to score and explain these queries.Methods in org.apache.lucene.search.suggest.document that return Weight Modifier and Type Method Description WeightContextQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightFuzzyCompletionQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightPrefixCompletionQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightRegexCompletionQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of Weight in org.apache.lucene.spatial.prefix
Methods in org.apache.lucene.spatial.prefix that return Weight Modifier and Type Method Description WeightAbstractPrefixTreeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of Weight in org.elasticsearch.common.lucene.search
Constructors in org.elasticsearch.common.lucene.search with parameters of type Weight Constructor Description FilteredCollector(Collector collector, Weight filter) -
Uses of Weight in org.elasticsearch.common.lucene.search.function
Methods in org.elasticsearch.common.lucene.search.function that return Weight Modifier and Type Method Description WeightFunctionScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightScriptScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of Weight in org.elasticsearch.index.cache.query
Methods in org.elasticsearch.index.cache.query that return Weight Modifier and Type Method Description WeightDisabledQueryCache. doCache(Weight weight, QueryCachingPolicy policy)WeightIndexQueryCache. doCache(Weight weight, QueryCachingPolicy policy)Methods in org.elasticsearch.index.cache.query with parameters of type Weight Modifier and Type Method Description WeightDisabledQueryCache. doCache(Weight weight, QueryCachingPolicy policy)WeightIndexQueryCache. doCache(Weight weight, QueryCachingPolicy policy) -
Uses of Weight in org.elasticsearch.index.search
Methods in org.elasticsearch.index.search that return Weight Modifier and Type Method Description WeightESToParentBlockJoinQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of Weight in org.elasticsearch.indices
Methods in org.elasticsearch.indices that return Weight Modifier and Type Method Description WeightIndicesQueryCache. doCache(Weight weight, QueryCachingPolicy policy)Methods in org.elasticsearch.indices with parameters of type Weight Modifier and Type Method Description WeightIndicesQueryCache. doCache(Weight weight, QueryCachingPolicy policy) -
Uses of Weight in org.elasticsearch.search.aggregations.bucket.adjacency
Constructors in org.elasticsearch.search.aggregations.bucket.adjacency with parameters of type Weight Constructor Description AdjacencyMatrixAggregator(String name, AggregatorFactories factories, String separator, String[] keys, Weight[] filters, SearchContext context, Aggregator parent, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) -
Uses of Weight in org.elasticsearch.search.aggregations.bucket.filter
Methods in org.elasticsearch.search.aggregations.bucket.filter that return Weight Modifier and Type Method Description WeightFilterAggregatorFactory. getWeight()Returns theWeightfor this filter aggregation, creating it if necessary.Weight[]FiltersAggregatorFactory. getWeights(SearchContext searchContext)Returns theWeights for this filter aggregation, creating it if necessary.Constructor parameters in org.elasticsearch.search.aggregations.bucket.filter with type arguments of type Weight Constructor Description FilterAggregator(String name, Supplier<Weight> filter, AggregatorFactories factories, SearchContext context, Aggregator parent, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) -
Uses of Weight in org.elasticsearch.search.fetch.subphase
Methods in org.elasticsearch.search.fetch.subphase that return Weight Modifier and Type Method Description protected WeightInnerHitsContext.InnerHitSubContext. createInnerHitQueryWeight()Methods in org.elasticsearch.search.fetch.subphase with parameters of type Weight Modifier and Type Method Description static voidInnerHitsContext. intersect(Weight weight, Weight innerHitQueryWeight, Collector collector, LeafReaderContext ctx) -
Uses of Weight in org.elasticsearch.search.internal
Methods in org.elasticsearch.search.internal that return Weight Modifier and Type Method Description WeightContextIndexSearcher. createWeight(Query query, ScoreMode scoreMode, float boost)Methods in org.elasticsearch.search.internal with parameters of type Weight Modifier and Type Method Description protected voidContextIndexSearcher. search(List<LeafReaderContext> leaves, Weight weight, Collector collector) -
Uses of Weight in org.elasticsearch.search.profile.query
Subclasses of Weight in org.elasticsearch.search.profile.query Modifier and Type Class Description classProfileWeightConstructors in org.elasticsearch.search.profile.query with parameters of type Weight Constructor Description ProfileWeight(Query query, Weight subQueryWeight, QueryProfileBreakdown profile) -
Uses of Weight in org.elasticsearch.search.slice
Methods in org.elasticsearch.search.slice that return Weight Modifier and Type Method Description WeightDocValuesSliceQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightTermsSliceQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)
-