Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method and Description |
---|---|
static CachingCollector |
CachingCollector.create(boolean cacheScores,
double maxRAMMB)
Creates a
CachingCollector which does not wrap another collector. |
static CachingCollector |
CachingCollector.create(Collector other,
boolean cacheScores,
double maxRAMMB)
Create a new
CachingCollector that wraps the given collector and
caches documents and scores up to the specified RAM threshold. |
static CachingCollector |
CachingCollector.create(Collector other,
boolean cacheScores,
int maxDocsToCache)
Create a new
CachingCollector that wraps the given collector and
caches documents and scores up to the specified max docs threshold. |
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.