diff --git a/src/main/java/org/elasticsearch/index/fielddata/AbstractAtomicNumericFieldData.java b/src/main/java/org/elasticsearch/index/fielddata/AbstractAtomicNumericFieldData.java index a182f7023bb..1bf5fb03fa6 100644 --- a/src/main/java/org/elasticsearch/index/fielddata/AbstractAtomicNumericFieldData.java +++ b/src/main/java/org/elasticsearch/index/fielddata/AbstractAtomicNumericFieldData.java @@ -42,7 +42,7 @@ public abstract class AbstractAtomicNumericFieldData implements AtomicNumericFie } @Override - public BytesValues getBytesValues() { + public BytesValues getBytesValues(boolean needsHashes) { if (isFloat) { final DoubleValues values = getDoubleValues(); return new BytesValues(values.isMultiValued()) { @@ -106,9 +106,4 @@ public abstract class AbstractAtomicNumericFieldData implements AtomicNumericFie }; } } - - @Override - public BytesValues getHashedBytesValues() { - return getBytesValues(); - } } diff --git a/src/main/java/org/elasticsearch/index/fielddata/AtomicFieldData.java b/src/main/java/org/elasticsearch/index/fielddata/AtomicFieldData.java index 3cf0c74be0b..07df8caef0d 100644 --- a/src/main/java/org/elasticsearch/index/fielddata/AtomicFieldData.java +++ b/src/main/java/org/elasticsearch/index/fielddata/AtomicFieldData.java @@ -53,12 +53,14 @@ public interface AtomicFieldData