|
|
@@ -15,7 +15,6 @@ import org.apache.lucene.index.LeafReaderContext;
|
|
|
import org.apache.lucene.index.NumericDocValues;
|
|
|
import org.apache.lucene.index.SortedNumericDocValues;
|
|
|
import org.apache.lucene.sandbox.document.HalfFloatPoint;
|
|
|
-import org.apache.lucene.util.Accountable;
|
|
|
import org.apache.lucene.util.NumericUtils;
|
|
|
import org.elasticsearch.index.fielddata.FieldData;
|
|
|
import org.elasticsearch.index.fielddata.IndexFieldData;
|
|
|
@@ -30,8 +29,6 @@ import org.elasticsearch.script.field.ToScriptFieldFactory;
|
|
|
import org.elasticsearch.search.aggregations.support.ValuesSourceType;
|
|
|
|
|
|
import java.io.IOException;
|
|
|
-import java.util.Collection;
|
|
|
-import java.util.Collections;
|
|
|
import java.util.Objects;
|
|
|
|
|
|
/**
|
|
|
@@ -156,11 +153,6 @@ public class SortedDoublesIndexFieldData extends IndexNumericFieldData {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public Collection<Accountable> getChildResources() {
|
|
|
- return Collections.emptyList();
|
|
|
- }
|
|
|
-
|
|
|
@Override
|
|
|
public DocValuesScriptFieldFactory getScriptFieldFactory(String name) {
|
|
|
return toScriptFieldFactory.getScriptFieldFactory(getDoubleValues(), name);
|
|
|
@@ -255,11 +247,6 @@ public class SortedDoublesIndexFieldData extends IndexNumericFieldData {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public Collection<Accountable> getChildResources() {
|
|
|
- return Collections.emptyList();
|
|
|
- }
|
|
|
-
|
|
|
@Override
|
|
|
public DocValuesScriptFieldFactory getScriptFieldFactory(String name) {
|
|
|
return toScriptFieldFactory.getScriptFieldFactory(getDoubleValues(), name);
|
|
|
@@ -352,11 +339,6 @@ public class SortedDoublesIndexFieldData extends IndexNumericFieldData {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public Collection<Accountable> getChildResources() {
|
|
|
- return Collections.emptyList();
|
|
|
- }
|
|
|
-
|
|
|
@Override
|
|
|
public DocValuesScriptFieldFactory getScriptFieldFactory(String name) {
|
|
|
return toScriptFieldFactory.getScriptFieldFactory(getDoubleValues(), name);
|