Java org.apache.lucene.search CachingCollector fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.search CachingCollector fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.search CachingCollector.

The text is from its open source code.

Method

CachingCollectorcreate(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.
CachingCollectorcreate(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.
booleanisCached()
Return true is this collector is able to replay collection.
voidreplay(Collector other)
Replays the cached doc IDs (and scores) to the given Collector.