diff --git a/specification/_types/analysis/phonetic-plugin.ts b/specification/_types/analysis/phonetic-plugin.ts index 55e7d4f533..127b1c4b18 100644 --- a/specification/_types/analysis/phonetic-plugin.ts +++ b/specification/_types/analysis/phonetic-plugin.ts @@ -64,7 +64,7 @@ export enum PhoneticRuleType { export class PhoneticTokenFilter extends TokenFilterBase { type: 'phonetic' encoder: PhoneticEncoder - languageset: PhoneticLanguage[] + languageset: PhoneticLanguage | PhoneticLanguage[] max_code_len?: integer name_type: PhoneticNameType replace?: boolean