From 77cbe0a26ba04d3eb0750048eed2f31bed8481a2 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Mon, 29 Oct 2012 11:47:14 +0100 Subject: [PATCH] lucene 4: s/getFieldable/getField --- src/main/java/org/elasticsearch/index/engine/Engine.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/elasticsearch/index/engine/Engine.java b/src/main/java/org/elasticsearch/index/engine/Engine.java index e08d2cb4f0c..02c59758c12 100644 --- a/src/main/java/org/elasticsearch/index/engine/Engine.java +++ b/src/main/java/org/elasticsearch/index/engine/Engine.java @@ -475,7 +475,7 @@ public interface Engine extends IndexShardComponent, CloseableComponent { } public UidField uidField() { - return (UidField) doc.rootDoc().getFieldable(UidFieldMapper.NAME); + return (UidField) doc.rootDoc().getField(UidFieldMapper.NAME); } @@ -603,7 +603,7 @@ public interface Engine extends IndexShardComponent, CloseableComponent { } public UidField uidField() { - return (UidField) doc.rootDoc().getFieldable(UidFieldMapper.NAME); + return (UidField) doc.rootDoc().getField(UidFieldMapper.NAME); } public Index startTime(long startTime) {