From 4e5714b31fe3d3b9fdedb18064253fa50b79bcc0 Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Thu, 13 Mar 2014 19:02:47 +0100 Subject: [PATCH] Remove AggregationContext.cacheRecycler(). --- .../search/aggregations/support/AggregationContext.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/org/elasticsearch/search/aggregations/support/AggregationContext.java b/src/main/java/org/elasticsearch/search/aggregations/support/AggregationContext.java index 78829722e3c..08b273c84bf 100644 --- a/src/main/java/org/elasticsearch/search/aggregations/support/AggregationContext.java +++ b/src/main/java/org/elasticsearch/search/aggregations/support/AggregationContext.java @@ -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(); }