Revert GeoPointField.stored default back to false
As a default in V2, the GeoPointField.stored option was set to true. Since this consumes disk space with no positive benefit the default stored option is being reverted back to false.
This commit is contained in:
parent
1a47226d9a
commit
ff1aed80cc
|
@ -63,7 +63,6 @@ public class GeoPointFieldMapper extends BaseGeoPointFieldMapper {
|
||||||
FIELD_TYPE.setNumericPrecisionStep(GeoPointField.PRECISION_STEP);
|
FIELD_TYPE.setNumericPrecisionStep(GeoPointField.PRECISION_STEP);
|
||||||
FIELD_TYPE.setDocValuesType(DocValuesType.SORTED_NUMERIC);
|
FIELD_TYPE.setDocValuesType(DocValuesType.SORTED_NUMERIC);
|
||||||
FIELD_TYPE.setHasDocValues(true);
|
FIELD_TYPE.setHasDocValues(true);
|
||||||
FIELD_TYPE.setStored(true);
|
|
||||||
FIELD_TYPE.freeze();
|
FIELD_TYPE.freeze();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -127,4 +126,4 @@ public class GeoPointFieldMapper extends BaseGeoPointFieldMapper {
|
||||||
}
|
}
|
||||||
super.parse(context, point, geoHash);
|
super.parse(context, point, geoHash);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue