Example usage for Java org.apache.lucene.search CachingCollector fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
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. |
boolean | isCached() Return true is this collector is able to replay collection. |
void | replay(Collector other) Replays the cached doc IDs (and scores) to the given Collector. |