Briefly, this error occurs when Elasticsearch is trying to process a geo_shape query, but the required geometries data is missing or not correctly formatted. To resolve this issue, you should ensure that the geometries data is included in the correct format in your query. You could also check your mapping to ensure that the field is correctly set as geo_shape. If the error persists, consider reindexing your data to ensure that all necessary fields are included and correctly formatted.
This guide will help you check for common problems that cause the log ” geometries not included ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: .
Log Context
Log “geometries not included” class name is GeoJson.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :
} else { shapeType = ShapeType.forName(type); } 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);
[ratemypost]