From 692413862a7cd9b3cf5764958a8dbbe075aba37b Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Fri, 18 Jan 2013 14:34:28 +0100 Subject: [PATCH] add clear when deleting an index for the field data service --- .../indices/InternalIndicesService.java | 2 ++ .../facet/range/RangeFacetProcessor.java | 33 ++++++++++--------- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/src/main/java/org/elasticsearch/indices/InternalIndicesService.java b/src/main/java/org/elasticsearch/indices/InternalIndicesService.java index fe24c2e613a..52e0a08c1f3 100644 --- a/src/main/java/org/elasticsearch/indices/InternalIndicesService.java +++ b/src/main/java/org/elasticsearch/indices/InternalIndicesService.java @@ -43,6 +43,7 @@ import org.elasticsearch.index.codec.CodecModule; import org.elasticsearch.index.engine.IndexEngine; import org.elasticsearch.index.engine.IndexEngineModule; import org.elasticsearch.index.fielddata.IndexFieldDataModule; +import org.elasticsearch.index.fielddata.IndexFieldDataService; import org.elasticsearch.index.flush.FlushStats; import org.elasticsearch.index.gateway.IndexGateway; import org.elasticsearch.index.gateway.IndexGatewayModule; @@ -346,6 +347,7 @@ public class InternalIndicesService extends AbstractLifecycleComponent