Package | Description |
---|---|
org.apache.lucene.bkdtree |
This package contains a BKD spatial tree implementation for indexing lat/lon points and fast shape searching.
|
org.apache.lucene.queries |
Filters and Queries that add to core Lucene.
|
org.apache.lucene.queries.function |
Queries that compute score based upon a function.
|
org.apache.lucene.rangetree |
This package contains a numeric tree implementation for indexing long values enabling fast range searching.
|
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.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
org.apache.lucene.spatial.composite |
Composite strategies.
|
Modifier and Type | Method and Description |
---|---|
Weight |
BKDPointInPolygonQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
BKDPointInBBoxQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Modifier and Type | Method and Description |
---|---|
Weight |
TermsQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
CustomScoreQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
BoostingQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Modifier and Type | Class and Description |
---|---|
protected class |
FunctionQuery.FunctionWeight |
Modifier and Type | Method and Description |
---|---|
Weight |
FunctionQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
BoostedQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Modifier and Type | Method and Description |
---|---|
Weight |
SortedSetRangeTreeQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
NumericRangeTreeQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Modifier and Type | Class and Description |
---|---|
class |
ConstantScoreWeight
A Weight that has a constant score equal to the boost of the wrapped query.
|
protected class |
DisjunctionMaxQuery.DisjunctionMaxWeight
Expert: the Weight for DisjunctionMaxQuery, used to
normalize, score and explain these queries.
|
class |
RandomAccessWeight
Base class to build
Weight s that are based on random-access
structures such as live docs or doc values. |
Modifier and Type | Field and Description |
---|---|
protected Weight |
Scorer.weight
the Scorer's parent Weight.
|
Modifier and Type | Field and Description |
---|---|
protected ArrayList<Weight> |
DisjunctionMaxQuery.DisjunctionMaxWeight.weights
The Weights for our subqueries, in 1-1 correspondence with disjuncts
|
Modifier and Type | Method and Description |
---|---|
Weight |
AssertingIndexSearcher.createNormalizedWeight(Query query,
boolean needsScores)
Ensures, that the returned
Weight is not normalized again, which may produce wrong scores. |
Weight |
IndexSearcher.createNormalizedWeight(Query query,
boolean needsScores)
Creates a normalized weight for a top-level
Query . |
Weight |
TermAutomatonQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
DocValuesTermsQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
DocValuesNumbersQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
DocValuesRangeQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
AssertingQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
RandomApproximationQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
PhraseQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
CachingWrapperQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
FieldValueQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
ConstantScoreQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
DisjunctionMaxQuery.createWeight(IndexSearcher searcher,
boolean needsScores)
Create the Weight used to score us
|
Weight |
MatchAllDocsQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
TermQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
Query.createWeight(IndexSearcher searcher,
boolean needsScores)
Expert: Constructs an appropriate Weight implementation for this query.
|
Weight |
BooleanQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
MultiPhraseQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
AssertingIndexSearcher.createWeight(Query query,
boolean needsScores) |
Weight |
IndexSearcher.createWeight(Query query,
boolean needsScores)
Creates a
Weight for the given query, potentially adding caching
if possible and configured. |
Weight |
QueryCache.doCache(Weight weight,
QueryCachingPolicy policy)
Return a wrapper around the provided
weight that will cache
matching docs per-segment accordingly to the given policy . |
Weight |
LRUQueryCache.doCache(Weight weight,
QueryCachingPolicy policy) |
Weight |
Scorer.getWeight()
returns parent Weight
|
Modifier and Type | Method and Description |
---|---|
Weight |
QueryCache.doCache(Weight weight,
QueryCachingPolicy policy)
Return a wrapper around the provided
weight that will cache
matching docs per-segment accordingly to the given policy . |
Weight |
LRUQueryCache.doCache(Weight weight,
QueryCachingPolicy policy) |
protected Explanation |
IndexSearcher.explain(Weight weight,
int doc)
Expert: low-level implementation method
Returns an Explanation that describes how
doc scored against
weight . |
protected void |
AssertingIndexSearcher.search(List<LeafReaderContext> leaves,
Weight weight,
Collector collector) |
protected void |
ScorerIndexSearcher.search(List<LeafReaderContext> leaves,
Weight weight,
Collector collector) |
protected void |
IndexSearcher.search(List<LeafReaderContext> leaves,
Weight weight,
Collector collector)
Lower-level search API.
|
Constructor and Description |
---|
BulkScorerWrapperScorer(Weight weight,
BulkScorer scorer,
int bufferSize)
Sole constructor.
|
ConstantBulkScorer(BulkScorer bulkScorer,
Weight weight,
float theScore) |
ConstantScoreScorer(Weight weight,
float score,
DocIdSetIterator disi)
Constructor based on a
DocIdSetIterator which will be used to
drive iteration. |
ConstantScoreScorer(Weight weight,
float score,
TwoPhaseIterator twoPhaseIterator)
Constructor based on a
TwoPhaseIterator . |
FilterScorer(Scorer in,
Weight weight)
Create a new FilterScorer with a specific weight
|
Scorer(Weight weight)
Constructs a Scorer
|
Constructor and Description |
---|
BlockGroupingCollector(Sort groupSort,
int topNGroups,
boolean needsScores,
Weight lastDocPerGroup)
Create the single pass collector.
|
Modifier and Type | Method and Description |
---|---|
Weight |
ToParentBlockJoinQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
ToChildBlockJoinQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Modifier and Type | Method and Description |
---|---|
protected void |
ToParentBlockJoinIndexSearcher.search(List<LeafReaderContext> leaves,
Weight weight,
Collector collector) |
Modifier and Type | Class and Description |
---|---|
class |
PayloadNearQuery.PayloadNearSpanWeight
Deprecated.
|
class |
SpanPayloadCheckQuery.SpanPayloadCheckWeight
Weight that pulls its Spans using a PayloadSpanCollector
|
Modifier and Type | Class and Description |
---|---|
class |
AssertingSpanWeight
Wraps a SpanWeight with additional asserts
|
class |
SpanContainingQuery.SpanContainingWeight |
class |
org.apache.lucene.search.spans.SpanContainQuery.SpanContainWeight |
class |
SpanNearQuery.SpanNearWeight |
class |
SpanNotQuery.SpanNotWeight |
class |
SpanOrQuery.SpanOrWeight |
class |
SpanPositionCheckQuery.SpanPositionCheckWeight |
class |
SpanTermQuery.SpanTermWeight |
class |
SpanWeight
Expert-only.
|
class |
SpanWithinQuery.SpanWithinWeight |
Modifier and Type | Class and Description |
---|---|
class |
CompletionWeight
Expert: the Weight for CompletionQuery, used to
score and explain these queries.
|
Modifier and Type | Method and Description |
---|---|
Weight |
PrefixCompletionQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
ContextQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
FuzzyCompletionQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
RegexCompletionQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Modifier and Type | Method and Description |
---|---|
Weight |
IntersectsRPTVerifyQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
CompositeVerifyQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.