Auto-generated API code (#2831)

This commit is contained in:
Elastic Machine
2025-05-19 20:05:40 +01:00
committed by GitHub
parent 5f7596dd2c
commit cdebf1aebf
3 changed files with 3 additions and 1 deletions

View File

@ -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 thats 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.

View File

@ -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'

View File

@ -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'