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.function Programmatic control over documents scores.org.apache.lucene.search.join This modules support index-time and query-time joins.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 Modifier and Type Class Description protected classBooleanQuery.BooleanWeightExpert: the Weight for BooleanQuery, used to normalize, score and explain these queries.protected classConstantScoreQuery.ConstantWeightprotected classDisjunctionMaxQuery.DisjunctionMaxWeightExpert: the Weight for DisjunctionMaxQuery, used to normalize, score and explain these queries.Fields in org.apache.lucene.search declared as Weight Modifier and Type Field Description protected WeightScorer. weightFields in org.apache.lucene.search with type parameters of type Weight Modifier and Type Field Description protected ArrayList<Weight>BooleanQuery.BooleanWeight. weightsprotected 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 WeightAssertingIndexSearcher. createNormalizedWeight(Query query)Ensures, that the returnedWeightis not normalized again, which may produce wrong scores.WeightIndexSearcher. createNormalizedWeight(Query query)Creates a normalized weight for a top-levelQuery.WeightMultiSearcher. createNormalizedWeight(Query original)Deprecated.Create weight in multiple index scenario.WeightSearcher. createNormalizedWeight(Query query)Deprecated.Creates a normalized weight for a top-levelQuery.WeightBooleanQuery. createWeight(Searcher searcher)WeightConstantScoreQuery. createWeight(Searcher searcher)WeightDisjunctionMaxQuery. createWeight(Searcher searcher)Create the Weight used to score usWeightFilteredQuery. createWeight(Searcher searcher)Returns a Weight that applies the filter to the enclosed query's Weight.WeightMatchAllDocsQuery. createWeight(Searcher searcher)WeightMultiPhraseQuery. createWeight(Searcher searcher)WeightPhraseQuery. createWeight(Searcher searcher)WeightQuery. createWeight(Searcher searcher)Expert: Constructs an appropriate Weight implementation for this query.protected WeightSearcher. createWeight(Query query)Deprecated.never ever use this method inWeightimplementations.WeightTermQuery. createWeight(Searcher searcher)WeightQuery. weight(Searcher searcher)Deprecated.never ever use this method inWeightimplementations.Methods in org.apache.lucene.search with parameters of type Weight Modifier and Type Method Description ExplanationIndexSearcher. explain(Weight weight, int doc)Expert: low-level implementation method Returns an Explanation that describes howdocscored againstweight.ExplanationMultiSearcher. explain(Weight weight, int doc)Deprecated.ExplanationRemoteSearchable. explain(Weight weight, int doc)Deprecated.ExplanationSearchable. explain(Weight weight, int doc)Deprecated.Expert: low-level implementation method Returns an Explanation that describes howdocscored againstweight.abstract ExplanationSearcher. explain(Weight weight, int doc)Deprecated.TopDocsIndexSearcher. search(Weight weight, Filter filter, int nDocs)Expert: Low-level search implementation.TopFieldDocsIndexSearcher. search(Weight weight, Filter filter, int nDocs, Sort sort)Expert: Low-level search implementation with arbitrary sorting.protected TopFieldDocsIndexSearcher. search(Weight weight, Filter filter, int nDocs, Sort sort, boolean fillFields)Just likeIndexSearcher.search(Weight, Filter, int, Sort), but you choose whether or not the fields in the returnedFieldDocinstances should be set by specifying fillFields.voidIndexSearcher. search(Weight weight, Filter filter, Collector collector)Lower-level search API.protected TopDocsIndexSearcher. search(Weight weight, Filter filter, ScoreDoc after, int nDocs)Expert: Low-level search implementation.TopDocsMultiSearcher. search(Weight weight, Filter filter, int nDocs)Deprecated.TopFieldDocsMultiSearcher. search(Weight weight, Filter filter, int n, Sort sort)Deprecated.voidMultiSearcher. search(Weight weight, Filter filter, Collector collector)Deprecated.TopDocsParallelMultiSearcher. search(Weight weight, Filter filter, int nDocs)Deprecated.A search implementation which executes eachSearchablein its own thread and waits for each search to complete and merge the results back together.TopFieldDocsParallelMultiSearcher. 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.voidParallelMultiSearcher. search(Weight weight, Filter filter, Collector collector)Deprecated.Lower-level search API.TopDocsRemoteSearchable. search(Weight weight, Filter filter, int n)Deprecated.TopFieldDocsRemoteSearchable. search(Weight weight, Filter filter, int n, Sort sort)Deprecated.voidRemoteSearchable. search(Weight weight, Filter filter, Collector results)Deprecated.TopDocsSearchable. search(Weight weight, Filter filter, int n)Deprecated.Expert: Low-level search implementation.TopFieldDocsSearchable. search(Weight weight, Filter filter, int n, Sort sort)Deprecated.Expert: Low-level search implementation with arbitrary sorting.voidSearchable. search(Weight weight, Filter filter, Collector collector)Deprecated.Lower-level search API.abstract TopDocsSearcher. search(Weight weight, Filter filter, int n)Deprecated.abstract TopFieldDocsSearcher. search(Weight weight, Filter filter, int n, Sort sort)Deprecated.abstract voidSearcher. search(Weight weight, Filter filter, Collector results)Deprecated.Constructors in org.apache.lucene.search with parameters of type Weight Constructor Description ConstantScorer(Similarity similarity, DocIdSetIterator docIdSetIterator, Weight w)Scorer(Similarity similarity, Weight weight)Deprecated.UseScorer(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 Modifier and Type Method Description WeightCustomScoreQuery. createWeight(Searcher searcher)WeightValueSourceQuery. createWeight(Searcher searcher) -
Uses of Weight in org.apache.lucene.search.join
Methods in org.apache.lucene.search.join that return Weight Modifier and Type Method Description WeightToChildBlockJoinQuery. createWeight(Searcher searcher)WeightToParentBlockJoinQuery. createWeight(Searcher searcher) -
Uses of Weight in org.apache.lucene.search.payloads
Subclasses of Weight in org.apache.lucene.search.payloads Modifier and Type Class Description classPayloadNearQuery.PayloadNearSpanWeightprotected classPayloadTermQuery.PayloadTermWeightMethods in org.apache.lucene.search.payloads that return Weight Modifier and Type Method Description WeightPayloadNearQuery. createWeight(Searcher searcher)WeightPayloadTermQuery. createWeight(Searcher searcher)Constructors in org.apache.lucene.search.payloads with parameters of type Weight Constructor Description PayloadNearSpanScorer(Spans spans, Weight weight, Similarity similarity, byte[] norms)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 Modifier and Type Class Description classSpanWeightExpert-only.Methods in org.apache.lucene.search.spans that return Weight Modifier and Type Method Description WeightFieldMaskingSpanQuery. createWeight(Searcher searcher)WeightSpanQuery. createWeight(Searcher searcher)Constructors in org.apache.lucene.search.spans with parameters of type Weight Constructor Description SpanScorer(Spans spans, Weight weight, Similarity similarity, byte[] norms)
-