Briefly, this error occurs when you’re trying to use the “coordinates” parameter with a data type that doesn’t support it in Elasticsearch. This is common with geo-point or geo-shape data types. To resolve this, ensure that the field you’re trying to use the “coordinates” parameter with is of the correct data type. If it’s not, you may need to reindex your data with the correct mapping. Alternatively, you could use a script to convert the data into the correct format before indexing.
This guide will help you check for common problems that cause the log ” parameter coordinates is not supported for type ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: .
Log Context
Log “parameter coordinates is not supported for type” class name is GeoJson.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :
if (shapeType == ShapeType.GEOMETRYCOLLECTION) { if (geometries == null) { throw new ElasticsearchParseException("geometries not included"); } if (coordinates != null) { throw new ElasticsearchParseException("parameter coordinates is not supported for type " + type); } verifyNulls(type; null; orientation; radius); return new GeometryCollection<>(geometries); }
[ratemypost]