Auto-generated API code (#2774)
This commit is contained in:
@ -7162,7 +7162,7 @@ a new date field is added instead of string.
|
||||
not used at all by Elasticsearch, but can be used to store
|
||||
application-specific metadata.
|
||||
** *`numeric_detection` (Optional, boolean)*: Automatically map strings into numeric data types for all fields.
|
||||
** *`properties` (Optional, Record<string, { type } | { boost, fielddata, index, null_value, ignore_malformed, script, on_script_error, time_series_dimension, type } | { type, enabled, null_value, boost, coerce, script, on_script_error, ignore_malformed, time_series_metric, analyzer, eager_global_ordinals, index, index_options, index_phrases, index_prefixes, norms, position_increment_gap, search_analyzer, search_quote_analyzer, term_vector, format, precision_step, locale } | { relations, eager_global_ordinals, type } | { boost, eager_global_ordinals, index, index_options, script, on_script_error, normalizer, norms, null_value, similarity, split_queries_on_whitespace, time_series_dimension, type } | { type, fields, meta, copy_to } | { type } | { positive_score_impact, type } | { positive_score_impact, type } | { analyzer, index, index_options, max_shingle_size, norms, search_analyzer, search_quote_analyzer, similarity, term_vector, type } | { analyzer, boost, eager_global_ordinals, fielddata, fielddata_frequency_filter, index, index_options, index_phrases, index_prefixes, norms, position_increment_gap, search_analyzer, search_quote_analyzer, similarity, term_vector, type } | { type } | { type, null_value } | { boost, format, ignore_malformed, index, script, on_script_error, null_value, precision_step, type } | { boost, fielddata, format, ignore_malformed, index, script, on_script_error, null_value, precision_step, locale, type } | { type, default_metric, metrics, time_series_metric } | { type, dims, element_type, index, index_options, similarity } | { boost, depth_limit, doc_values, eager_global_ordinals, index, index_options, null_value, similarity, split_queries_on_whitespace, type } | { enabled, include_in_parent, include_in_root, type } | { enabled, subobjects, type } | { type, enabled, priority, time_series_dimension } | { type, meta, inference_id, search_inference_id } | { type } | { analyzer, contexts, max_input_length, preserve_position_increments, preserve_separators, search_analyzer, type } | { value, type } | { type, index } | { path, type } | { ignore_malformed, type } | { boost, index, ignore_malformed, null_value, on_script_error, script, time_series_dimension, type } | { type } | { analyzer, boost, index, null_value, enable_position_increments, type } | { ignore_malformed, ignore_z_value, null_value, index, on_script_error, script, type } | { coerce, ignore_malformed, ignore_z_value, index, orientation, strategy, type } | { ignore_malformed, ignore_z_value, null_value, type } | { coerce, ignore_malformed, ignore_z_value, orientation, type } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value, scaling_factor } | { type, null_value } | { type, null_value } | { format, type } | { type } | { type } | { type } | { type } | { type } | { type, norms, index_options, index, null_value, rules, language, country, variant, strength, decomposition, alternate, case_level, case_first, numeric, variable_top, hiragana_quaternary_mode }>)*: Mapping for a field. For new fields, this mapping can include:
|
||||
** *`properties` (Optional, Record<string, { type } | { boost, fielddata, index, null_value, ignore_malformed, script, on_script_error, time_series_dimension, type } | { type, enabled, null_value, boost, coerce, script, on_script_error, ignore_malformed, time_series_metric, analyzer, eager_global_ordinals, index, index_options, index_phrases, index_prefixes, norms, position_increment_gap, search_analyzer, search_quote_analyzer, term_vector, format, precision_step, locale } | { relations, eager_global_ordinals, type } | { boost, eager_global_ordinals, index, index_options, script, on_script_error, normalizer, norms, null_value, similarity, split_queries_on_whitespace, time_series_dimension, type } | { type, fields, meta, copy_to } | { type } | { positive_score_impact, type } | { positive_score_impact, type } | { analyzer, index, index_options, max_shingle_size, norms, search_analyzer, search_quote_analyzer, similarity, term_vector, type } | { analyzer, boost, eager_global_ordinals, fielddata, fielddata_frequency_filter, index, index_options, index_phrases, index_prefixes, norms, position_increment_gap, search_analyzer, search_quote_analyzer, similarity, term_vector, type } | { type } | { type, null_value } | { boost, format, ignore_malformed, index, script, on_script_error, null_value, precision_step, type } | { boost, fielddata, format, ignore_malformed, index, script, on_script_error, null_value, precision_step, locale, type } | { type, default_metric, metrics, time_series_metric } | { type, dims, element_type, index, index_options, similarity } | { boost, depth_limit, doc_values, eager_global_ordinals, index, index_options, null_value, similarity, split_queries_on_whitespace, type } | { enabled, include_in_parent, include_in_root, type } | { enabled, subobjects, type } | { type, enabled, priority, time_series_dimension } | { type, meta, inference_id, search_inference_id, chunking_settings } | { type } | { analyzer, contexts, max_input_length, preserve_position_increments, preserve_separators, search_analyzer, type } | { value, type } | { type, index } | { path, type } | { ignore_malformed, type } | { boost, index, ignore_malformed, null_value, on_script_error, script, time_series_dimension, type } | { type } | { analyzer, boost, index, null_value, enable_position_increments, type } | { ignore_malformed, ignore_z_value, null_value, index, on_script_error, script, type } | { coerce, ignore_malformed, ignore_z_value, index, orientation, strategy, type } | { ignore_malformed, ignore_z_value, null_value, type } | { coerce, ignore_malformed, ignore_z_value, orientation, type } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value } | { type, null_value, scaling_factor } | { type, null_value } | { type, null_value } | { format, type } | { type } | { type } | { type } | { type } | { type } | { type, norms, index_options, index, null_value, rules, language, country, variant, strength, decomposition, alternate, case_level, case_first, numeric, variable_top, hiragana_quaternary_mode }>)*: Mapping for a field. For new fields, this mapping can include:
|
||||
|
||||
- Field name
|
||||
- Field data type
|
||||
|
||||
@ -5318,6 +5318,13 @@ export interface MappingByteNumberProperty extends MappingNumberPropertyBase {
|
||||
null_value?: byte
|
||||
}
|
||||
|
||||
export interface MappingChunkingSettings {
|
||||
strategy: string
|
||||
max_chunk_size: integer
|
||||
overlap?: integer
|
||||
sentence_overlap?: integer
|
||||
}
|
||||
|
||||
export interface MappingCompletionProperty extends MappingDocValuesPropertyBase {
|
||||
analyzer?: string
|
||||
contexts?: MappingSuggestContext[]
|
||||
@ -5742,6 +5749,7 @@ export interface MappingSemanticTextProperty {
|
||||
meta?: Record<string, string>
|
||||
inference_id?: Id
|
||||
search_inference_id?: Id
|
||||
chunking_settings?: MappingChunkingSettings
|
||||
}
|
||||
|
||||
export interface MappingShapeProperty extends MappingDocValuesPropertyBase {
|
||||
@ -22279,11 +22287,11 @@ export interface SpecUtilsCommonQueryParameters {
|
||||
pretty?: boolean
|
||||
}
|
||||
|
||||
export interface SpecUtilsOverloadOf<TDefinition = unknown> {
|
||||
}
|
||||
|
||||
export interface SpecUtilsCommonCatQueryParameters {
|
||||
format?: string
|
||||
help?: boolean
|
||||
v?: boolean
|
||||
}
|
||||
|
||||
export interface SpecUtilsOverloadOf<TDefinition = unknown> {
|
||||
}
|
||||
|
||||
@ -5395,6 +5395,13 @@ export interface MappingByteNumberProperty extends MappingNumberPropertyBase {
|
||||
null_value?: byte
|
||||
}
|
||||
|
||||
export interface MappingChunkingSettings {
|
||||
strategy: string
|
||||
max_chunk_size: integer
|
||||
overlap?: integer
|
||||
sentence_overlap?: integer
|
||||
}
|
||||
|
||||
export interface MappingCompletionProperty extends MappingDocValuesPropertyBase {
|
||||
analyzer?: string
|
||||
contexts?: MappingSuggestContext[]
|
||||
@ -5819,6 +5826,7 @@ export interface MappingSemanticTextProperty {
|
||||
meta?: Record<string, string>
|
||||
inference_id?: Id
|
||||
search_inference_id?: Id
|
||||
chunking_settings?: MappingChunkingSettings
|
||||
}
|
||||
|
||||
export interface MappingShapeProperty extends MappingDocValuesPropertyBase {
|
||||
@ -22914,11 +22922,11 @@ export interface SpecUtilsCommonQueryParameters {
|
||||
pretty?: boolean
|
||||
}
|
||||
|
||||
export interface SpecUtilsOverloadOf<TDefinition = unknown> {
|
||||
}
|
||||
|
||||
export interface SpecUtilsCommonCatQueryParameters {
|
||||
format?: string
|
||||
help?: boolean
|
||||
v?: boolean
|
||||
}
|
||||
|
||||
export interface SpecUtilsOverloadOf<TDefinition = unknown> {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user