|
@@ -23,7 +23,6 @@ import org.apache.lucene.index.AtomicReaderContext;
|
|
|
import org.apache.lucene.search.Scorer;
|
|
|
import org.apache.lucene.util.ArrayUtil;
|
|
|
import org.apache.lucene.util.RamUsageEstimator;
|
|
|
-import org.elasticsearch.cache.recycler.CacheRecycler;
|
|
|
import org.elasticsearch.cache.recycler.PageCacheRecycler;
|
|
|
import org.elasticsearch.common.lucene.ReaderContextAware;
|
|
|
import org.elasticsearch.common.lucene.ScorerAware;
|
|
@@ -64,10 +63,6 @@ public class AggregationContext implements ReaderContextAware, ScorerAware {
|
|
|
return searchContext;
|
|
|
}
|
|
|
|
|
|
- public CacheRecycler cacheRecycler() {
|
|
|
- return searchContext.cacheRecycler();
|
|
|
- }
|
|
|
-
|
|
|
public PageCacheRecycler pageCacheRecycler() {
|
|
|
return searchContext.pageCacheRecycler();
|
|
|
}
|