Closed
Description
Java API client version
8.3.3
Java version
17.0.3
Elasticsearch Version
8.3.3
Problem description
Hi,
according the Documentation I can use the parameter index for the field-type geo_point.
I use the Java-Client in Version 8.3.3 and a mapping like this (only a snippet):
"location": { "index": false, "type": "geo_point" }
But the result is the following exception:
co.elastic.clients.json.JsonpMappingException: Error deserializing co.elastic.clients.elasticsearch._types.mapping.GeoPointProperty: Unknown field 'index'
However, when I look at the class GeoPointProperty, I don't see an index field either (I looked also in the source-code). It seems to me that this field has been forgotten.