Skip to content

Problem with GeoPointProperty - unknown field 'index' #394

Closed
@MaxWenzel

Description

@MaxWenzel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SpecificationRelated to the API spec used to generate client code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions