Auto-generated API code (#2831)
This commit is contained in:
@ -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`.
|
** *`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.
|
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.
|
** *`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.
|
** *`explain` (Optional, boolean)*: If `true`, the response includes token attributes and additional details.
|
||||||
** *`field` (Optional, string)*: Field used to derive the analyzer.
|
** *`field` (Optional, string)*: Field used to derive the analyzer.
|
||||||
To use this parameter, you must specify an index.
|
To use this parameter, you must specify an index.
|
||||||
|
|||||||
@ -4688,6 +4688,7 @@ export interface AnalysisIcuNormalizationCharFilter extends AnalysisCharFilterBa
|
|||||||
type: 'icu_normalizer'
|
type: 'icu_normalizer'
|
||||||
mode?: AnalysisIcuNormalizationMode
|
mode?: AnalysisIcuNormalizationMode
|
||||||
name?: AnalysisIcuNormalizationType
|
name?: AnalysisIcuNormalizationType
|
||||||
|
unicode_set_filter?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export type AnalysisIcuNormalizationMode = 'decompose' | 'compose'
|
export type AnalysisIcuNormalizationMode = 'decompose' | 'compose'
|
||||||
|
|||||||
@ -4765,6 +4765,7 @@ export interface AnalysisIcuNormalizationCharFilter extends AnalysisCharFilterBa
|
|||||||
type: 'icu_normalizer'
|
type: 'icu_normalizer'
|
||||||
mode?: AnalysisIcuNormalizationMode
|
mode?: AnalysisIcuNormalizationMode
|
||||||
name?: AnalysisIcuNormalizationType
|
name?: AnalysisIcuNormalizationType
|
||||||
|
unicode_set_filter?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export type AnalysisIcuNormalizationMode = 'decompose' | 'compose'
|
export type AnalysisIcuNormalizationMode = 'decompose' | 'compose'
|
||||||
|
|||||||
Reference in New Issue
Block a user