Hi,
When I tried to create an index containing a field of type: "version" or "geo_point" with 'index' : true/false (sample input below) through the Java API client (7.17.7), I am getting the following exception. Could some on help on this.
Input 1 :
"my_version": {
"type": "version",
"store": true,
"index": false
}
Exception :
co.elastic.clients.json.JsonpMappingException: Error deserializing co.elastic.clients.elasticsearch._types.mapping.VersionProperty: Unknown field 'index' (JSON path: mappings.properties.my_version.index) (in object at line no=1, column no=792, offset=791)
Input 2 :
"location": {
"type": "geo_point",
"index": false,
"store": true,
"doc_values": false
}
Exception :
co.elastic.clients.json.JsonpMappingException: Error deserializing co.elastic.clients.elasticsearch._types.mapping.GeoPointProperty: Unknown field 'index' (JSON path: mappings.properties.location.index) (in object at line no=1, column no=790, offset=789)
I am using PutTemplateRequestBuilder::withJson(Reader input) method to parse the mappings. Any help on this would be greatly appreciated.
Thanks.