From ef3e7fe62b9b84b3f558da1d41e2c082a1f9ff46 Mon Sep 17 00:00:00 2001 From: kimchy Date: Sun, 7 Nov 2010 00:02:58 +0200 Subject: [PATCH] renamve method --- .../main/java/org/elasticsearch/index/service/IndexService.java | 2 +- .../org/elasticsearch/index/service/InternalIndexService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/index/service/IndexService.java b/modules/elasticsearch/src/main/java/org/elasticsearch/index/service/IndexService.java index 7c3da50a56c..876a32c358a 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/index/service/IndexService.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/index/service/IndexService.java @@ -51,7 +51,7 @@ public interface IndexService extends IndexComponent, Iterable, Clos SimilarityService similarityService(); - IndexEngine indexEngine(); + IndexEngine engine(); IndexStore store(); diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/index/service/InternalIndexService.java b/modules/elasticsearch/src/main/java/org/elasticsearch/index/service/InternalIndexService.java index c2b9d75bc3a..f810eb706c5 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/index/service/InternalIndexService.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/index/service/InternalIndexService.java @@ -187,7 +187,7 @@ public class InternalIndexService extends AbstractIndexComponent implements Inde return similarityService; } - @Override public IndexEngine indexEngine() { + @Override public IndexEngine engine() { return indexEngine; }