Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method | Description |
---|---|---|
static CachingCollector |
CachingCollector.create(boolean acceptDocsOutOfOrder,
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-2018 Apache Software Foundation. All Rights Reserved.