Skip to content

SearchAsYouTypeProperty: Unknown field 'doc_values' (JSON path: mappings.properties.search_as_you_type.doc_values #935

@yeikel

Description

@yeikel

Java API client version

8.17.0

Java version

17

Elasticsearch Version

8.13.2

Problem description

Given an index with properties

"search_as_you_type": {
        "type": "search_as_you_type",
        "analyzer": "default",
        "doc_values": false
      }

I am able to post it to the server from Kibana:

Image

But the client fails to post it:


[ERROR]   JsonpMapping Error deserializing co.elastic.clients.elasticsearch._types.mapping.SearchAsYouTypeProperty: Unknown field 'doc_values' (JSON path: mappings.properties.search_as_you_type.doc_values) (in object at line no=52, column no=30, offset=1208)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SpecificationRelated to the API spec used to generate client codeCategory: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions