Skip to content

Why are the fields 'ruleType', 'nametype', and 'languageSet' mandatory for the 'phonetictokenfilter'? #874

@powfyy

Description

@powfyy

Java API client version

8.13.4

Java version

17

Elasticsearch Version

8.12.2

Problem description

Why are the fields 'ruleType', 'nametype', and 'languageSet' mandatory for the 'PhoneticTokenFilter'? I'm using the 'double metaphone encoder', so these parameters are not specified in the index schema. When I try to execute the query elasticsearchClient.indices().getSettings(GetIndicesSettingsRequest.of(ginsr -> ginsr .index(oldIndex))).result().get(oldIndex).settings().index().numberOfReplicas(); I get an error "Failed to decode response. co.elastic.clients.util.MissingRequiredPropertyException: Missing required property 'PhoneticTokenFilter.<languageset/ruleType/nameType>'"

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