Skip to content

Commit 6da05f9

Browse files
Auto-generated API code
1 parent 11a058f commit 6da05f9

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

docs/reference.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7231,7 +7231,7 @@ a new date field is added instead of string.
72317231
not used at all by Elasticsearch, but can be used to store
72327232
application-specific metadata.
72337233
** *`numeric_detection` (Optional, boolean)*: Automatically map strings into numeric data types for all fields.
7234-
** *`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, ignore_malformed, 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, time_series_dimensions, type } | { enabled, include_in_parent, include_in_root, type } | { enabled, subobjects, type } | { type, enabled, priority, time_series_dimension } | { type, element_type, dims } | { type, meta, inference_id, search_inference_id, index_options, chunking_settings } | { store, type, index_options } | { 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, time_series_metric } | { 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:
7234+
** *`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, ignore_malformed, 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, time_series_dimensions, type } | { enabled, include_in_parent, include_in_root, type } | { enabled, subobjects, type } | { type, enabled, priority, time_series_dimension } | { type, element_type, dims } | { type, meta, inference_id, search_inference_id, index_options, chunking_settings, fields } | { store, type, index_options } | { 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, time_series_metric } | { 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:
72357235

72367236
- Field name
72377237
- Field data type

src/api/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2920,7 +2920,7 @@ export interface TaskFailure {
29202920
export type TaskId = string | integer
29212921

29222922
export interface TextEmbedding {
2923-
model_id: string
2923+
model_id?: string
29242924
model_text: string
29252925
}
29262926

@@ -5951,6 +5951,7 @@ export interface MappingSemanticTextProperty {
59515951
search_inference_id?: Id
59525952
index_options?: MappingSemanticTextIndexOptions
59535953
chunking_settings?: MappingChunkingSettings
5954+
fields?: Record<PropertyName, MappingProperty>
59545955
}
59555956

59565957
export interface MappingShapeProperty extends MappingDocValuesPropertyBase {
@@ -21212,6 +21213,7 @@ export interface SqlTranslateResponse {
2121221213
fields?: (QueryDslFieldAndFormat | Field)[]
2121321214
query?: QueryDslQueryContainer
2121421215
sort?: Sort
21216+
track_total_hits?: SearchTrackHits
2121521217
}
2121621218

2121721219
export interface SslCertificatesCertificateInformation {

src/api/typesWithBodyKey.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2997,7 +2997,7 @@ export interface TaskFailure {
29972997
export type TaskId = string | integer
29982998

29992999
export interface TextEmbedding {
3000-
model_id: string
3000+
model_id?: string
30013001
model_text: string
30023002
}
30033003

@@ -6028,6 +6028,7 @@ export interface MappingSemanticTextProperty {
60286028
search_inference_id?: Id
60296029
index_options?: MappingSemanticTextIndexOptions
60306030
chunking_settings?: MappingChunkingSettings
6031+
fields?: Record<PropertyName, MappingProperty>
60316032
}
60326033

60336034
export interface MappingShapeProperty extends MappingDocValuesPropertyBase {
@@ -21824,6 +21825,7 @@ export interface SqlTranslateResponse {
2182421825
fields?: (QueryDslFieldAndFormat | Field)[]
2182521826
query?: QueryDslQueryContainer
2182621827
sort?: Sort
21828+
track_total_hits?: SearchTrackHits
2182721829
}
2182821830

2182921831
export interface SslCertificatesCertificateInformation {

0 commit comments

Comments
 (0)