Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@ public boolean isNumeric() {
}
},
GEOPOINT((byte) 8, "geo_point", "geo_point", ValuesSourceType.GEOPOINT, IndexGeoPointFieldData.class, DocValueFormat.GEOHASH) {
@Override
public boolean isGeoPoint() {
return true;
}
},
BOOLEAN((byte) 9, "boolean", "boolean", ValuesSourceType.NUMERIC, IndexNumericFieldData.class, DocValueFormat.BOOLEAN) {
@Override
Expand Down Expand Up @@ -108,10 +104,6 @@ public boolean isNumeric() {
this.defaultFormat = defaultFormat;
}

public String description() {
return description;
}

public String getPreferredName() {
return preferredName;
}
Expand All @@ -120,10 +112,6 @@ public ValuesSourceType getValuesSourceType() {
return valuesSourceType;
}

public boolean compatibleWith(IndexFieldData fieldData) {
return fieldDataType.isInstance(fieldData);
}

public boolean isA(ValueType valueType) {
return valueType.valuesSourceType == valuesSourceType &&
valueType.fieldDataType.isAssignableFrom(fieldDataType);
Expand All @@ -145,10 +133,6 @@ public boolean isFloatingPoint() {
return false;
}

public boolean isGeoPoint() {
return false;
}

public static ValueType resolveForScript(String type) {
switch (type) {
case "string": return STRING;
Expand Down