diff --git a/docs/reference.asciidoc b/docs/reference.asciidoc index f1ad4c7bb..cd62ea4b0 100644 --- a/docs/reference.asciidoc +++ b/docs/reference.asciidoc @@ -5536,7 +5536,7 @@ If no index is specified or the index does not have a default analyzer, the anal ** *`analyzer` (Optional, string)*: The name of the analyzer that should be applied to the provided `text`. This could be a built-in analyzer, or an analyzer that’s been configured in the index. ** *`attributes` (Optional, string[])*: Array of token attributes used to filter the output of the `explain` parameter. -** *`char_filter` (Optional, string | { type, escaped_tags } | { type, mappings, mappings_path } | { type, flags, pattern, replacement } | { type, mode, name } | { type, normalize_kana, normalize_kanji }[])*: Array of character filters used to preprocess characters before the tokenizer. +** *`char_filter` (Optional, string | { type, escaped_tags } | { type, mappings, mappings_path } | { type, flags, pattern, replacement } | { type, mode, name, unicode_set_filter } | { type, normalize_kana, normalize_kanji }[])*: Array of character filters used to preprocess characters before the tokenizer. ** *`explain` (Optional, boolean)*: If `true`, the response includes token attributes and additional details. ** *`field` (Optional, string)*: Field used to derive the analyzer. To use this parameter, you must specify an index. diff --git a/src/api/types.ts b/src/api/types.ts index 8afe02042..3a7493752 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -4688,6 +4688,7 @@ export interface AnalysisIcuNormalizationCharFilter extends AnalysisCharFilterBa type: 'icu_normalizer' mode?: AnalysisIcuNormalizationMode name?: AnalysisIcuNormalizationType + unicode_set_filter?: string } export type AnalysisIcuNormalizationMode = 'decompose' | 'compose' diff --git a/src/api/typesWithBodyKey.ts b/src/api/typesWithBodyKey.ts index fa904f48a..f2b72dd20 100644 --- a/src/api/typesWithBodyKey.ts +++ b/src/api/typesWithBodyKey.ts @@ -4765,6 +4765,7 @@ export interface AnalysisIcuNormalizationCharFilter extends AnalysisCharFilterBa type: 'icu_normalizer' mode?: AnalysisIcuNormalizationMode name?: AnalysisIcuNormalizationType + unicode_set_filter?: string } export type AnalysisIcuNormalizationMode = 'decompose' | 'compose'