Skip to content
Merged
Show file tree
Hide file tree
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 @@ -186,7 +186,9 @@ public IndexFieldData.Builder fielddataBuilder(String fullyQualifiedIndexName) {

}

protected static class ParsedGeoPoint extends GeoPoint implements ParsedPoint {
// Eclipse requires the AbstractPointGeometryFieldMapper prefix or it can't find ParsedPoint
// See https://bugs.eclipse.org/bugs/show_bug.cgi?id=565255
protected static class ParsedGeoPoint extends GeoPoint implements AbstractPointGeometryFieldMapper.ParsedPoint {
@Override
public void validate(String fieldName) {
if (lat() > 90.0 || lat() < -90.0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ public String typeName() {
}
}

protected static class ParsedCartesianPoint extends CartesianPoint implements ParsedPoint {
// Eclipse requires the AbstractPointGeometryFieldMapper prefix or it can't find ParsedPoint
// See https://bugs.eclipse.org/bugs/show_bug.cgi?id=565255
protected static class ParsedCartesianPoint extends CartesianPoint implements AbstractPointGeometryFieldMapper.ParsedPoint {
@Override
public void validate(String fieldName) {
if (Float.isFinite(getX()) == false) {
Expand Down