Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Class and Description |
---|---|
class |
MultiCollectorManager
A
CollectorManager implements which wrap a set of CollectorManager
as MultiCollector acts for Collector . |
Modifier and Type | Method and Description |
---|---|
static CollectorManager<TopScoreDocCollector,TopDocs> |
TopScoreDocCollector.createSharedManager(int numHits,
FieldDoc after,
int totalHitsThreshold)
Create a CollectorManager which uses a shared hit counter to maintain number of hits
and a shared
MaxScoreAccumulator to propagate the minimum score accross segments |
static CollectorManager<TopFieldCollector,TopFieldDocs> |
TopFieldCollector.createSharedManager(Sort sort,
int numHits,
FieldDoc after,
int totalHitsThreshold)
Create a CollectorManager which uses a shared hit counter to maintain number of hits
and a shared
MaxScoreAccumulator to propagate the minimum score accross segments if
the primary sort is by relevancy. |
Modifier and Type | Method and Description |
---|---|
<C extends Collector,T> |
IndexSearcher.search(Query query,
CollectorManager<C,T> collectorManager)
Lower-level search API.
|
Constructor and Description |
---|
MultiCollectorManager(CollectorManager<? extends Collector,?>... collectorManagers) |
Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.