Uses of Class
org.apache.lucene.search.Weight
-
Packages that use Weight Package Description org.apache.lucene.document The logical representation of aDocumentfor indexing and searching.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.monitor Monitoring frameworkorg.apache.lucene.queries.function Queries that compute score based upon a function.org.apache.lucene.queries.function.docvalues FunctionValues for different data types.org.apache.lucene.queries.function.valuesource A variety of functions to use with FunctionQuery.org.apache.lucene.queries.intervals Intervals queriesorg.apache.lucene.queries.payloads The payloads package provides Query mechanisms for finding and using payloads.org.apache.lucene.search Code to search indices.org.apache.lucene.search.grouping Grouping.org.apache.lucene.search.join Support for index-time and query-time joins.org.apache.lucene.search.spans The calculus of spans.org.apache.lucene.search.suggest.document Support for document suggestion -
-
Uses of Weight in org.apache.lucene.document
Methods in org.apache.lucene.document that return Weight Modifier and Type Method Description WeightBinaryRangeFieldRangeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightFeatureQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightLatLonDocValuesBoxQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightLatLonDocValuesQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightLatLonPointDistanceFeatureQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightLatLonPointDistanceQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightLongDistanceFeatureQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightRangeFieldQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightSortedNumericDocValuesRangeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightSortedSetDocValuesRangeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightSpatialQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightXYDocValuesPointInGeometryQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightXYPointInGeometryQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)Methods in org.apache.lucene.document with parameters of type Weight Modifier and Type Method Description private ScorerSpatialQuery.RelationScorerSupplier. getContainsDenseScorer(LeafReader reader, Weight weight, float boost, ScoreMode scoreMode)private ScorerSpatialQuery.RelationScorerSupplier. getDenseScorer(LeafReader reader, Weight weight, float boost, ScoreMode scoreMode)Scorer used for WITHIN and DISJOINTprotected ScorerSpatialQuery.RelationScorerSupplier. getScorer(LeafReader reader, Weight weight, float boost, ScoreMode scoreMode)private ScorerSpatialQuery.RelationScorerSupplier. getSparseScorer(LeafReader reader, Weight weight, float boost, ScoreMode scoreMode)Scorer used for INTERSECTS and single value pointsConstructors in org.apache.lucene.document with parameters of type Weight Constructor Description DistanceScorer(Weight weight, int maxDoc, long leadCost, float boost, PointValues pointValues, NumericDocValues docValues)DistanceScorer(Weight weight, int maxDoc, long leadCost, float boost, PointValues pointValues, NumericDocValues docValues) -
Uses of Weight in org.apache.lucene.index
Constructors in org.apache.lucene.index with parameters of type Weight Constructor Description DocumentFilteredLeafIndexReader(LeafReaderContext context, Weight preserveWeight, boolean negateFilter) -
Uses of Weight in org.apache.lucene.monitor
Methods in org.apache.lucene.monitor that return Weight Modifier and Type Method Description WeightForceNoBulkScoringQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) -
Uses of Weight in org.apache.lucene.queries.function
Subclasses of Weight in org.apache.lucene.queries.function Modifier and Type Class Description protected classFunctionQuery.FunctionWeightprivate classFunctionRangeQuery.FunctionRangeWeightprivate static classFunctionScoreQuery.FunctionScoreWeightFields in org.apache.lucene.queries.function declared as Weight Modifier and Type Field Description (package private) WeightFunctionScoreQuery.FunctionScoreWeight. innerMethods in org.apache.lucene.queries.function that return Weight Modifier and Type Method Description WeightFunctionMatchQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightFunctionQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightFunctionRangeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightFunctionScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)Methods in org.apache.lucene.queries.function with parameters of type Weight Modifier and Type Method Description ValueSourceScorerFunctionValues. getRangeScorer(Weight weight, LeafReaderContext readerContext, java.lang.String lowerVal, java.lang.String upperVal, boolean includeLower, boolean includeUpper)Yields aScorerthat matches documents with values between the specified range, and that which produces scores equal toFunctionValues.floatVal(int).ValueSourceScorerFunctionValues. getScorer(Weight weight, LeafReaderContext readerContext)Yields aScorerthat matches all documents, and that which produces scores equal toFunctionValues.floatVal(int).Constructors in org.apache.lucene.queries.function with parameters of type Weight Constructor Description FunctionScoreWeight(Query query, Weight inner, DoubleValuesSource valueSource, float boost)ValueSourceScorer(Weight weight, LeafReaderContext readerContext, FunctionValues values) -
Uses of Weight in org.apache.lucene.queries.function.docvalues
Methods in org.apache.lucene.queries.function.docvalues with parameters of type Weight Modifier and Type Method Description ValueSourceScorerDocTermsIndexDocValues. getRangeScorer(Weight weight, LeafReaderContext readerContext, java.lang.String lowerVal, java.lang.String upperVal, boolean includeLower, boolean includeUpper)ValueSourceScorerDoubleDocValues. getRangeScorer(Weight weight, LeafReaderContext readerContext, java.lang.String lowerVal, java.lang.String upperVal, boolean includeLower, boolean includeUpper)ValueSourceScorerIntDocValues. getRangeScorer(Weight weight, LeafReaderContext readerContext, java.lang.String lowerVal, java.lang.String upperVal, boolean includeLower, boolean includeUpper)ValueSourceScorerLongDocValues. getRangeScorer(Weight weight, LeafReaderContext readerContext, java.lang.String lowerVal, java.lang.String upperVal, boolean includeLower, boolean includeUpper) -
Uses of Weight in org.apache.lucene.queries.function.valuesource
Fields in org.apache.lucene.queries.function.valuesource declared as Weight Modifier and Type Field Description (package private) WeightQueryDocValues. weight -
Uses of Weight in org.apache.lucene.queries.intervals
Subclasses of Weight in org.apache.lucene.queries.intervals Modifier and Type Class Description private classIntervalQuery.IntervalWeightMethods in org.apache.lucene.queries.intervals that return Weight Modifier and Type Method Description WeightIntervalQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)Constructors in org.apache.lucene.queries.intervals with parameters of type Weight Constructor Description IntervalScorer(Weight weight, IntervalIterator intervals, int minExtent, float boost, IntervalScoreFunction scoreFunction) -
Uses of Weight in org.apache.lucene.queries.payloads
Subclasses of Weight in org.apache.lucene.queries.payloads Modifier and Type Class Description private classPayloadScoreQuery.PayloadSpanWeightclassSpanPayloadCheckQuery.SpanPayloadCheckWeightWeight that pulls its Spans using a PayloadSpanCollector -
Uses of Weight in org.apache.lucene.search
Subclasses of Weight in org.apache.lucene.search Modifier and Type Class Description (package private) classBM25FQuery.BM25FWeight(package private) classBooleanWeightExpert: the Weight for BooleanQuery, used to normalize, score and explain these queries.classConstantScoreWeightA Weight that has a constant score equal to the boost of the wrapped query.private static classCoveringQuery.CoveringWeightprotected 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.private classLRUQueryCache.CachingWrapperWeight(package private) classPhraseWeight(package private) classSynonymQuery.SynonymWeight(package private) classTermAutomatonQuery.TermAutomatonWeight(package private) classTermQuery.TermWeightFields in org.apache.lucene.search declared as Weight Modifier and Type Field Description protected WeightFilterWeight. inprivate WeightLRUQueryCache.CachingWrapperWeight. inprivate WeightBoolean2ScorerSupplier. weight(package private) WeightBooleanWeight.WeightedBooleanClause. weight(package private) WeightConstantScoreQuery.ConstantBulkScorer. weightprivate WeightDoubleValuesSource.WeightDoubleValuesSource. weight(package private) WeightMultiTermQueryConstantScoreWrapper.WeightOrDocIdSet. weightprotected WeightScorer. weightthe Scorer's parent Weight(package private) WeightTermInSetQuery.WeightOrDocIdSet. weightFields in org.apache.lucene.search with type parameters of type Weight Modifier and Type Field Description private java.util.Collection<Weight>CoveringQuery.CoveringWeight. weightsprotected java.util.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 WeightBM25FQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)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)WeightDocValuesNumbersQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightDocValuesRewriteMethod.MultiTermQueryDocValuesWrapper. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightDocValuesTermsQuery. 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.WeightIndexSortSortedNumericDocValuesRangeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightMatchAllDocsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightMatchNoDocsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightMultiPhraseQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightMultiRangeQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightMultiTermQueryConstantScoreWrapper. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightNamedMatches.NamedQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightNormsFieldExistsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightPhraseQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightPhraseWildcardQuery. 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)WeightTermAutomatonQuery. 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.protected WeightPhraseWildcardQuery. earlyStopWeight()WeightScorer. getWeight()returns parent Weightprotected WeightPhraseWildcardQuery. noMatchWeight()Methods 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(java.util.List<LeafReaderContext> leaves, Weight weight, Collector collector)Lower-level search API.Constructors in org.apache.lucene.search with parameters of type Weight Constructor Description BlockMaxConjunctionScorer(Weight weight, java.util.Collection<Scorer> scorersList)Create a newBlockMaxConjunctionScorerfrom scoring clauses.BM25FScorer(Weight weight, DisiPriorityQueue queue, DocIdSetIterator iterator, MultiNormsLeafSimScorer simScorer)Boolean2ScorerSupplier(Weight weight, java.util.Map<BooleanClause.Occur,java.util.Collection<ScorerSupplier>> subs, ScoreMode scoreMode, int minShouldMatch)CachingWrapperWeight(Weight in, QueryCachingPolicy policy)ConjunctionScorer(Weight weight, java.util.Collection<Scorer> required, java.util.Collection<Scorer> scorers)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.CoveringScorer(Weight weight, java.util.Collection<Scorer> scorers, LongValues minMatchValues, int maxDoc)DisjunctionMaxScorer(Weight weight, float tieBreakerMultiplier, java.util.List<Scorer> subScorers, ScoreMode scoreMode)Creates a new instance of DisjunctionMaxScorerDisjunctionScorer(Weight weight, java.util.List<Scorer> subScorers, ScoreMode scoreMode)DisjunctionSumScorer(Weight weight, java.util.List<Scorer> subScorers, ScoreMode scoreMode)Construct aDisjunctionScorer.FilterScorer(Scorer in, Weight weight)Create a new FilterScorer with a specific weightFilterWeight(Query query, Weight weight)Alternative constructor.FilterWeight(Weight weight)Default constructor.MinShouldMatchSumScorer(Weight weight, java.util.Collection<Scorer> scorers, int minShouldMatch)PhraseScorer(Weight weight, PhraseMatcher matcher, ScoreMode scoreMode, LeafSimScorer simScorer)Scorer(Weight weight)Constructs a ScorerSynonymScorer(Weight weight, DisiPriorityQueue queue, DocIdSetIterator iterator, ImpactsDISI impactsDisi, LeafSimScorer simScorer)TermScorer(Weight weight, ImpactsEnum impactsEnum, LeafSimScorer docScorer)Construct aTermScorerthat will use impacts to skip blocks of non-competitive documents.TermScorer(Weight weight, PostingsEnum postingsEnum, LeafSimScorer docScorer)Construct aTermScorerthat will iterate all documents.WANDScorer(Weight weight, java.util.Collection<Scorer> scorers, int minShouldMatch)WeightDoubleValuesSource(Weight weight)WeightedBooleanClause(BooleanClause clause, Weight weight)WeightOrDocIdSet(Weight weight)WeightOrDocIdSet(Weight weight)Constructor parameters in org.apache.lucene.search with type arguments of type Weight Constructor Description CoveringWeight(Query query, java.util.Collection<Weight> weights, LongValuesSource minimumNumberMatch) -
Uses of Weight in org.apache.lucene.search.grouping
Fields in org.apache.lucene.search.grouping declared as Weight Modifier and Type Field Description private WeightBlockGroupingCollector. lastDocPerGroupConstructors in org.apache.lucene.search.grouping with parameters of type Weight Constructor Description BlockGroupingCollector(Sort groupSort, int topNGroups, boolean needsScores, Weight lastDocPerGroup)Create the single pass collector. -
Uses of Weight in org.apache.lucene.search.join
Subclasses of Weight in org.apache.lucene.search.join Modifier and Type Class Description (package private) classGlobalOrdinalsQuery.W(package private) classGlobalOrdinalsWithScoreQuery.Wprivate static classToChildBlockJoinQuery.ToChildBlockJoinWeightprivate static classToParentBlockJoinQuery.BlockJoinWeightFields in org.apache.lucene.search.join declared as Weight Modifier and Type Field Description private WeightGlobalOrdinalsQuery.W. approximationWeightMethods in org.apache.lucene.search.join that return Weight Modifier and Type Method Description WeightGlobalOrdinalsQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightGlobalOrdinalsWithScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightParentChildrenBlockJoinQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightPointInSetIncludingScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightTermsIncludingScoreQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightToChildBlockJoinQuery. createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)WeightToParentBlockJoinQuery. createWeight(IndexSearcher searcher, ScoreMode weightScoreMode, float boost)Methods in org.apache.lucene.search.join with parameters of type Weight Modifier and Type Method Description ExplanationToParentBlockJoinQuery.BlockJoinScorer. explain(LeafReaderContext context, Weight childWeight)Constructors in org.apache.lucene.search.join with parameters of type Weight Constructor Description BaseGlobalOrdinalScorer(Weight weight, SortedDocValues values, DocIdSetIterator approximationScorer)BlockJoinScorer(Weight weight, Scorer childScorer, BitSet parentBits, ScoreMode scoreMode)BlockJoinWeight(Query joinQuery, Weight childWeight, BitSetProducer parentsFilter, ScoreMode scoreMode)MVInOrderScorer(Weight weight, TermsEnum termsEnum, int maxDoc, long cost)OrdinalMapScorer(Weight weight, float score, LongBitSet foundOrds, SortedDocValues values, DocIdSetIterator approximationScorer, LongValues segmentOrdToGlobalOrdLookup)OrdinalMapScorer(Weight weight, GlobalOrdinalsWithScoreCollector collector, SortedDocValues values, DocIdSetIterator approximation, LongValues segmentOrdToGlobalOrdLookup)SegmentOrdinalScorer(Weight weight, float score, LongBitSet foundOrds, SortedDocValues values, DocIdSetIterator approximationScorer)SegmentOrdinalScorer(Weight weight, GlobalOrdinalsWithScoreCollector collector, SortedDocValues values, DocIdSetIterator approximation)SVInOrderScorer(Weight weight, TermsEnum termsEnum, int maxDoc, long cost)ToChildBlockJoinScorer(Weight weight, Scorer parentScorer, BitSet parentBits, boolean doScores)ToChildBlockJoinWeight(Query joinQuery, Weight parentWeight, BitSetProducer parentsFilter, boolean doScores)W(Query query, Weight approximationWeight, float boost)W(Query query, Weight approximationWeight) -
Uses of Weight in org.apache.lucene.search.spans
Subclasses of Weight in org.apache.lucene.search.spans Modifier and Type Class Description classSpanContainingQuery.SpanContainingWeightclassSpanContainQuery.SpanContainWeightprivate classSpanNearQuery.SpanGapQuery.SpanGapWeightclassSpanNearQuery.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.private static classContextQuery.ContextCompletionWeightprivate static classFuzzyCompletionQuery.FuzzyCompletionWeightMethods 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)
-