Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
BooleanScorer
BulkScorer that is used for pure disjunctions and disjunctions
that have low values of BooleanQuery.Builder.setMinimumNumberShouldMatch(int)
and dense clauses. |
protected static class |
ConstantScoreQuery.ConstantBulkScorer
We return this as our
BulkScorer so that if the CSQ
wraps a query with its own optimized top-level
scorer (e.g. |
(package private) class |
ReqExclBulkScorer |
protected static class |
Weight.DefaultBulkScorer
Just wraps a Scorer and performs top scoring using it.
|
Modifier and Type | Field and Description |
---|---|
(package private) BulkScorer |
ConstantScoreQuery.ConstantBulkScorer.bulkScorer |
private BulkScorer |
ReqExclBulkScorer.req |
(package private) BulkScorer |
BooleanScorer.BulkScorerAndDoc.scorer |
Modifier and Type | Method and Description |
---|---|
(package private) BulkScorer |
BooleanWeight.booleanScorer(LeafReaderContext context)
Try to build a boolean scorer for this weight.
|
BulkScorer |
Weight.bulkScorer(LeafReaderContext context)
Optional method, to return a
BulkScorer to
score the query and send hits to a Collector . |
BulkScorer |
LRUQueryCache.CachingWrapperWeight.bulkScorer(LeafReaderContext context) |
BulkScorer |
BooleanWeight.bulkScorer(LeafReaderContext context) |
(package private) static BulkScorer |
BooleanWeight.disableScoring(BulkScorer scorer) |
(package private) BulkScorer |
BooleanWeight.optionalBulkScorer(LeafReaderContext context) |
private BulkScorer |
BooleanWeight.requiredBulkScorer(LeafReaderContext context) |
Modifier and Type | Method and Description |
---|---|
protected DocIdSet |
LRUQueryCache.cacheImpl(BulkScorer scorer,
int maxDoc)
Default cache implementation: uses
RoaringDocIdSet for sets that
have a density < 1% and a BitDocIdSet over a FixedBitSet
otherwise. |
private static DocIdSet |
LRUQueryCache.cacheIntoBitSet(BulkScorer scorer,
int maxDoc) |
private static DocIdSet |
LRUQueryCache.cacheIntoRoaringDocIdSet(BulkScorer scorer,
int maxDoc) |
(package private) static BulkScorer |
BooleanWeight.disableScoring(BulkScorer scorer) |
Modifier and Type | Method and Description |
---|---|
private static long |
BooleanScorer.cost(java.util.Collection<BulkScorer> scorers,
int minShouldMatch) |
Constructor and Description |
---|
BulkScorerAndDoc(BulkScorer scorer) |
ConstantBulkScorer(BulkScorer bulkScorer,
Weight weight,
float theScore) |
ReqExclBulkScorer(BulkScorer req,
DocIdSetIterator excl) |
Constructor and Description |
---|
BooleanScorer(BooleanWeight weight,
java.util.Collection<BulkScorer> scorers,
int minShouldMatch,
boolean needsScores) |