diff --git a/compiler-rs/clients_schema_to_openapi/src/schemas.rs b/compiler-rs/clients_schema_to_openapi/src/schemas.rs index 02f6674217..052e2194f3 100644 --- a/compiler-rs/clients_schema_to_openapi/src/schemas.rs +++ b/compiler-rs/clients_schema_to_openapi/src/schemas.rs @@ -472,9 +472,9 @@ impl<'a> TypesAndComponents<'a> { data.external_docs = self.convert_external_docs(prop); data.deprecated = prop.deprecation.is_some(); data.description = self.property_description(prop)?; + data.default = prop.server_default.clone().map(|value| { serde_json::json!(value) }); data.extensions = crate::availability_as_extensions(&prop.availability, &self.config.flavor); // TODO: prop.aliases as extensions - // TODO: prop.server_default as extension // TODO: prop.doc_id as extension (new representation of since and stability) // TODO: prop.es_quirk as extension? // TODO: prop.codegen_name as extension? diff --git a/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm b/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm index 14f9b1ccc1..e870f2f7fb 100644 Binary files a/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm and b/compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm differ diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index ba8611effc..6efaa1e786 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -3049,6 +3049,7 @@ }, "max_outstanding_read_requests": { "description": "The maximum number of outstanding reads requests from the remote cluster.", + "default": 12.0, "type": "number" }, "settings": { @@ -3060,6 +3061,7 @@ }, "max_outstanding_write_requests": { "description": "The maximum number of outstanding reads requests from the remote cluster.", + "default": 9.0, "type": "number" }, "read_poll_timeout": { @@ -3067,6 +3069,7 @@ }, "max_read_request_operation_count": { "description": "The maximum number of operations to pull per read from the remote cluster.", + "default": 5120.0, "type": "number" }, "max_read_request_size": { @@ -3077,6 +3080,7 @@ }, "max_write_buffer_count": { "description": "The maximum number of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will be deferred until the number of queued operations goes below the limit.", + "default": 2147483647.0, "type": "number" }, "max_write_buffer_size": { @@ -3084,6 +3088,7 @@ }, "max_write_request_operation_count": { "description": "The maximum number of operations per bulk write request executed on the follower.", + "default": 5120.0, "type": "number" }, "max_write_request_size": { @@ -9831,6 +9836,7 @@ }, "include_ccs_metadata": { "description": "When set to `true` and performing a cross-cluster query, the response will include an extra `_clusters`\nobject with information about the clusters that participated in the search along with info such as shards\ncount.", + "default": false, "type": "boolean" }, "wait_for_completion_timeout": { @@ -9841,6 +9847,7 @@ }, "keep_on_completion": { "description": "Indicates whether the query and its results are stored in the cluster.\nIf false, the query and its results are stored in the cluster only if the request does not complete during the period set by the `wait_for_completion_timeout` parameter.", + "default": false, "type": "boolean" } }, @@ -10246,6 +10253,7 @@ }, "include_ccs_metadata": { "description": "When set to `true` and performing a cross-cluster query, the response will include an extra `_clusters`\nobject with information about the clusters that participated in the search along with info such as shards\ncount.", + "default": false, "type": "boolean" } }, @@ -14275,6 +14283,7 @@ }, "enabled": { "description": "If defined, it turns data stream lifecycle on/off (`true`/`false`) for this data stream. A data stream lifecycle\nthat's disabled (enabled: `false`) will have no effect on the data stream.", + "default": true, "type": "boolean" } } @@ -21170,6 +21179,7 @@ }, "deprecated": { "description": "Marks this ingest pipeline as deprecated.\nWhen a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning.", + "default": false, "type": "boolean" } } @@ -22491,10 +22501,12 @@ "properties": { "allow_no_match": { "description": "Refer to the description for the `allow_no_match` query parameter.", + "default": true, "type": "boolean" }, "force": { "description": "Refer to the descriptiion for the `force` query parameter.", + "default": false, "type": "boolean" }, "timeout": { @@ -22955,6 +22967,7 @@ "properties": { "allow_lazy_start": { "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node. If\nset to `false` and a machine learning node with capacity to run the job\ncannot be immediately found, the API returns an error. If set to `true`,\nthe API does not return an error; the job waits in the `starting` state\nuntil sufficient machine learning node capacity is available. This\nbehavior is also affected by the cluster-wide\n`xpack.ml.max_lazy_ml_nodes` setting.", + "default": false, "type": "boolean" }, "analysis": { @@ -22972,6 +22985,7 @@ }, "max_num_threads": { "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", + "default": 1.0, "type": "number" }, "_meta": { @@ -22979,6 +22993,7 @@ }, "model_memory_limit": { "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", + "default": "1gb", "type": "string" }, "source": { @@ -23276,6 +23291,7 @@ }, "scroll_size": { "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations.\nThe maximum value is the value of `index.max_result_window`, which is 10,000 by default.", + "default": 1000.0, "type": "number" }, "headers": { @@ -23701,6 +23717,7 @@ }, "max_model_memory": { "description": "Refer to the description for the `max_model_memory` query parameter.", + "default": "20mb", "type": "string" } } @@ -23894,6 +23911,7 @@ "properties": { "allow_lazy_open": { "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node. By default, if a machine learning node with capacity to run the job cannot immediately be found, the open anomaly detection jobs API returns an error. However, this is also subject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting. If this option is set to true, the open anomaly detection jobs API does not return an error and the job waits in the opening state until sufficient machine learning node capacity is available.", + "default": false, "type": "boolean" }, "analysis_config": { @@ -23910,6 +23928,7 @@ }, "daily_model_snapshot_retention_after_days": { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies a period of time (in days) after which only the first snapshot per day is retained. This period is relative to the timestamp of the most recent snapshot for this job. Valid values range from 0 to `model_snapshot_retention_days`.", + "default": 1.0, "type": "number" }, "data_description": { @@ -23937,6 +23956,7 @@ }, "model_snapshot_retention_days": { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies the maximum period of time (in days) that snapshots are retained. This period is relative to the timestamp of the most recent snapshot for this job. By default, snapshots ten days older than the newest snapshot are deleted.", + "default": 10.0, "type": "number" }, "renormalization_window_days": { @@ -27270,6 +27290,7 @@ "properties": { "delete_intervening_results": { "description": "Refer to the description for the `delete_intervening_results` query parameter.", + "default": false, "type": "boolean" } } @@ -27791,10 +27812,12 @@ "properties": { "allow_no_match": { "description": "Refer to the description for the `allow_no_match` query parameter.", + "default": true, "type": "boolean" }, "force": { "description": "Refer to the description for the `force` query parameter.", + "default": false, "type": "boolean" }, "timeout": { @@ -27933,14 +27956,17 @@ }, "model_memory_limit": { "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", + "default": "1gb", "type": "string" }, "max_num_threads": { "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", + "default": 1.0, "type": "number" }, "allow_lazy_start": { "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node.", + "default": false, "type": "boolean" } } @@ -28138,6 +28164,7 @@ }, "scroll_size": { "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations.\nThe maximum value is the value of `index.max_result_window`.", + "default": 1000.0, "type": "number" } } @@ -28354,6 +28381,7 @@ "properties": { "allow_lazy_open": { "description": "Advanced configuration option. Specifies whether this job can open when\nthere is insufficient machine learning node capacity for it to be\nimmediately assigned to a node. If `false` and a machine learning node\nwith capacity to run the job cannot immediately be found, the open\nanomaly detection jobs API returns an error. However, this is also\nsubject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting. If this\noption is set to `true`, the open anomaly detection jobs API does not\nreturn an error and the job waits in the opening state until sufficient\nmachine learning node capacity is available.", + "default": false, "type": "boolean" }, "analysis_limits": { @@ -28387,10 +28415,12 @@ }, "daily_model_snapshot_retention_after_days": { "description": "Advanced configuration option, which affects the automatic removal of old\nmodel snapshots for this job. It specifies a period of time (in days)\nafter which only the first snapshot per day is retained. This period is\nrelative to the timestamp of the most recent snapshot for this job. Valid\nvalues range from 0 to `model_snapshot_retention_days`. For jobs created\nbefore version 7.8.0, the default value matches\n`model_snapshot_retention_days`.", + "default": 1.0, "type": "number" }, "model_snapshot_retention_days": { "description": "Advanced configuration option, which affects the automatic removal of old\nmodel snapshots for this job. It specifies the maximum period of time (in\ndays) that snapshots are retained. This period is relative to the\ntimestamp of the most recent snapshot for this job.", + "default": 10.0, "type": "number" }, "renormalization_window_days": { @@ -28574,6 +28604,7 @@ }, "retain": { "description": "If `true`, this snapshot will not be deleted during automatic cleanup of\nsnapshots older than `model_snapshot_retention_days`. However, this\nsnapshot will be deleted when the job is deleted.", + "default": false, "type": "boolean" } } @@ -28655,6 +28686,7 @@ "properties": { "number_of_allocations": { "description": "The number of model allocations on each node where the model is deployed.\nAll allocations on a node share the same copy of the model in memory but use\na separate set of threads to evaluate the model.\nIncreasing this value generally increases the throughput.\nIf this setting is greater than the number of hardware threads\nit will automatically be changed to a value less than the number of hardware threads.\nIf adaptive_allocations is enabled, do not set this value, because it’s automatically set.", + "default": 1.0, "type": "number" }, "adaptive_allocations": { @@ -35090,6 +35122,7 @@ }, "owner": { "description": "Query API keys owned by the currently authenticated user.\nThe `realm_name` or `username` parameters cannot be specified when this parameter is set to `true` as they are assumed to be the currently authenticated ones.\n\nNOTE: At least one of `ids`, `name`, `username`, and `realm_name` must be specified if `owner` is `false`.", + "default": false, "type": "boolean" }, "realm_name": { @@ -40778,14 +40811,17 @@ }, "ignore_unavailable": { "description": "If `true`, the request ignores any index or data stream in indices that's missing from the snapshot.\nIf `false`, the request returns an error for any missing index or data stream.", + "default": false, "type": "boolean" }, "include_aliases": { "description": "If `true`, the request restores aliases for any restored data streams and indices.\nIf `false`, the request doesn’t restore aliases.", + "default": true, "type": "boolean" }, "include_global_state": { "description": "If `true`, restore the cluster state. The cluster state includes:\n\n* Persistent cluster settings\n* Index templates\n* Legacy index templates\n* Ingest pipelines\n* Index lifecycle management (ILM) policies\n* Stored scripts\n* For snapshots taken after 7.12.0, feature states\n\nIf `include_global_state` is `true`, the restore operation merges the legacy index templates in your cluster with the templates contained in the snapshot, replacing any existing ones whose name matches one in the snapshot.\nIt completely removes all persistent settings, non-legacy index templates, ingest pipelines, and ILM lifecycle policies that exist in your cluster and replaces them with the corresponding items from the snapshot.\n\nUse the `feature_states` parameter to configure how feature states are restored.\n\nIf `include_global_state` is `true` and a snapshot was created without a global state then the restore request will fail.", + "default": false, "type": "boolean" }, "index_settings": { @@ -40796,6 +40832,7 @@ }, "partial": { "description": "If `false`, the entire restore operation will fail if one or more indices included in the snapshot do not have all primary shards available.\n\nIf true, it allows restoring a partial snapshot of indices with unavailable shards.\nOnly shards that were successfully included in the snapshot will be restored.\nAll missing shards will be recreated as empty.", + "default": false, "type": "boolean" }, "rename_pattern": { @@ -44299,6 +44336,7 @@ "properties": { "detect_noop": { "description": "If `true`, the `result` in the response is set to `noop` (no operation) when there are no changes to the document.", + "default": true, "type": "boolean" }, "doc": { @@ -44307,6 +44345,7 @@ }, "doc_as_upsert": { "description": "If `true`, use the contents of 'doc' as the value of 'upsert'.\nNOTE: Using ingest pipelines with `doc_as_upsert` is not supported.", + "default": false, "type": "boolean" }, "script": { @@ -44314,6 +44353,7 @@ }, "scripted_upsert": { "description": "If `true`, run the script whether or not the document exists.", + "default": false, "type": "boolean" }, "_source": { @@ -51933,6 +51973,7 @@ "properties": { "boost": { "description": "Floating point number used to decrease or increase the relevance scores of the query.\nBoost values are relative to the default value of 1.0.\nA boost value between 0 and 1.0 decreases the relevance score.\nA value greater than 1.0 increases the relevance score.", + "default": 1.0, "type": "number" }, "_name": { @@ -52021,6 +52062,7 @@ }, "auto_generate_synonyms_phrase_query": { "description": "If true, match phrase queries are automatically created for multi-term synonyms.", + "default": true, "type": "boolean" }, "operator": { @@ -52089,6 +52131,7 @@ }, "tie_breaker": { "description": "Floating point number between 0 and 1.0 used to increase the relevance scores of documents matching multiple query clauses.", + "default": 0.0, "type": "number" } }, @@ -52440,6 +52483,7 @@ }, "factor": { "description": "Optional factor to multiply the field value with.", + "default": 1.0, "type": "number" }, "missing": { @@ -52553,6 +52597,7 @@ }, "explain": { "description": "If `true`, the request returns detailed information about score computation as part of a hit.", + "default": false, "type": "boolean" }, "ext": { @@ -52564,6 +52609,7 @@ }, "from": { "description": "The starting document offset, which must be non-negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", + "default": 0.0, "type": "number" }, "highlight": { @@ -52627,6 +52673,7 @@ }, "profile": { "description": "Set to `true` to return detailed timing information about the execution of individual components in a search request.\nNOTE: This is a debugging tool and adds significant overhead to search execution.", + "default": false, "type": "boolean" }, "query": { @@ -52661,6 +52708,7 @@ }, "size": { "description": "The number of hits to return, which must not be negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` property.", + "default": 10.0, "type": "number" }, "slice": { @@ -52684,6 +52732,7 @@ }, "terminate_after": { "description": "The maximum number of documents to collect for each shard.\nIf a query reaches this limit, Elasticsearch terminates the query early.\nElasticsearch collects documents before sorting.\n\nIMPORTANT: Use with caution.\nElasticsearch applies this property to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this property for requests that target data streams with backing indices across multiple data tiers.\n\nIf set to `0` (default), the query does not terminate early.", + "default": 0.0, "type": "number" }, "timeout": { @@ -52692,10 +52741,12 @@ }, "track_scores": { "description": "If `true`, calculate and return document scores, even if the scores are not used for sorting.", + "default": false, "type": "boolean" }, "version": { "description": "If `true`, the request returns the document version as part of a hit.", + "default": false, "type": "boolean" }, "seq_no_primary_term": { @@ -52763,10 +52814,12 @@ }, "size": { "description": "The maximum number of hits to return per `inner_hits`.", + "default": 3.0, "type": "number" }, "from": { "description": "Inner hit starting document offset.", + "default": 0.0, "type": "number" }, "collapse": { @@ -52812,6 +52865,7 @@ "$ref": "#/components/schemas/_types.Fields" }, "track_scores": { + "default": false, "type": "boolean" }, "version": { @@ -52915,10 +52969,12 @@ }, "boundary_chars": { "description": "A string that contains each boundary character.", + "default": ".,!? \\t\\n", "type": "string" }, "boundary_max_scan": { "description": "How far to scan for boundary characters.", + "default": 20.0, "type": "number" }, "boundary_scanner": { @@ -52926,6 +52982,7 @@ }, "boundary_scanner_locale": { "description": "Controls which locale is used to search for sentence and word boundaries.\nThis parameter takes a form of a language tag, for example: `\"en-US\"`, `\"fr-FR\"`, `\"ja-JP\"`.", + "default": "Locale.ROOT", "type": "string" }, "force_source": { @@ -52937,6 +52994,7 @@ }, "fragment_size": { "description": "The size of the highlighted fragment in characters.", + "default": 100.0, "type": "number" }, "highlight_filter": { @@ -52954,10 +53012,12 @@ }, "no_match_size": { "description": "The amount of text you want to return from the beginning of the field if there are no matching fragments to highlight.", + "default": 0.0, "type": "number" }, "number_of_fragments": { "description": "The maximum number of fragments to return.\nIf the number of fragments is set to `0`, no fragments are returned.\nInstead, the entire field contents are highlighted and returned.\nThis can be handy when you need to highlight short texts such as a title or address, but fragmentation is not required.\nIf `number_of_fragments` is `0`, `fragment_size` is ignored.", + "default": 5.0, "type": "number" }, "options": { @@ -52971,6 +53031,7 @@ }, "phrase_limit": { "description": "Controls the number of matching phrases in a document that are considered.\nPrevents the `fvh` highlighter from analyzing too many phrases and consuming too much memory.\nWhen using `matched_fields`, `phrase_limit` phrases per matched field are considered. Raising the limit increases query time and consumes more memory.\nOnly supported by the `fvh` highlighter.", + "default": 256.0, "type": "number" }, "post_tags": { @@ -52989,6 +53050,7 @@ }, "require_field_match": { "description": "By default, only fields that contains a query match are highlighted.\nSet to `false` to highlight all fields.", + "default": true, "type": "boolean" }, "tags_schema": { @@ -53402,10 +53464,12 @@ }, "query_weight": { "description": "Relative importance of the original query versus the rescore query.", + "default": 1.0, "type": "number" }, "rescore_query_weight": { "description": "Relative importance of the rescore query versus the original query.", + "default": 1.0, "type": "number" }, "score_mode": { @@ -53974,10 +54038,12 @@ "properties": { "max_expansions": { "description": "Maximum number of variations created.", + "default": 50.0, "type": "number" }, "prefix_length": { "description": "Number of beginning characters left unchanged when creating expansions.", + "default": 0.0, "type": "number" }, "rewrite": { @@ -53985,6 +54051,7 @@ }, "transpositions": { "description": "Indicates whether edits include transpositions of two adjacent characters (for example `ab` to `ba`).", + "default": true, "type": "boolean" }, "fuzziness": { @@ -54040,6 +54107,7 @@ }, "ignore_unmapped": { "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", + "default": false, "type": "boolean" } } @@ -54080,6 +54148,7 @@ }, "ignore_unmapped": { "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", + "default": false, "type": "boolean" } }, @@ -54140,6 +54209,7 @@ "properties": { "ignore_unmapped": { "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", + "default": false, "type": "boolean" } } @@ -54156,6 +54226,7 @@ "properties": { "ignore_unmapped": { "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", + "default": false, "type": "boolean" }, "inner_hits": { @@ -54209,6 +54280,7 @@ "properties": { "ignore_unmapped": { "description": "Indicates whether to ignore an unmapped `parent_type` and not return any documents instead of an error.\nYou can use this parameter to query multiple indices that may not contain the `parent_type`.", + "default": false, "type": "boolean" }, "inner_hits": { @@ -54222,6 +54294,7 @@ }, "score": { "description": "Indicates whether the relevance score of a matching parent document is aggregated into its child documents.", + "default": false, "type": "boolean" } }, @@ -54313,10 +54386,12 @@ }, "max_gaps": { "description": "Maximum number of positions between the matching terms.\nIntervals produced by the rules further apart than this are not considered matches.", + "default": -1.0, "type": "number" }, "ordered": { "description": "If `true`, intervals produced by the rules should appear in the order in which they are specified.", + "default": false, "type": "boolean" }, "filter": { @@ -54422,6 +54497,7 @@ }, "prefix_length": { "description": "Number of beginning characters left unchanged when creating expansions.", + "default": 0.0, "type": "number" }, "term": { @@ -54430,6 +54506,7 @@ }, "transpositions": { "description": "Indicates whether edits include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "default": true, "type": "boolean" }, "use_field": { @@ -54449,10 +54526,12 @@ }, "max_gaps": { "description": "Maximum number of positions between the matching terms.\nTerms further apart than this are not considered matches.", + "default": -1.0, "type": "number" }, "ordered": { "description": "If `true`, matching terms must appear in their specified order.", + "default": false, "type": "boolean" }, "query": { @@ -54622,6 +54701,7 @@ }, "auto_generate_synonyms_phrase_query": { "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", + "default": true, "type": "boolean" }, "cutoff_frequency": { @@ -54636,14 +54716,17 @@ }, "fuzzy_transpositions": { "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "default": true, "type": "boolean" }, "lenient": { "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", + "default": false, "type": "boolean" }, "max_expansions": { "description": "Maximum number of terms to which the query will expand.", + "default": 50.0, "type": "number" }, "minimum_should_match": { @@ -54654,6 +54737,7 @@ }, "prefix_length": { "description": "Number of beginning characters left unchanged for fuzzy matching.", + "default": 0.0, "type": "number" }, "query": { @@ -54717,10 +54801,12 @@ }, "fuzzy_transpositions": { "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", + "default": true, "type": "boolean" }, "max_expansions": { "description": "Maximum number of terms to which the query will expand.\nCan be applied to the term subqueries constructed for all terms but the final term.", + "default": 50.0, "type": "number" }, "minimum_should_match": { @@ -54731,6 +54817,7 @@ }, "prefix_length": { "description": "Number of beginning characters left unchanged for fuzzy matching.\nCan be applied to the term subqueries constructed for all terms but the final term.", + "default": 0.0, "type": "number" }, "query": { @@ -54772,6 +54859,7 @@ }, "slop": { "description": "Maximum number of positions allowed between matching tokens.", + "default": 0.0, "type": "number" }, "zero_terms_query": { @@ -54798,6 +54886,7 @@ }, "max_expansions": { "description": "Maximum number of terms to which the last provided term of the query value will expand.", + "default": 50.0, "type": "number" }, "query": { @@ -54806,6 +54895,7 @@ }, "slop": { "description": "Maximum number of positions allowed between matching tokens.", + "default": 0.0, "type": "number" }, "zero_terms_query": { @@ -54835,10 +54925,12 @@ }, "boost_terms": { "description": "Each term in the formed query could be further boosted by their tf-idf score.\nThis sets the boost factor to use when using this feature.\nDefaults to deactivated (0).", + "default": 0.0, "type": "number" }, "fail_on_unsupported_field": { "description": "Controls whether the query should fail (throw an exception) if any of the specified fields are not of the supported types (`text` or `keyword`).", + "default": true, "type": "boolean" }, "fields": { @@ -54850,6 +54942,7 @@ }, "include": { "description": "Specifies whether the input documents should also be included in the search results returned.", + "default": false, "type": "boolean" }, "like": { @@ -54872,14 +54965,17 @@ }, "max_query_terms": { "description": "The maximum number of query terms that can be selected.", + "default": 25.0, "type": "number" }, "max_word_length": { "description": "The maximum word length above which the terms are ignored.\nDefaults to unbounded (`0`).", + "default": 0.0, "type": "number" }, "min_doc_freq": { "description": "The minimum document frequency below which the terms are ignored from the input document.", + "default": 5.0, "type": "number" }, "minimum_should_match": { @@ -54887,10 +54983,12 @@ }, "min_term_freq": { "description": "The minimum term frequency below which the terms are ignored from the input document.", + "default": 2.0, "type": "number" }, "min_word_length": { "description": "The minimum word length below which the terms are ignored.", + "default": 0.0, "type": "number" }, "routing": { @@ -55053,6 +55151,7 @@ }, "auto_generate_synonyms_phrase_query": { "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", + "default": true, "type": "boolean" }, "cutoff_frequency": { @@ -55070,14 +55169,17 @@ }, "fuzzy_transpositions": { "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", + "default": true, "type": "boolean" }, "lenient": { "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", + "default": false, "type": "boolean" }, "max_expansions": { "description": "Maximum number of terms to which the query will expand.", + "default": 50.0, "type": "number" }, "minimum_should_match": { @@ -55088,6 +55190,7 @@ }, "prefix_length": { "description": "Number of beginning characters left unchanged for fuzzy matching.", + "default": 0.0, "type": "number" }, "query": { @@ -55096,10 +55199,12 @@ }, "slop": { "description": "Maximum number of positions allowed between matching tokens.", + "default": 0.0, "type": "number" }, "tie_breaker": { "description": "Determines how scores for each per-term blended query and scores across groups are combined.", + "default": 0.0, "type": "number" }, "type": { @@ -55136,6 +55241,7 @@ "properties": { "ignore_unmapped": { "description": "Indicates whether to ignore an unmapped path and not return any documents instead of an error.", + "default": false, "type": "boolean" }, "inner_hits": { @@ -55171,6 +55277,7 @@ }, "ignore_unmapped": { "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", + "default": false, "type": "boolean" }, "type": { @@ -55306,6 +55413,7 @@ }, "case_insensitive": { "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nDefault is `false` which means the case sensitivity of matching depends on the underlying field’s mapping.", + "default": false, "x-state": "Generally available; Added in 7.10.0", "type": "boolean" } @@ -55326,6 +55434,7 @@ "properties": { "allow_leading_wildcard": { "description": "If `true`, the wildcard characters `*` and `?` are allowed as the first character of the query string.", + "default": true, "type": "boolean" }, "analyzer": { @@ -55334,10 +55443,12 @@ }, "analyze_wildcard": { "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", + "default": false, "type": "boolean" }, "auto_generate_synonyms_phrase_query": { "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", + "default": true, "type": "boolean" }, "default_field": { @@ -55348,9 +55459,11 @@ }, "enable_position_increments": { "description": "If `true`, enable position increments in queries constructed from a `query_string` search.", + "default": true, "type": "boolean" }, "escape": { + "default": false, "type": "boolean" }, "fields": { @@ -55365,10 +55478,12 @@ }, "fuzzy_max_expansions": { "description": "Maximum number of terms to which the query expands for fuzzy matching.", + "default": 50.0, "type": "number" }, "fuzzy_prefix_length": { "description": "Number of beginning characters left unchanged for fuzzy matching.", + "default": 0.0, "type": "number" }, "fuzzy_rewrite": { @@ -55376,14 +55491,17 @@ }, "fuzzy_transpositions": { "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "default": true, "type": "boolean" }, "lenient": { "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", + "default": false, "type": "boolean" }, "max_determinized_states": { "description": "Maximum number of automaton states required for the query.", + "default": 10000.0, "type": "number" }, "minimum_should_match": { @@ -55391,6 +55509,7 @@ }, "phrase_slop": { "description": "Maximum number of positions allowed between matching tokens for phrases.", + "default": 0.0, "type": "number" }, "query": { @@ -55746,6 +55865,7 @@ "properties": { "case_insensitive": { "description": "Allows case insensitive matching of the regular expression value with the indexed field values when set to `true`.\nWhen `false`, case sensitivity of matching depends on the underlying field’s mapping.", + "default": false, "x-state": "Generally available; Added in 7.10.0", "type": "boolean" }, @@ -55755,6 +55875,7 @@ }, "max_determinized_states": { "description": "Maximum number of automaton states required for the query.", + "default": 10000.0, "type": "number" }, "rewrite": { @@ -55907,10 +56028,12 @@ }, "analyze_wildcard": { "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", + "default": false, "type": "boolean" }, "auto_generate_synonyms_phrase_query": { "description": "If `true`, the parser creates a match_phrase query for each multi-position token.", + "default": true, "type": "boolean" }, "default_operator": { @@ -55928,10 +56051,12 @@ }, "fuzzy_max_expansions": { "description": "Maximum number of terms to which the query expands for fuzzy matching.", + "default": 50.0, "type": "number" }, "fuzzy_prefix_length": { "description": "Number of beginning characters left unchanged for fuzzy matching.", + "default": 0.0, "type": "number" }, "fuzzy_transpositions": { @@ -55940,6 +56065,7 @@ }, "lenient": { "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", + "default": false, "type": "boolean" }, "minimum_should_match": { @@ -56184,10 +56310,12 @@ }, "post": { "description": "The number of tokens after the include span that can’t have overlap with the exclude span.", + "default": 0.0, "type": "number" }, "pre": { "description": "The number of tokens before the include span that can’t have overlap with the exclude span.", + "default": 0.0, "type": "number" } }, @@ -56319,14 +56447,17 @@ "properties": { "tokens_freq_ratio_threshold": { "description": "Tokens whose frequency is more than this threshold times the average frequency of all tokens in the specified field are considered outliers and pruned.", + "default": 5.0, "type": "number" }, "tokens_weight_threshold": { "description": "Tokens whose weight is less than this threshold are considered nonsignificant and pruned.", + "default": 0.4, "type": "number" }, "only_score_pruned_tokens": { "description": "Whether to only score pruned tokens, vs only scoring kept tokens.", + "default": false, "type": "boolean" } } @@ -56344,6 +56475,7 @@ }, "case_insensitive": { "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nWhen `false`, the case sensitivity of matching depends on the underlying field’s mapping.", + "default": false, "x-state": "Generally available; Added in 7.10.0", "type": "boolean" } @@ -56549,6 +56681,7 @@ "properties": { "buckets": { "description": "The target number of buckets.", + "default": 10.0, "type": "number" }, "field": { @@ -56913,6 +57046,7 @@ "properties": { "precision_threshold": { "description": "A unique count below which counts are expected to be close to accurate.\nThis allows to trade memory for accuracy.", + "default": 3000.0, "type": "number" }, "rehash": { @@ -56949,14 +57083,17 @@ }, "max_unique_tokens": { "description": "The maximum number of unique tokens at any position up to max_matched_tokens. Must be larger than 1.\nSmaller values use less memory and create fewer categories. Larger values will use more memory and\ncreate narrower categories. Max allowed value is 100.", + "default": 50.0, "type": "number" }, "max_matched_tokens": { "description": "The maximum number of token positions to match on before attempting to merge categories. Larger\nvalues will use more memory and create narrower categories. Max allowed value is 100.", + "default": 5.0, "type": "number" }, "similarity_threshold": { "description": "The minimum percentage of tokens that must match for text to be added to the category bucket. Must\nbe between 1 and 100. The larger the value the narrower the categories. Larger values will increase memory\nusage and create narrower categories.", + "default": 50.0, "type": "number" }, "categorization_filters": { @@ -56975,6 +57112,7 @@ }, "size": { "description": "The number of buckets to return.", + "default": 10.0, "type": "number" }, "min_doc_count": { @@ -57050,6 +57188,7 @@ }, "size": { "description": "The number of composite buckets that should be returned.", + "default": 10.0, "type": "number" }, "sources": { @@ -57425,6 +57564,7 @@ }, "max_docs_per_value": { "description": "Limits how many documents are permitted per choice of de-duplicating value.", + "default": 1.0, "type": "number" }, "script": { @@ -57432,6 +57572,7 @@ }, "shard_size": { "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", + "default": 100.0, "type": "number" }, "field": { @@ -57493,14 +57634,17 @@ }, "minimum_set_size": { "description": "The minimum size of one item set.", + "default": 1.0, "type": "number" }, "minimum_support": { "description": "The minimum support of one item set.", + "default": 0.1, "type": "number" }, "size": { "description": "The number of top item sets to return.", + "default": 10.0, "type": "number" }, "filter": { @@ -57591,10 +57735,12 @@ }, "other_bucket_key": { "description": "The key with which the other bucket is returned.", + "default": "_other_", "type": "string" }, "keyed": { "description": "By default, the named filters aggregation returns the buckets as an object.\nSet to `false` to return the buckets as an array of objects.", + "default": true, "type": "boolean" } } @@ -57628,6 +57774,7 @@ "properties": { "wrap_longitude": { "description": "Specifies whether the bounding box should be allowed to overlap the international date line.", + "default": true, "type": "boolean" } } @@ -57739,6 +57886,7 @@ }, "size": { "description": "The maximum number of geohash buckets to return.", + "default": 10000.0, "type": "number" } } @@ -57774,6 +57922,7 @@ }, "size": { "description": "The maximum length of the line represented in the aggregation.\nValid sizes are between 1 and 10000.", + "default": 10000.0, "type": "number" } }, @@ -57824,6 +57973,7 @@ }, "size": { "description": "The maximum number of buckets to return.", + "default": 10000.0, "type": "number" }, "bounds": { @@ -57849,6 +57999,7 @@ }, "precision": { "description": "Integer zoom of the key used to defined cells or buckets\nin the results. Value should be between 0-15.", + "default": 6.0, "type": "number" }, "bounds": { @@ -57856,6 +58007,7 @@ }, "size": { "description": "Maximum number of buckets to return.", + "default": 10000.0, "type": "number" }, "shard_size": { @@ -57923,6 +58075,7 @@ }, "keyed": { "description": "If `true`, returns buckets as a hash instead of an array, keyed by the bucket keys.", + "default": false, "type": "boolean" } } @@ -58014,10 +58167,12 @@ }, "is_ipv6": { "description": "Defines whether the prefix applies to IPv6 addresses.", + "default": false, "type": "boolean" }, "append_prefix_length": { "description": "Defines whether the prefix length is appended to IP address keys in the response.", + "default": false, "type": "boolean" }, "keyed": { @@ -58026,6 +58181,7 @@ }, "min_doc_count": { "description": "Minimum number of documents in a bucket for it to be included in the response.", + "default": 1.0, "type": "number" } }, @@ -58078,6 +58234,7 @@ }, "num_top_feature_importance_values": { "description": "Specifies the maximum number of feature importance values per document.", + "default": 0.0, "type": "number" } } @@ -58091,6 +58248,7 @@ }, "num_top_feature_importance_values": { "description": "Specifies the maximum number of feature importance values per document.", + "default": 0.0, "type": "number" }, "prediction_field_type": { @@ -58174,6 +58332,7 @@ "properties": { "compression": { "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", + "default": 1000.0, "type": "number" }, "execution_hint": { @@ -58456,6 +58615,7 @@ }, "shift": { "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", + "default": 0.0, "type": "number" }, "keyed": { @@ -58479,6 +58639,7 @@ }, "shift": { "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", + "default": 0.0, "type": "number" }, "window": { @@ -58505,10 +58666,12 @@ }, "min_doc_count": { "description": "The minimum number of documents in a bucket for it to be returned.", + "default": 1.0, "type": "number" }, "shard_min_doc_count": { "description": "The minimum number of documents in a bucket on each shard for it to be returned.", + "default": 1.0, "type": "number" }, "shard_size": { @@ -58517,10 +58680,12 @@ }, "show_term_doc_count_error": { "description": "Calculates the doc count error on per term basis.", + "default": false, "type": "boolean" }, "size": { "description": "The number of term buckets should be returned out of the overall terms list.", + "default": 10.0, "type": "number" }, "terms": { @@ -58624,6 +58789,7 @@ "properties": { "keyed": { "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", + "default": true, "type": "boolean" }, "values": { @@ -58682,6 +58848,7 @@ "properties": { "keyed": { "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", + "default": true, "type": "boolean" }, "percents": { @@ -58775,6 +58942,7 @@ }, "max_doc_count": { "description": "The maximum number of documents a term should appear in.", + "default": 1.0, "type": "number" }, "missing": { @@ -58782,6 +58950,7 @@ }, "precision": { "description": "The precision of the internal CuckooFilters.\nSmaller precision leads to better approximation, but higher memory usage.", + "default": 0.001, "type": "number" }, "value_type": { @@ -58869,6 +59038,7 @@ "properties": { "shard_size": { "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", + "default": 100.0, "type": "number" } } @@ -58956,6 +59126,7 @@ }, "min_doc_count": { "description": "Only return terms that are found in more than `min_doc_count` hits.", + "default": 3.0, "type": "number" }, "mutual_information": { @@ -59083,6 +59254,7 @@ }, "min_doc_count": { "description": "Only return values that are found in more than `min_doc_count` hits.", + "default": 3.0, "type": "number" }, "mutual_information": { @@ -59143,6 +59315,7 @@ "properties": { "show_distribution": { "description": "Shows the probability distribution for all characters.", + "default": false, "type": "boolean" } } @@ -59194,6 +59367,7 @@ }, "min_doc_count": { "description": "Only return values that are found in more than `min_doc_count` hits.", + "default": 1.0, "type": "number" }, "missing": { @@ -59229,6 +59403,7 @@ }, "size": { "description": "The number of buckets returned out of the overall terms list.", + "default": 10.0, "type": "number" }, "format": { @@ -59248,6 +59423,7 @@ "properties": { "size": { "description": "The maximum number of results to return.", + "default": 10000.0, "type": "number" }, "keyed": { @@ -59275,6 +59451,7 @@ }, "explain": { "description": "If `true`, returns detailed information about score computation as part of a hit.", + "default": false, "type": "boolean" }, "fields": { @@ -59286,6 +59463,7 @@ }, "from": { "description": "Starting document offset.", + "default": 0.0, "type": "number" }, "highlight": { @@ -59300,6 +59478,7 @@ }, "size": { "description": "The maximum number of top matching hits to return per bucket.", + "default": 3.0, "type": "number" }, "sort": { @@ -59313,10 +59492,12 @@ }, "track_scores": { "description": "If `true`, calculates and returns document scores, even if the scores are not used for sorting.", + "default": false, "type": "boolean" }, "version": { "description": "If `true`, returns document version as part of a hit.", + "default": false, "type": "boolean" }, "seq_no_primary_term": { @@ -59397,6 +59578,7 @@ }, "size": { "description": "The number of top documents from which to return metrics.", + "default": 1.0, "type": "number" }, "sort": { @@ -59490,6 +59672,7 @@ }, "buckets": { "description": "The target number of buckets.", + "default": 10.0, "type": "number" }, "shard_size": { @@ -59695,6 +59878,7 @@ }, "require_alias": { "description": "If `true`, the request's actions must target an index alias.", + "default": false, "type": "boolean" } } @@ -59747,6 +59931,7 @@ "properties": { "require_alias": { "description": "If `true`, the request's actions must target an index alias.", + "default": false, "type": "boolean" }, "retry_on_conflict": { @@ -59772,6 +59957,7 @@ "properties": { "detect_noop": { "description": "If true, the `result` in the response is set to 'noop' when no changes to the document occur.", + "default": true, "type": "boolean" }, "doc": { @@ -59780,6 +59966,7 @@ }, "doc_as_upsert": { "description": "Set to `true` to use the contents of `doc` as the value of `upsert`.", + "default": false, "type": "boolean" }, "script": { @@ -59787,6 +59974,7 @@ }, "scripted_upsert": { "description": "Set to `true` to run the script whether or not the document exists.", + "default": false, "type": "boolean" }, "_source": { @@ -63820,6 +64008,7 @@ "$ref": "#/components/schemas/indices._types.IndexSegmentSort" }, "number_of_shards": { + "default": "1", "x-state": "Generally available", "oneOf": [ { @@ -63831,6 +64020,7 @@ ] }, "number_of_replicas": { + "default": "0", "x-state": "Generally available", "oneOf": [ { @@ -63848,15 +64038,18 @@ "$ref": "#/components/schemas/indices._types.IndexCheckOnStartup" }, "codec": { + "default": "LZ4", "type": "string" }, "routing_partition_size": { "$ref": "#/components/schemas/_spec_utils.Stringifiedinteger" }, "load_fixed_bitset_filters_eagerly": { + "default": true, "type": "boolean" }, "hidden": { + "default": "false", "oneOf": [ { "type": "boolean" @@ -63867,6 +64060,7 @@ ] }, "auto_expand_replicas": { + "default": "false", "oneOf": [ { "type": "string" @@ -63886,24 +64080,31 @@ "$ref": "#/components/schemas/_types.Duration" }, "max_result_window": { + "default": 10000.0, "type": "number" }, "max_inner_result_window": { + "default": 100.0, "type": "number" }, "max_rescore_window": { + "default": 10000.0, "type": "number" }, "max_docvalue_fields_search": { + "default": 100.0, "type": "number" }, "max_script_fields": { + "default": 32.0, "type": "number" }, "max_ngram_diff": { + "default": 1.0, "type": "number" }, "max_shingle_diff": { + "default": 3.0, "type": "number" }, "blocks": { @@ -63919,9 +64120,11 @@ "$ref": "#/components/schemas/indices._types.SettingsHighlight" }, "max_terms_count": { + "default": 65536.0, "type": "number" }, "max_regex_length": { + "default": 1000.0, "type": "number" }, "routing": { @@ -64034,6 +64237,7 @@ "properties": { "enabled": { "description": "Indicates whether soft deletes are enabled on the index.", + "default": true, "type": "boolean" }, "retention_lease": { @@ -64274,6 +64478,7 @@ "type": "object", "properties": { "max_analyzed_offset": { + "default": 1000000.0, "type": "number" } } @@ -64383,6 +64588,7 @@ }, "origination_date": { "description": "If specified, this is the timestamp used to calculate the index age for its phase transitions. Use this setting\nif you create a new index that contains old data and want to use the original creation date to calculate the index\nage. Specified as a Unix epoch value in milliseconds.", + "default": 0.0, "type": "number" }, "parse_origination_date": { @@ -64394,10 +64600,12 @@ }, "rollover_alias": { "description": "The index alias to update when the index rolls over. Specify when using a policy that contains a rollover action.\nWhen the index rolls over, the alias is updated to reflect that the index is no longer the write index. For more\ninformation about rolling indices, see Rollover.", + "default": "", "type": "string" }, "prefer_ilm": { "description": "Preference for the system that manages a data stream backing index (preferring ILM when both ILM and DLM are\napplicable for an index).", + "default": "true", "oneOf": [ { "type": "boolean" @@ -64743,6 +64951,7 @@ }, "max_output_size": { "description": "The maximum token size to emit. Tokens larger than this size will be discarded.\nDefaults to `255`", + "default": 255.0, "type": "number" }, "separator": { @@ -64833,10 +65042,12 @@ }, "lowercase": { "description": "Should terms be lowercased or not.\nDefaults to `true`.", + "default": true, "type": "boolean" }, "pattern": { "description": "A Java regular expression.\nDefaults to `\\W+`.", + "default": "\\W+", "type": "string" }, "stopwords": { @@ -64879,6 +65090,7 @@ }, "max_token_length": { "description": "The maximum token length. If a token is seen that exceeds this length then it is split at `max_token_length` intervals.\nDefaults to `255`.", + "default": 255.0, "type": "number" }, "stopwords": { @@ -68943,6 +69155,7 @@ ] }, "buffer_size": { + "default": 256.0, "type": "number" } }, @@ -69018,6 +69231,7 @@ "type": "number" }, "token_chars": { + "default": [], "type": "array", "items": { "$ref": "#/components/schemas/_types.analysis.TokenChar" @@ -69664,6 +69878,7 @@ "properties": { "limit": { "description": "The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.\nThe limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance\ndegradations and memory issues, especially in clusters with a high load or few resources.", + "default": "1000", "oneOf": [ { "type": "number" @@ -69675,6 +69890,7 @@ }, "ignore_dynamic_beyond_limit": { "description": "This setting determines what happens when a dynamically mapped field would exceed the total fields limit. When set\nto false (the default), the index request of the document that tries to add a dynamic field to the mapping will fail\nwith the message Limit of total fields [X] has been exceeded. When set to true, the index request will not fail.\nInstead, fields that would exceed the limit are not added to the mapping, similar to dynamic: false.\nThe fields that were not added to the mapping will be added to the _ignored field.", + "default": "false", "oneOf": [ { "type": "boolean" @@ -69691,6 +69907,7 @@ "properties": { "limit": { "description": "The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined\nat the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.", + "default": 20.0, "type": "number" } } @@ -69700,6 +69917,7 @@ "properties": { "limit": { "description": "The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when\narrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this\nsetting limits the number of unique nested types per index.", + "default": 50.0, "type": "number" } } @@ -69709,6 +69927,7 @@ "properties": { "limit": { "description": "The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps\nto prevent out of memory errors when a document contains too many nested objects.", + "default": 10000.0, "type": "number" } } @@ -71930,6 +72149,7 @@ }, "index": { "description": "If `true`, you can search this field using the kNN search API.", + "default": true, "type": "boolean" }, "index_options": { @@ -71962,10 +72182,12 @@ }, "ef_construction": { "description": "The number of candidates to track while assembling the list of nearest neighbors for each new node.\n\nOnly applicable to `hnsw`, `int8_hnsw`, `bbq_hnsw`, and `int4_hnsw` index types.", + "default": 100.0, "type": "number" }, "m": { "description": "The number of neighbors each node will be connected to in the HNSW graph.\n\nOnly applicable to `hnsw`, `int8_hnsw`, `bbq_hnsw`, and `int4_hnsw` index types.", + "default": 16.0, "type": "number" }, "type": { @@ -72236,18 +72458,22 @@ "properties": { "strategy": { "description": "The chunking strategy: `sentence` or `word`.", + "default": "sentence", "type": "string" }, "max_chunk_size": { "description": "The maximum size of a chunk in words.\nThis value cannot be higher than `300` or lower than `20` (for `sentence` strategy) or `10` (for `word` strategy).", + "default": 250.0, "type": "number" }, "overlap": { "description": "The number of overlapping words for chunks.\nIt is applicable only to a `word` chunking strategy.\nThis value cannot be higher than half the `max_chunk_size` value.", + "default": 100.0, "type": "number" }, "sentence_overlap": { "description": "The number of overlapping sentences for chunks.\nIt is applicable only for a `sentence` chunking strategy.\nIt can be either `1` or `0`.", + "default": 1.0, "type": "number" } }, @@ -72779,6 +73005,7 @@ }, "time_series_dimension": { "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", + "default": false, "x-state": "Technical preview", "type": "boolean" } @@ -73319,6 +73546,7 @@ }, "is_write_index": { "description": "If `true`, the index is the write index for the alias.", + "default": false, "type": "boolean" }, "routing": { @@ -73331,6 +73559,7 @@ }, "is_hidden": { "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", + "default": false, "x-state": "Generally available; Added in 7.16.0", "type": "boolean" } @@ -73399,6 +73628,7 @@ }, "enabled": { "description": "If defined, it turns data stream lifecycle on/off (`true`/`false`) for this data stream. A data stream lifecycle\nthat's disabled (enabled: `false`) will have no effect on the data stream.", + "default": true, "type": "boolean" } } @@ -73467,6 +73697,7 @@ "properties": { "enabled": { "description": "If defined, it turns the failure store on/off (`true`/`false`) for this data stream. A data stream failure store\nthat's disabled (enabled: `false`) will redirect no new failed indices to the failure store; however, it will\nnot remove any existing data from the failure store.", + "default": "true", "oneOf": [ { "type": "boolean" @@ -73509,6 +73740,7 @@ }, "enabled": { "description": "If defined, it turns data stream lifecycle on/off (`true`/`false`) for this data stream. A data stream lifecycle\nthat's disabled (enabled: `false`) will have no effect on the data stream.", + "default": true, "type": "boolean" } } @@ -74194,10 +74426,12 @@ }, "is_hidden": { "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", + "default": false, "type": "boolean" }, "is_write_index": { "description": "If `true`, the index is the write index for the alias.", + "default": false, "type": "boolean" }, "routing": { @@ -78332,14 +78566,17 @@ }, "min_doc_count": { "description": "Specifies how many documents must contain a pair of terms before it is considered to be a useful connection.\nThis setting acts as a certainty threshold.", + "default": 3.0, "type": "number" }, "shard_min_doc_count": { "description": "Controls how many documents on a particular shard have to contain a pair of terms before the connection is returned for global consideration.", + "default": 2.0, "type": "number" }, "size": { "description": "Specifies the maximum number of vertex terms returned for each field.", + "default": 5.0, "type": "number" } }, @@ -78369,6 +78606,7 @@ }, "sample_size": { "description": "Each hop considers a sample of the best-matching documents on each shard.\nUsing samples improves the speed of execution and keeps exploration focused on meaningfully-connected terms.\nVery small values (less than 50) might not provide sufficient weight-of-evidence to identify significant connections between terms.\nVery large sample sizes can dilute the quality of the results and increase execution times.", + "default": 100.0, "type": "number" }, "timeout": { @@ -79758,6 +79996,7 @@ }, "remove_index_blocks": { "description": "If index blocks should be removed when creating destination index (optional)", + "default": true, "type": "boolean" } } @@ -80145,6 +80384,7 @@ "properties": { "enabled": { "description": "If defined, it turns the failure store on/off (`true`/`false`) for this data stream. A data stream failure store\nthat's disabled (enabled: `false`) will redirect no new failed indices to the failure store; however, it will\nnot remove any existing data from the failure store.", + "default": true, "type": "boolean" }, "lifecycle": { @@ -80161,6 +80401,7 @@ }, "enabled": { "description": "If defined, it turns data stream lifecycle on/off (`true`/`false`) for this data stream. A data stream lifecycle\nthat's disabled (enabled: `false`) will have no effect on the data stream.", + "default": true, "type": "boolean" } } @@ -80318,10 +80559,12 @@ "properties": { "hidden": { "description": "If true, the data stream is hidden.", + "default": false, "type": "boolean" }, "allow_custom_routing": { "description": "If true, the data stream supports custom routing.", + "default": false, "type": "boolean" } } @@ -82239,6 +82482,7 @@ }, "is_hidden": { "description": "If `true`, the alias is hidden.", + "default": false, "type": "boolean" }, "is_write_index": { @@ -82253,6 +82497,7 @@ }, "must_exist": { "description": "If `true`, the alias must exist to perform the action.", + "default": false, "type": "boolean" } } @@ -82285,6 +82530,7 @@ }, "must_exist": { "description": "If `true`, the alias must exist to perform the action.", + "default": false, "type": "boolean" } } @@ -82300,6 +82546,7 @@ }, "must_exist": { "description": "If `true`, the alias must exist to perform the action.", + "default": false, "type": "boolean" } } @@ -82669,18 +82916,22 @@ "properties": { "max_chunk_size": { "description": "The maximum size of a chunk in words.\nThis value cannot be higher than `300` or lower than `20` (for `sentence` strategy) or `10` (for `word` strategy).", + "default": 250.0, "type": "number" }, "overlap": { "description": "The number of overlapping words for chunks.\nIt is applicable only to a `word` chunking strategy.\nThis value cannot be higher than half the `max_chunk_size` value.", + "default": 100.0, "type": "number" }, "sentence_overlap": { "description": "The number of overlapping sentences for chunks.\nIt is applicable only for a `sentence` chunking strategy.\nIt can be either `1` or `0`.", + "default": 1.0, "type": "number" }, "strategy": { "description": "The chunking strategy: `sentence` or `word`.", + "default": "sentence", "type": "string" } } @@ -82971,6 +83222,7 @@ "properties": { "max_new_tokens": { "description": "For a `completion` task, it sets the maximum number for the output tokens to be generated.", + "default": 64.0, "type": "number" }, "temperature": { @@ -83163,6 +83415,7 @@ }, "max_new_tokens": { "description": "For a `completion` task, provide a hint for the maximum number of output tokens to be generated.", + "default": 64.0, "type": "number" }, "temperature": { @@ -83543,6 +83796,7 @@ "properties": { "enabled": { "description": "Turn on `adaptive_allocations`.", + "default": false, "type": "boolean" }, "max_number_of_allocations": { @@ -83560,6 +83814,7 @@ "properties": { "return_documents": { "description": "For a `rerank` task, return the document instead of only the index.", + "default": true, "type": "boolean" } } @@ -84126,6 +84381,7 @@ }, "url": { "description": "The URL endpoint to use for the requests.\nIt can be changed for testing purposes.", + "default": "https://api.openai.com/v1/embeddings.", "type": "string" } }, @@ -84228,6 +84484,7 @@ }, "return_documents": { "description": "Whether to return the source documents in the response.\nOnly for the `rerank` task type.", + "default": false, "type": "boolean" }, "top_k": { @@ -84236,6 +84493,7 @@ }, "truncation": { "description": "Whether to truncate the input texts to fit within the context length.", + "default": true, "type": "boolean" } } @@ -84699,6 +84957,7 @@ }, "deprecated": { "description": "Marks this ingest pipeline as deprecated.\nWhen a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning.", + "default": false, "type": "boolean" }, "_meta": { @@ -84875,6 +85134,7 @@ }, "allow_duplicates": { "description": "If `false`, the processor does not append values already present in the field.", + "default": true, "type": "boolean" } }, @@ -84925,10 +85185,12 @@ }, "ignore_missing": { "description": "If `true` and field does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "indexed_chars": { "description": "The number of chars being used for extraction to prevent huge fields.\nUse `-1` for no limit.", + "default": 100000.0, "type": "number" }, "indexed_chars_field": { @@ -84946,6 +85208,7 @@ }, "remove_binary": { "description": "If true, the binary field will be removed from the document", + "default": false, "type": "boolean" }, "resource_name": { @@ -84972,6 +85235,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_field": { @@ -85001,6 +85265,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "shape_type": { @@ -85062,10 +85327,12 @@ }, "seed": { "description": "Seed for the community ID hash. Must be between 0 and 65535 (inclusive). The\nseed can prevent hash collisions between network domains, such as a staging\nand production network that use the same addressing scheme.", + "default": 0.0, "type": "number" }, "ignore_missing": { "description": "If true and any required fields are missing, the processor quietly exits\nwithout modifying the document.", + "default": true, "type": "boolean" } } @@ -85085,6 +85352,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_field": { @@ -85135,10 +85403,12 @@ }, "quote": { "description": "Quote used in CSV, has to be single character string.", + "default": "\"", "type": "string" }, "separator": { "description": "Separator used in CSV, has to be single character string.", + "default": ",", "type": "string" }, "target_fields": { @@ -85176,6 +85446,7 @@ }, "locale": { "description": "The locale to use when parsing the date, relevant when parsing month names or week days.\nSupports template snippets.", + "default": "ENGLISH", "type": "string" }, "target_field": { @@ -85183,10 +85454,12 @@ }, "timezone": { "description": "The timezone to use when parsing the date.\nSupports template snippets.", + "default": "UTC", "type": "string" }, "output_format": { "description": "The format to use when writing the date to target_field. Must be a valid\njava time pattern.", + "default": "yyyy-MM-dd'T'HH:mm:ss.SSSXXX", "type": "string" } }, @@ -85221,6 +85494,7 @@ }, "index_name_format": { "description": "The format to be used when printing the parsed date into the index name.\nA valid java time pattern is expected here.\nSupports template snippets.", + "default": "yyyy-MM-dd", "type": "string" }, "index_name_prefix": { @@ -85229,10 +85503,12 @@ }, "locale": { "description": "The locale to use when parsing the date from the document being preprocessed, relevant when parsing month names or week days.", + "default": "ENGLISH", "type": "string" }, "timezone": { "description": "The timezone to use when parsing the date and when date math index supports resolves expressions into concrete index names.", + "default": "UTC", "type": "string" } }, @@ -85253,6 +85529,7 @@ "properties": { "append_separator": { "description": "The character(s) that separate the appended fields.", + "default": "\"\"", "type": "string" }, "field": { @@ -85260,6 +85537,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "pattern": { @@ -85287,6 +85565,7 @@ }, "override": { "description": "Controls the behavior when there is already an existing nested object that conflicts with the expanded field.\nWhen `false`, the processor will merge conflicts by combining the old and the new values into an array.\nWhen `true`, the value from the expanded field will overwrite the existing value.", + "default": false, "type": "boolean" }, "path": { @@ -85323,14 +85602,17 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "max_matches": { "description": "The maximum number of matched documents to include under the configured target field.\nThe `target_field` will be turned into a json array if `max_matches` is higher than 1, otherwise `target_field` will become a json object.\nIn order to avoid documents getting too large, the maximum allowed value is 128.", + "default": 1.0, "type": "number" }, "override": { "description": "If processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", + "default": true, "type": "boolean" }, "policy_name": { @@ -85403,6 +85685,7 @@ }, "ignore_missing": { "description": "If true, the processor ignores any missing fields. If all fields are\nmissing, the processor silently exits without modifying the document.", + "default": false, "type": "boolean" } }, @@ -85435,6 +85718,7 @@ }, "ignore_missing": { "description": "If `true`, the processor silently exits without changing the document if the `field` is `null` or missing.", + "default": false, "type": "boolean" }, "processor": { @@ -85458,6 +85742,7 @@ "properties": { "database_file": { "description": "The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory.", + "default": "GeoLite2-City.mmdb", "type": "string" }, "field": { @@ -85465,10 +85750,12 @@ }, "first_only": { "description": "If `true`, only the first found IP location data will be returned, even if the field contains an array.", + "default": true, "type": "boolean" }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "properties": { @@ -85524,6 +85811,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_format": { @@ -85562,6 +85850,7 @@ "properties": { "database_file": { "description": "The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory.", + "default": "GeoLite2-City.mmdb", "type": "string" }, "field": { @@ -85569,10 +85858,12 @@ }, "first_only": { "description": "If `true`, only the first found geoip data will be returned, even if the field contains an array.", + "default": true, "type": "boolean" }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "properties": { @@ -85606,6 +85897,7 @@ "properties": { "ecs_compatibility": { "description": "Must be disabled or v1. If v1, the processor uses patterns with Elastic\nCommon Schema (ECS) field names.", + "default": "disabled", "type": "string" }, "field": { @@ -85613,6 +85905,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "pattern_definitions": { @@ -85631,6 +85924,7 @@ }, "trace_match": { "description": "When `true`, `_ingest._grok_match_index` will be inserted into your matched document’s metadata with the index into the pattern found in `patterns` that matched.", + "default": false, "type": "boolean" } }, @@ -85657,6 +85951,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "pattern": { @@ -85692,6 +85987,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document,", + "default": false, "type": "boolean" }, "target_field": { @@ -85774,6 +86070,7 @@ }, "num_top_feature_importance_values": { "description": "Specifies the maximum number of feature importance values per document.", + "default": 0.0, "type": "number" } } @@ -85783,10 +86080,12 @@ "properties": { "num_top_classes": { "description": "Specifies the number of top class predictions to return.", + "default": 0.0, "type": "number" }, "num_top_feature_importance_values": { "description": "Specifies the maximum number of feature importance values per document.", + "default": 0.0, "type": "number" }, "results_field": { @@ -85852,6 +86151,7 @@ "properties": { "add_to_root": { "description": "Flag that forces the parsed JSON to be added at the top level of the document.\n`target_field` must not be set when this option is chosen.", + "default": false, "type": "boolean" }, "add_to_root_conflict_strategy": { @@ -85859,6 +86159,7 @@ }, "allow_duplicate_keys": { "description": "When set to `true`, the JSON parser will not fail if the JSON contains duplicate keys.\nInstead, the last encountered value for any duplicate key wins.", + "default": false, "type": "boolean" }, "field": { @@ -85905,6 +86206,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "include_keys": { @@ -85916,10 +86218,12 @@ }, "prefix": { "description": "Prefix to be added to extracted keys.", + "default": "null", "type": "string" }, "strip_brackets": { "description": "If `true`. strip brackets `()`, `<>`, `[]` as well as quotes `'` and `\"` from extracted values.", + "default": false, "type": "boolean" }, "target_field": { @@ -85959,6 +86263,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_field": { @@ -86000,6 +86305,7 @@ }, "ignore_missing": { "description": "If true and any required fields are missing, the processor quietly exits\nwithout modifying the document.", + "default": true, "type": "boolean" } } @@ -86019,6 +86325,7 @@ }, "ignore_missing_pipeline": { "description": "Whether to ignore missing pipelines instead of failing.", + "default": false, "type": "boolean" } }, @@ -86054,22 +86361,27 @@ }, "prefix": { "description": "Start a redacted section with this token", + "default": "<", "type": "string" }, "suffix": { "description": "End a redacted section with this token", + "default": ">", "type": "string" }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "skip_if_unlicensed": { "description": "If `true` and the current license does not support running redact processors, then the processor quietly exits without modifying the document", + "default": false, "type": "boolean" }, "trace_redact": { "description": "If `true` then ingest metadata `_ingest._redact._is_redacted` is set to `true` if the document has been redacted", + "default": false, "x-state": "Generally available; Added in 8.16.0", "type": "boolean" } @@ -86097,6 +86409,7 @@ }, "ignore_missing": { "description": "If true and any required fields are missing, the processor quietly exits\nwithout modifying the document.", + "default": true, "type": "boolean" } }, @@ -86122,6 +86435,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" } }, @@ -86144,6 +86458,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_field": { @@ -86245,6 +86560,7 @@ }, "ignore_empty_value": { "description": "If `true` and `value` is a template snippet that evaluates to `null` or the empty string, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "media_type": { @@ -86253,6 +86569,7 @@ }, "override": { "description": "If `true` processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", + "default": true, "type": "boolean" }, "value": { @@ -86328,10 +86645,12 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "preserve_trailing": { "description": "Preserves empty trailing fields, if any.", + "default": false, "type": "boolean" }, "separator": { @@ -86372,6 +86691,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_field": { @@ -86397,6 +86717,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_field": { @@ -86422,6 +86743,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_field": { @@ -86447,14 +86769,17 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "keep_original": { "description": "If `true`, the processor copies the unparsed URI to `.original`.", + "default": true, "type": "boolean" }, "remove_if_successful": { "description": "If `true`, the processor removes the `field` after parsing the URI string.\nIf parsing fails, the processor does not remove the `field`.", + "default": false, "type": "boolean" }, "target_field": { @@ -86480,6 +86805,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "regex_file": { @@ -86491,6 +86817,18 @@ }, "properties": { "description": "Controls what properties are added to `target_field`.", + "default": [ + "name", + "major", + "minor", + "patch", + "build", + "os", + "os_name", + "os_major", + "os_minor", + "device" + ], "type": "array", "items": { "$ref": "#/components/schemas/ingest._types.UserAgentProperty" @@ -86498,6 +86836,7 @@ }, "extract_device_type": { "description": "Extracts device type from the user agent string on a best-effort basis.", + "default": false, "x-state": "Beta; Added in 8.9.0", "type": "boolean" } @@ -87208,6 +87547,7 @@ }, "use_null": { "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", + "default": false, "type": "boolean" } } @@ -87217,6 +87557,9 @@ "properties": { "actions": { "description": "The set of actions to be triggered when the rule applies. If more than one action is specified the effects of all actions are combined.", + "default": [ + "skip_result" + ], "type": "array", "items": { "$ref": "#/components/schemas/ml._types.RuleAction" @@ -87874,6 +88217,7 @@ }, "num_top_classes": { "description": "Defines the number of categories for which the predicted probabilities are reported. It must be non-negative or -1. If it is -1 or greater than the total number of categories, probabilities are reported for all categories; if you have a large number of categories, there could be a significant effect on the size of your destination index. NOTE: To use the AUC ROC evaluation method, `num_top_classes` must be set to -1 or a value greater than or equal to the total number of categories.", + "default": 2.0, "type": "number" } } @@ -87897,6 +88241,7 @@ }, "early_stopping_enabled": { "description": "Advanced configuration option. Specifies whether the training process should finish if it is not finding any better performing models. If disabled, the training process can take significantly longer and the chance of finding a better performing model is unremarkable.", + "default": true, "type": "boolean" }, "eta": { @@ -87936,6 +88281,7 @@ }, "num_top_feature_importance_values": { "description": "Advanced configuration option. Specifies the maximum number of feature importance values per document to return. By default, no feature importance calculation occurs.", + "default": 0.0, "type": "number" }, "prediction_field_name": { @@ -88104,14 +88450,17 @@ "properties": { "compute_feature_influence": { "description": "Specifies whether the feature influence calculation is enabled.", + "default": true, "type": "boolean" }, "feature_influence_threshold": { "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score. Value range: 0-1.", + "default": 0.1, "type": "number" }, "method": { "description": "The method that outlier detection uses. Available methods are `lof`, `ldof`, `distance_kth_nn`, `distance_knn`, and `ensemble`. The default value is ensemble, which means that outlier detection uses an ensemble of different methods and normalises and combines their individual outlier scores to obtain the overall outlier score.", + "default": "ensemble", "type": "string" }, "n_neighbors": { @@ -88124,6 +88473,7 @@ }, "standardization_enabled": { "description": "If true, the following operation is performed on the columns before computing outlier scores: `(x_i - mean(x_i)) / sd(x_i)`.", + "default": true, "type": "boolean" } } @@ -88138,6 +88488,7 @@ "properties": { "loss_function": { "description": "The loss function used during regression. Available options are `mse` (mean squared error), `msle` (mean squared logarithmic error), `huber` (Pseudo-Huber loss).", + "default": "mse", "type": "string" }, "loss_function_parameter": { @@ -88207,10 +88558,12 @@ "properties": { "from": { "description": "Skips the specified number of items.", + "default": 0.0, "type": "number" }, "size": { "description": "Specifies the maximum number of items to obtain.", + "default": 10000.0, "type": "number" } } @@ -88357,10 +88710,12 @@ }, "skip_result": { "description": "When true the model will not create results for this calendar period.", + "default": true, "type": "boolean" }, "skip_model_update": { "description": "When true the model will not be updated for this calendar period.", + "default": true, "type": "boolean" }, "force_time_shift": { @@ -88760,10 +89115,12 @@ "properties": { "compute_feature_influence": { "description": "Specifies whether the feature influence calculation is enabled.", + "default": true, "type": "boolean" }, "feature_influence_threshold": { "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score.\nValue range: 0-1", + "default": 0.1, "type": "number" }, "method": { @@ -88780,6 +89137,7 @@ }, "standardization_enabled": { "description": "If `true`, the following operation is performed on the columns before computing outlier scores: (x_i - mean(x_i)) / sd(x_i).", + "default": true, "type": "boolean" } } @@ -89191,10 +89549,12 @@ }, "ignore_unavailable": { "description": "If true, missing or closed indices are not included in the response.", + "default": false, "type": "boolean" }, "ignore_throttled": { "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", + "default": true, "type": "boolean" } } @@ -89605,6 +89965,7 @@ }, "daily_model_snapshot_retention_after_days": { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nValid values range from 0 to `model_snapshot_retention_days`.", + "default": 1.0, "type": "number" }, "data_description": { @@ -89677,6 +90038,7 @@ "properties": { "categorization_examples_limit": { "description": "The maximum number of examples stored per category in memory and in the results data store. If you increase this value, more examples are available, however it requires that you have more storage available. If you set this value to 0, no examples are stored. NOTE: The `categorization_examples_limit` applies only to analysis that uses categorization.", + "default": 4.0, "type": "number" }, "model_memory_limit": { @@ -89722,6 +90084,7 @@ }, "time_format": { "description": "The time format, which can be `epoch`, `epoch_ms`, or a custom pattern. The value `epoch` refers to UNIX or Epoch time (the number of seconds since 1 Jan 1970). The value `epoch_ms` indicates that time is measured in milliseconds since the epoch. The `epoch` and `epoch_ms` time formats accept either integer or real values. Custom patterns must conform to the Java DateTimeFormatter class. When you use date-time formatting patterns, it is recommended that you provide the full date, time and time zone. For example: `yyyy-MM-dd'T'HH:mm:ssX`. If the pattern that you specify is not sufficient to produce a complete timestamp, job creation fails.", + "default": "epoch", "type": "string" }, "field_delimiter": { @@ -89734,11 +90097,13 @@ "properties": { "annotations_enabled": { "description": "If true, enables calculation and storage of the model change annotations for each entity that is being analyzed.", + "default": true, "x-state": "Generally available; Added in 7.9.0", "type": "boolean" }, "enabled": { "description": "If true, enables calculation and storage of the model bounds for each entity that is being analyzed.", + "default": false, "type": "boolean" }, "terms": { @@ -90560,14 +90925,17 @@ "properties": { "do_lower_case": { "description": "Should the tokenizer lower case the text", + "default": false, "type": "boolean" }, "max_sequence_length": { "description": "Maximum input sequence length for the model", + "default": 512.0, "type": "number" }, "span": { "description": "Tokenization spanning options. Special value of -1 indicates no spanning takes place", + "default": -1.0, "type": "number" }, "truncate": { @@ -90575,6 +90943,7 @@ }, "with_special_tokens": { "description": "Is tokenization completed with special tokens", + "default": true, "type": "boolean" } } @@ -90598,6 +90967,7 @@ "properties": { "add_prefix_space": { "description": "Should the tokenizer prefix input with a space character", + "default": false, "type": "boolean" } } @@ -90634,6 +91004,7 @@ }, "hypothesis_template": { "description": "Hypothesis template used when tokenizing labels for prediction", + "default": "\"This example is {}.\"", "type": "string" }, "classification_labels": { @@ -90649,6 +91020,7 @@ }, "multi_label": { "description": "Indicates if more than one true label exists.", + "default": false, "type": "boolean" }, "labels": { @@ -91908,6 +92280,7 @@ }, "scroll_size": { "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations. The maximum value is the value of `index.max_result_window`, which is 10,000 by default.", + "default": 1000.0, "type": "number" } } @@ -91917,6 +92290,7 @@ "properties": { "allow_lazy_open": { "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node.", + "default": false, "type": "boolean" }, "analysis_config": { @@ -91933,6 +92307,7 @@ }, "daily_model_snapshot_retention_after_days": { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.", + "default": 1.0, "type": "number" }, "data_description": { @@ -91964,6 +92339,7 @@ }, "model_snapshot_retention_days": { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies the maximum period of time (in days) that snapshots are retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nThe default value is `10`, which means snapshots ten days older than the newest snapshot are deleted.", + "default": 10.0, "type": "number" }, "renormalization_window_days": { @@ -92094,6 +92470,7 @@ }, "use_null": { "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", + "default": false, "type": "boolean" } }, @@ -92537,6 +92914,7 @@ "properties": { "explain": { "description": "If `true`, returns detailed information about score calculation as part of each hit.", + "default": false, "type": "boolean" }, "id": { @@ -92551,6 +92929,7 @@ }, "profile": { "description": "If `true`, the query execution is profiled.", + "default": false, "type": "boolean" }, "source": { @@ -92576,6 +92955,7 @@ }, "field_statistics": { "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", + "default": true, "type": "boolean" }, "filter": { @@ -92583,14 +92963,17 @@ }, "offsets": { "description": "If `true`, the response includes term offsets.", + "default": true, "type": "boolean" }, "payloads": { "description": "If `true`, the response includes term payloads.", + "default": true, "type": "boolean" }, "positions": { "description": "If `true`, the response includes term positions.", + "default": true, "type": "boolean" }, "routing": { @@ -92598,6 +92981,7 @@ }, "term_statistics": { "description": "If true, the response includes term frequency and document frequency.", + "default": false, "type": "boolean" }, "version": { @@ -92617,6 +93001,7 @@ }, "max_num_terms": { "description": "The maximum number of terms that must be returned per field.", + "default": 25.0, "type": "number" }, "max_term_freq": { @@ -92625,18 +93010,22 @@ }, "max_word_length": { "description": "The maximum word length above which words will be ignored.\nDefaults to unbounded.", + "default": 0.0, "type": "number" }, "min_doc_freq": { "description": "Ignore terms which do not occur in at least this many docs.", + "default": 1.0, "type": "number" }, "min_term_freq": { "description": "Ignore words with less than this frequency in the source doc.", + "default": 1.0, "type": "number" }, "min_word_length": { "description": "The minimum word length below which words will be ignored.", + "default": 0.0, "type": "number" } } @@ -95546,6 +95935,7 @@ "properties": { "ignore_unlabeled": { "description": "Controls how unlabeled documents in the search results are counted. If set to true, unlabeled documents are ignored and neither count as relevant or irrelevant. Set to false (the default), they are treated as irrelevant.", + "default": false, "type": "boolean" } } @@ -95562,6 +95952,7 @@ "properties": { "relevant_rating_threshold": { "description": "Sets the rating threshold above which documents are considered to be \"relevant\".", + "default": 1.0, "type": "number" } } @@ -95573,6 +95964,7 @@ "properties": { "k": { "description": "Sets the maximum number of documents retrieved per query. This value will act in place of the usual size parameter in the query.", + "default": 10.0, "type": "number" } } @@ -95610,6 +96002,7 @@ "properties": { "normalize": { "description": "If set to true, this metric will calculate the Normalized DCG.", + "default": false, "type": "boolean" } } @@ -95769,6 +96162,7 @@ }, "size": { "description": "The number of documents to index per batch.\nUse it when you are indexing from remote to ensure that the batches fit within the on-heap buffer, which defaults to a maximum size of 100 MB.", + "default": 1000.0, "type": "number" }, "slice": { @@ -97097,6 +97491,7 @@ }, "allow_restricted_indices": { "description": "Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.", + "default": false, "x-state": "Generally available", "type": "boolean" } @@ -97246,6 +97641,7 @@ }, "allow_restricted_indices": { "description": "Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.", + "default": false, "x-state": "Generally available", "type": "boolean" } @@ -97430,6 +97826,7 @@ }, "allow_restricted_indices": { "description": "This needs to be set to true if the patterns in the names field should cover system indices.", + "default": false, "type": "boolean" } }, @@ -97462,6 +97859,7 @@ }, "allow_restricted_indices": { "description": "Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.", + "default": false, "x-state": "Generally available", "type": "boolean" } @@ -98584,10 +98982,12 @@ }, "other_bucket_key": { "description": "The key with which the other bucket is returned.", + "default": "_other_", "type": "string" }, "keyed": { "description": "By default, the named filters aggregation returns the buckets as an object.\nSet to `false` to return the buckets as an array of objects.", + "default": true, "type": "boolean" } } @@ -99138,6 +99538,7 @@ "properties": { "ignore_unavailable": { "description": "If false, the snapshot fails if any data stream or index in indices is missing or closed. If true, the snapshot ignores missing or closed data streams and indices.", + "default": false, "type": "boolean" }, "indices": { @@ -99145,6 +99546,7 @@ }, "include_global_state": { "description": "If true, the current global state is included in the snapshot.", + "default": true, "type": "boolean" }, "feature_states": { @@ -99159,6 +99561,7 @@ }, "partial": { "description": "If false, the entire snapshot will fail if one or more indices included in the snapshot do not have all primary shards available.", + "default": false, "type": "boolean" } } @@ -99489,26 +99892,32 @@ }, "client": { "description": "The name of the Azure repository client to use.", + "default": "default", "type": "string" }, "container": { "description": "The Azure container.", + "default": "elasticsearch-snapshots", "type": "string" }, "delete_objects_max_size": { "description": "The maxmimum batch size, between 1 and 256, used for `BlobBatch` requests.\nDefaults to 256 which is the maximum number supported by the Azure blob batch API.", + "default": 256.0, "type": "number" }, "location_mode": { "description": "Either `primary_only` or `secondary_only`.\nNote that if you set it to `secondary_only`, it will force `readonly` to `true`.", + "default": "primary_only", "type": "string" }, "max_concurrent_batch_deletes": { "description": "The maximum number of concurrent batch delete requests that will be submitted for any individual bulk delete with `BlobBatch`.\nNote that the effective number of concurrent deletes is further limited by the Azure client connection and event loop thread limits.\nDefaults to 10, minimum is 1, maximum is 100.", + "default": 10.0, "type": "number" }, "readonly": { "description": "If `true`, the repository is read-only.\nThe cluster can retrieve and restore snapshots from the repository but not write to the repository or create snapshots in it.\n\nOnly a cluster with write access can create snapshots in the repository.\nAll other clusters connected to the repository should have the `readonly` parameter set to `true`.\nIf `false`, the cluster can write to the repository and create snapshots in it.\n\nIMPORTANT: If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository.\nHaving multiple clusters write to the repository at the same time risks corrupting the contents of the repository.", + "default": false, "type": "boolean" } } @@ -99523,6 +99932,7 @@ }, "compress": { "description": "When set to `true`, metadata files are stored in compressed format.\nThis setting doesn't affect index files that are already compressed by default.", + "default": true, "type": "boolean" }, "max_restore_bytes_per_sec": { @@ -99593,10 +100003,12 @@ }, "client": { "description": "The name of the client to use to connect to Google Cloud Storage.", + "default": "default", "type": "string" }, "readonly": { "description": "If `true`, the repository is read-only.\nThe cluster can retrieve and restore snapshots from the repository but not write to the repository or create snapshots in it.\n\nOnly a cluster with write access can create snapshots in the repository.\nAll other clusters connected to the repository should have the `readonly` parameter set to `true`.\n\nIf `false`, the cluster can write to the repository and create snapshots in it.\n\nIMPORTANT: If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository.\nHaving multiple clusters write to the repository at the same time risks corrupting the contents of the repository.", + "default": false, "type": "boolean" } }, @@ -99662,10 +100074,12 @@ "url": "https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl" }, "description": "The S3 repository supports all S3 canned ACLs: `private`, `public-read`, `public-read-write`, `authenticated-read`, `log-delivery-write`, `bucket-owner-read`, `bucket-owner-full-control`.\nYou could specify a canned ACL using the `canned_acl` setting.\nWhen the S3 repository creates buckets and objects, it adds the canned ACL into the buckets and objects.", + "default": "private", "type": "string" }, "client": { "description": "The name of the S3 client to use to connect to S3.", + "default": "default", "type": "string" }, "delete_objects_max_size": { @@ -99673,6 +100087,7 @@ "url": "https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjects.html" }, "description": "The maxmimum batch size, between 1 and 1000, used for `DeleteObjects` requests.\nDefaults to 1000 which is the maximum number supported by the AWS DeleteObjects API.", + "default": 1000.0, "type": "number" }, "get_register_retry_delay": { @@ -99680,6 +100095,7 @@ }, "max_multipart_parts": { "description": "The maximum number of parts that Elasticsearch will write during a multipart upload of a single object.\nFiles which are larger than `buffer_size × max_multipart_parts` will be chunked into several smaller objects.\nElasticsearch may also split a file across multiple objects to satisfy other constraints such as the `chunk_size` limit.\nDefaults to `10000` which is the maximum number of parts in a multipart upload in AWS S3.", + "default": 10000.0, "type": "number" }, "max_multipart_upload_cleanup_size": { @@ -99687,14 +100103,17 @@ "url": "https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html" }, "description": "The maximum number of possibly-dangling multipart uploads to clean up in each batch of snapshot deletions.\nDefaults to 1000 which is the maximum number supported by the AWS ListMultipartUploads API.\nIf set to `0`, Elasticsearch will not attempt to clean up dangling multipart uploads.", + "default": 1000.0, "type": "number" }, "readonly": { "description": "If true, the repository is read-only.\nThe cluster can retrieve and restore snapshots from the repository but not write to the repository or create snapshots in it.\n\nOnly a cluster with write access can create snapshots in the repository.\nAll other clusters connected to the repository should have the `readonly` parameter set to `true`.\n\nIf `false`, the cluster can write to the repository and create snapshots in it.\n\nIMPORTANT: If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository.\nHaving multiple clusters write to the repository at the same time risks corrupting the contents of the repository.", + "default": false, "type": "boolean" }, "server_side_encryption": { "description": "When set to `true`, files are encrypted on server side using an AES256 algorithm.", + "default": false, "type": "boolean" }, "storage_class": { @@ -99702,6 +100121,7 @@ "url": "https://www.elastic.co/docs/deploy-manage/tools/snapshot-and-restore/s3-repository#repository-s3-storage-classes" }, "description": "The S3 storage class for objects written to the repository.\nValues may be `standard`, `reduced_redundancy`, `standard_ia`, `onezone_ia`, and `intelligent_tiering`.", + "default": "standard", "type": "string" }, "throttled_delete_retry.delay_increment": { @@ -99764,10 +100184,12 @@ }, "max_number_of_snapshots": { "description": "The maximum number of snapshots the repository can contain.\nThe default is `Integer.MAX_VALUE`, which is 2^31-1 or `2147483647`.", + "default": 2147483647.0, "type": "number" }, "readonly": { "description": "If `true`, the repository is read-only.\nThe cluster can retrieve and restore snapshots from the repository but not write to the repository or create snapshots in it.\n\nOnly a cluster with write access can create snapshots in the repository.\nAll other clusters connected to the repository should have the `readonly` parameter set to `true`.\n\nIf `false`, the cluster can write to the repository and create snapshots in it.\n\nIMPORTANT: If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository.\nHaving multiple clusters write to the repository at the same time risks corrupting the contents of the repository.", + "default": false, "type": "boolean" } }, @@ -99816,6 +100238,7 @@ "properties": { "http_max_retries": { "description": "The maximum number of retries for HTTP and HTTPS URLs.", + "default": 5.0, "type": "number" }, "http_socket_timeout": { @@ -99823,6 +100246,7 @@ }, "max_number_of_snapshots": { "description": "The maximum number of snapshots the repository can contain.\nThe default is `Integer.MAX_VALUE`, which is 2^31-1 or `2147483647`.", + "default": 2147483647.0, "type": "number" }, "url": { @@ -99879,10 +100303,12 @@ }, "max_number_of_snapshots": { "description": "The maximum number of snapshots the repository can contain.\nThe default is `Integer.MAX_VALUE`, which is 2^31-1 or `2147483647`.", + "default": 2147483647.0, "type": "number" }, "read_only": { "description": "If `true`, the repository is read-only.\nThe cluster can retrieve and restore snapshots from the repository but not write to the repository or create snapshots in it.\n\nOnly a cluster with write access can create snapshots in the repository.\nAll other clusters connected to the repository should have the `readonly` parameter set to `true`.\n\nIf `false`, the cluster can write to the repository and create snapshots in it.\n\nIMPORTANT: If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository.\nHaving multiple clusters write to the repository at the same time risks corrupting the contents of the repository.", + "default": false, "type": "boolean" } } @@ -100868,14 +101294,17 @@ "properties": { "align_checkpoints": { "description": "Specifies whether the transform checkpoint ranges should be optimized for performance. Such optimization can align\ncheckpoint ranges with the date histogram interval when date histogram is specified as a group source in the\ntransform config. As a result, less document updates in the destination index will be performed thus improving\noverall performance.", + "default": true, "type": "boolean" }, "dates_as_epoch_millis": { "description": "Defines if dates in the ouput should be written as ISO formatted string or as millis since epoch. epoch_millis was\nthe default for transforms created before version 7.11. For compatible output set this value to `true`.", + "default": false, "type": "boolean" }, "deduce_mappings": { "description": "Specifies whether the transform should deduce the destination index mappings from the transform configuration.", + "default": true, "type": "boolean" }, "docs_per_second": { @@ -100884,10 +101313,12 @@ }, "max_page_search_size": { "description": "Defines the initial page size to use for the composite aggregation for each checkpoint. If circuit breaker\nexceptions occur, the page size is dynamically adjusted to a lower value. The minimum value is `10` and the\nmaximum is `65,536`.", + "default": 500.0, "type": "number" }, "unattended": { "description": "If `true`, the transform runs in unattended mode. In unattended mode, the transform retries indefinitely in case\nof an error which means the transform never fails. Setting the number of retries other than infinite fails in\nvalidation.", + "default": false, "x-state": "Generally available; Added in 8.5.0", "type": "boolean" } @@ -101602,6 +102033,7 @@ "type": "object", "properties": { "lang": { + "default": "painless", "type": "string" }, "params": { @@ -101674,6 +102106,7 @@ "type": "object", "properties": { "explain": { + "default": false, "type": "boolean" }, "id": { @@ -101686,6 +102119,7 @@ } }, "profile": { + "default": false, "type": "boolean" }, "source": { @@ -102001,6 +102435,7 @@ "type": "boolean" }, "retries": { + "default": 40.0, "type": "number" }, "interval": { @@ -119150,6 +119585,7 @@ }, "explain": { "description": "If true, returns detailed information about score computation as part of a hit.", + "default": false, "type": "boolean" }, "ext": { @@ -119161,6 +119597,7 @@ }, "from": { "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", + "default": 0.0, "type": "number" }, "highlight": { @@ -119241,6 +119678,7 @@ }, "size": { "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", + "default": 10.0, "type": "number" }, "slice": { @@ -119264,6 +119702,7 @@ }, "terminate_after": { "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", + "default": 0.0, "type": "number" }, "timeout": { @@ -119272,10 +119711,12 @@ }, "track_scores": { "description": "If true, calculate and return document scores, even if the scores are not used for sorting.", + "default": false, "type": "boolean" }, "version": { "description": "If true, returns document version as part of a hit.", + "default": false, "type": "boolean" }, "seq_no_primary_term": { @@ -119568,10 +120009,12 @@ }, "allow_partial_search_results": { "description": "Allow query execution also in case of shard failures.\nIf true, the query will keep running and will return results based on the available shards.\nFor sequences, the behavior can be further refined using allow_partial_sequence_results", + "default": true, "type": "boolean" }, "allow_partial_sequence_results": { "description": "This flag applies only to sequences and has effect only if allow_partial_search_results=true.\nIf true, the sequence query will return results based on the available shards, ignoring the others.\nIf false, the sequence query will return successfully, but will always have empty results.", + "default": false, "type": "boolean" }, "size": { @@ -119599,6 +120042,7 @@ }, "max_samples_per_key": { "description": "By default, the response of a sample query contains up to `10` samples, with one sample per unique set of join keys. Use the `size`\nparameter to get a smaller or larger set of samples. To retrieve more than one sample per set of join keys, use the\n`max_samples_per_key` parameter. Pipes are not supported for sample queries.", + "default": 1.0, "type": "number" } }, @@ -119698,6 +120142,7 @@ }, "explain": { "description": "If true, returns detailed information about score computation as part of a hit.", + "default": false, "type": "boolean" }, "ext": { @@ -119709,6 +120154,7 @@ }, "from": { "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", + "default": 0.0, "type": "number" }, "highlight": { @@ -119774,6 +120220,7 @@ }, "size": { "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", + "default": 10.0, "type": "number" }, "slice": { @@ -119797,6 +120244,7 @@ }, "terminate_after": { "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", + "default": 0.0, "type": "number" }, "timeout": { @@ -119805,10 +120253,12 @@ }, "track_scores": { "description": "If true, calculate and return document scores, even if the scores are not used for sorting.", + "default": false, "type": "boolean" }, "version": { "description": "If true, returns document version as part of a hit.", + "default": false, "type": "boolean" }, "seq_no_primary_term": { @@ -119917,6 +120367,7 @@ }, "explain": { "description": "If `true`, the response includes token attributes and additional details.", + "default": false, "type": "boolean" }, "field": { @@ -120159,6 +120610,7 @@ }, "numeric_detection": { "description": "Automatically map strings into numeric data types for all fields.", + "default": false, "type": "boolean" }, "properties": { @@ -120653,10 +121105,12 @@ }, "model_memory_limit": { "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try to\ncreate data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", + "default": "1gb", "type": "string" }, "max_num_threads": { "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", + "default": 1.0, "type": "number" }, "analyzed_fields": { @@ -120664,6 +121118,7 @@ }, "allow_lazy_start": { "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node.", + "default": false, "type": "boolean" } } @@ -120685,10 +121140,12 @@ "properties": { "anomaly_score": { "description": "Refer to the description for the `anomaly_score` query parameter.", + "default": 0.0, "type": "number" }, "desc": { "description": "Refer to the description for the `desc` query parameter.", + "default": false, "type": "boolean" }, "end": { @@ -120696,10 +121153,12 @@ }, "exclude_interim": { "description": "Refer to the description for the `exclude_interim` query parameter.", + "default": false, "type": "boolean" }, "expand": { "description": "Refer to the description for the `expand` query parameter.", + "default": false, "type": "boolean" }, "page": { @@ -120784,6 +121243,7 @@ "properties": { "desc": { "description": "Refer to the description for the `desc` query parameter.", + "default": false, "type": "boolean" }, "end": { @@ -120817,6 +121277,7 @@ "properties": { "allow_no_match": { "description": "Refer to the description for the `allow_no_match` query parameter.", + "default": true, "type": "boolean" }, "bucket_span": { @@ -120827,6 +121288,7 @@ }, "exclude_interim": { "description": "Refer to the description for the `exclude_interim` query parameter.", + "default": false, "type": "boolean" }, "overall_score": { @@ -120845,6 +121307,7 @@ }, "top_n": { "description": "Refer to the description for the `top_n` query parameter.", + "default": 1.0, "type": "number" } } @@ -120866,6 +121329,7 @@ "properties": { "desc": { "description": "Refer to the description for the `desc` query parameter.", + "default": false, "type": "boolean" }, "end": { @@ -120873,6 +121337,7 @@ }, "exclude_interim": { "description": "Refer to the description for the `exclude_interim` query parameter.", + "default": false, "type": "boolean" }, "page": { @@ -120880,6 +121345,7 @@ }, "record_score": { "description": "Refer to the description for the `record_score` query parameter.", + "default": 0.0, "type": "number" }, "sort": { @@ -121249,6 +121715,7 @@ }, "explain": { "description": "If `true`, the request returns detailed information about score computation as part of a hit.", + "default": false, "type": "boolean" }, "ext": { @@ -121260,6 +121727,7 @@ }, "from": { "description": "The starting document offset, which must be non-negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", + "default": 0.0, "type": "number" }, "highlight": { @@ -121323,6 +121791,7 @@ }, "profile": { "description": "Set to `true` to return detailed timing information about the execution of individual components in a search request.\nNOTE: This is a debugging tool and adds significant overhead to search execution.", + "default": false, "type": "boolean" }, "query": { @@ -121357,6 +121826,7 @@ }, "size": { "description": "The number of hits to return, which must not be negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` property.", + "default": 10.0, "type": "number" }, "slice": { @@ -121380,6 +121850,7 @@ }, "terminate_after": { "description": "The maximum number of documents to collect for each shard.\nIf a query reaches this limit, Elasticsearch terminates the query early.\nElasticsearch collects documents before sorting.\n\nIMPORTANT: Use with caution.\nElasticsearch applies this property to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this property for requests that target data streams with backing indices across multiple data tiers.\n\nIf set to `0` (default), the query does not terminate early.", + "default": 0.0, "type": "number" }, "timeout": { @@ -121388,10 +121859,12 @@ }, "track_scores": { "description": "If `true`, calculate and return document scores, even if the scores are not used for sorting.", + "default": false, "type": "boolean" }, "version": { "description": "If `true`, the request returns the document version as part of a hit.", + "default": false, "type": "boolean" }, "seq_no_primary_term": { @@ -121478,14 +121951,17 @@ }, "buffer": { "description": "The size, in pixels, of a clipping buffer outside the tile. This allows renderers\nto avoid outline artifacts from geometries that extend past the extent of the tile.", + "default": 5.0, "type": "number" }, "exact_bounds": { "description": "If `false`, the meta layer's feature is the bounding box of the tile.\nIf `true`, the meta layer's feature is a bounding box resulting from a\n`geo_bounds` aggregation. The aggregation runs on values that intersect\nthe `//` tile with `wrap_longitude` set to `false`. The resulting\nbounding box may be larger than the vector tile.", + "default": false, "type": "boolean" }, "extent": { "description": "The size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", + "default": 4096.0, "type": "number" }, "fields": { @@ -121496,6 +121972,7 @@ }, "grid_precision": { "description": "Additional zoom levels available through the aggs layer. For example, if `` is `7`\nand `grid_precision` is `8`, you can zoom in up to level 15. Accepts 0-8. If 0, results\ndon't include the aggs layer.", + "default": 8.0, "type": "number" }, "grid_type": { @@ -121509,6 +121986,7 @@ }, "size": { "description": "The maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don't include the hits layer.", + "default": 10000.0, "type": "number" }, "sort": { @@ -121540,6 +122018,7 @@ "properties": { "explain": { "description": "If `true`, returns detailed information about score calculation as part of each hit.\nIf you specify both this and the `explain` query parameter, the API uses only the query parameter.", + "default": false, "type": "boolean" }, "id": { @@ -121554,6 +122033,7 @@ }, "profile": { "description": "If `true`, the query execution is profiled.", + "default": false, "type": "boolean" }, "source": { @@ -121972,6 +122452,7 @@ }, "enabled": { "description": "Specifies whether the user is enabled.", + "default": true, "type": "boolean" } } @@ -122004,6 +122485,7 @@ }, "from": { "description": "The starting document offset.\nIt must not be negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", + "default": 0.0, "type": "number" }, "sort": { @@ -122011,6 +122493,7 @@ }, "size": { "description": "The number of hits to return.\nIt must not be negative.\nThe `size` parameter can be set to `0`, in which case no API key matches are returned, only the aggregation results.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", + "default": 10.0, "type": "number" }, "search_after": { @@ -122049,6 +122532,7 @@ }, "from": { "description": "The starting document offset.\nIt must not be negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", + "default": 0.0, "type": "number" }, "sort": { @@ -122056,6 +122540,7 @@ }, "size": { "description": "The number of hits to return.\nIt must not be negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", + "default": 10.0, "type": "number" }, "search_after": { @@ -122089,6 +122574,7 @@ }, "from": { "description": "The starting document offset.\nIt must not be negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", + "default": 0.0, "type": "number" }, "sort": { @@ -122096,6 +122582,7 @@ }, "size": { "description": "The number of hits to return.\nIt must not be negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", + "default": 10.0, "type": "number" }, "search_after": { @@ -122130,6 +122617,7 @@ }, "size": { "description": "The number of profiles to return.", + "default": 10.0, "type": "number" }, "data": { @@ -122281,10 +122769,12 @@ }, "ignore_unavailable": { "description": "If `true`, the request ignores data streams and indices in `indices` that are missing or closed.\nIf `false`, the request returns an error for any data stream or index that is missing or closed.", + "default": false, "type": "boolean" }, "include_global_state": { "description": "If `true`, the current cluster state is included in the snapshot.\nThe cluster state includes persistent cluster settings, composable index templates, legacy index templates, ingest pipelines, and ILM policies.\nIt also includes data stored in system indices, such as Watches and task records (configurable via `feature_states`).", + "default": true, "type": "boolean" }, "indices": { @@ -122295,6 +122785,7 @@ }, "partial": { "description": "If `true`, it enables you to restore a partial snapshot of indices with unavailable shards.\nOnly shards that were successfully included in the snapshot will be restored.\nAll missing shards will be recreated as empty.\n\nIf `false`, the entire restore operation will fail if one or more indices included in the snapshot do not have all primary shards available.", + "default": false, "type": "boolean" } } @@ -122358,6 +122849,7 @@ "properties": { "allow_partial_search_results": { "description": "If `true`, the response has partial results when there are shard request timeouts or shard failures.\nIf `false`, the API returns an error with no partial results.", + "default": false, "type": "boolean" }, "catalog": { @@ -122369,6 +122861,7 @@ "url": "https://www.elastic.co/docs/explore-analyze/query-filter/languages/sql-rest-columnar" }, "description": "If `true`, the results are in a columnar fashion: one row represents all the values of a certain column from the current page of results.\nThe API supports this parameter only for CBOR, JSON, SMILE, and YAML responses.", + "default": false, "type": "boolean" }, "cursor": { @@ -122377,10 +122870,12 @@ }, "fetch_size": { "description": "The maximum number of rows (or entries) to return in one response.", + "default": 1000.0, "type": "number" }, "field_multi_value_leniency": { "description": "If `false`, the API returns an exception when encountering multiple values for a field.\nIf `true`, the API is lenient and returns the first value from the array with no guarantee of consistent results.", + "default": false, "type": "boolean" }, "filter": { @@ -122388,6 +122883,7 @@ }, "index_using_frozen": { "description": "If `true`, the search can run on frozen indices.", + "default": false, "type": "boolean" }, "keep_alive": { @@ -122395,6 +122891,7 @@ }, "keep_on_completion": { "description": "If `true`, Elasticsearch stores synchronous searches if you also specify the `wait_for_completion_timeout` parameter.\nIf `false`, Elasticsearch only stores async searches that don't finish before the `wait_for_completion_timeout`.", + "default": false, "type": "boolean" }, "page_timeout": { @@ -122446,6 +122943,7 @@ "properties": { "fetch_size": { "description": "The maximum number of rows (or entries) to return in one response.", + "default": 1000.0, "type": "number" }, "filter": { @@ -122485,6 +122983,7 @@ }, "size": { "description": "The number of matching terms to return.", + "default": 10.0, "type": "number" }, "timeout": { @@ -122492,6 +122991,7 @@ }, "case_insensitive": { "description": "When `true`, the provided search string is matched against index terms without case sensitivity.", + "default": false, "type": "boolean" }, "index_filter": { @@ -122544,22 +123044,27 @@ }, "field_statistics": { "description": "If `true`, the response includes:\n\n* The document count (how many documents contain this field).\n* The sum of document frequencies (the sum of document frequencies for all terms in this field).\n* The sum of total term frequencies (the sum of total term frequencies of each term in this field).", + "default": true, "type": "boolean" }, "offsets": { "description": "If `true`, the response includes term offsets.", + "default": true, "type": "boolean" }, "payloads": { "description": "If `true`, the response includes term payloads.", + "default": true, "type": "boolean" }, "positions": { "description": "If `true`, the response includes term positions.", + "default": true, "type": "boolean" }, "term_statistics": { "description": "If `true`, the response includes:\n\n* The total term frequency (how often a term occurs in all documents).\n* The document frequency (the number of documents containing the current term).\n\nBy default these values are not returned since term statistics can have a serious performance impact.", + "default": false, "type": "boolean" }, "routing": { @@ -122730,10 +123235,12 @@ }, "ignore_condition": { "description": "When set to `true`, the watch execution uses the always condition. This can also be specified as an HTTP parameter.", + "default": false, "type": "boolean" }, "record_execution": { "description": "When set to `true`, the watch record representing the watch execution result is persisted to the `.watcher-history` index for the current time.\nIn addition, the status of the watch is updated, possibly throttling subsequent runs.\nThis can also be specified as an HTTP parameter.", + "default": false, "type": "boolean" }, "simulated_actions": { @@ -122820,10 +123327,12 @@ "properties": { "from": { "description": "The offset from the first result to fetch.\nIt must be non-negative.", + "default": 0.0, "type": "number" }, "size": { "description": "The number of hits to return.\nIt must be non-negative.", + "default": 10.0, "type": "number" }, "query": { @@ -122842,4 +123351,4 @@ } } } -} \ No newline at end of file +} diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index de0ec42750..993164c024 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -5835,6 +5835,7 @@ }, "include_ccs_metadata": { "description": "When set to `true` and performing a cross-cluster query, the response will include an extra `_clusters`\nobject with information about the clusters that participated in the search along with info such as shards\ncount.", + "default": false, "type": "boolean" } }, @@ -8248,6 +8249,7 @@ }, "enabled": { "description": "If defined, it turns data stream lifecycle on/off (`true`/`false`) for this data stream. A data stream lifecycle\nthat's disabled (enabled: `false`) will have no effect on the data stream.", + "default": true, "type": "boolean" } } @@ -12326,6 +12328,7 @@ }, "deprecated": { "description": "Marks this ingest pipeline as deprecated.\nWhen a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning.", + "default": false, "type": "boolean" } } @@ -13028,10 +13031,12 @@ "properties": { "allow_no_match": { "description": "Refer to the description for the `allow_no_match` query parameter.", + "default": true, "type": "boolean" }, "force": { "description": "Refer to the descriptiion for the `force` query parameter.", + "default": false, "type": "boolean" }, "timeout": { @@ -13492,6 +13497,7 @@ "properties": { "allow_lazy_start": { "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node. If\nset to `false` and a machine learning node with capacity to run the job\ncannot be immediately found, the API returns an error. If set to `true`,\nthe API does not return an error; the job waits in the `starting` state\nuntil sufficient machine learning node capacity is available. This\nbehavior is also affected by the cluster-wide\n`xpack.ml.max_lazy_ml_nodes` setting.", + "default": false, "type": "boolean" }, "analysis": { @@ -13509,6 +13515,7 @@ }, "max_num_threads": { "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", + "default": 1.0, "type": "number" }, "_meta": { @@ -13516,6 +13523,7 @@ }, "model_memory_limit": { "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", + "default": "1gb", "type": "string" }, "source": { @@ -13813,6 +13821,7 @@ }, "scroll_size": { "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations.\nThe maximum value is the value of `index.max_result_window`, which is 10,000 by default.", + "default": 1000.0, "type": "number" }, "headers": { @@ -14209,6 +14218,7 @@ "properties": { "allow_lazy_open": { "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node. By default, if a machine learning node with capacity to run the job cannot immediately be found, the open anomaly detection jobs API returns an error. However, this is also subject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting. If this option is set to true, the open anomaly detection jobs API does not return an error and the job waits in the opening state until sufficient machine learning node capacity is available.", + "default": false, "type": "boolean" }, "analysis_config": { @@ -14225,6 +14235,7 @@ }, "daily_model_snapshot_retention_after_days": { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies a period of time (in days) after which only the first snapshot per day is retained. This period is relative to the timestamp of the most recent snapshot for this job. Valid values range from 0 to `model_snapshot_retention_days`.", + "default": 1.0, "type": "number" }, "data_description": { @@ -14252,6 +14263,7 @@ }, "model_snapshot_retention_days": { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies the maximum period of time (in days) that snapshots are retained. This period is relative to the timestamp of the most recent snapshot for this job. By default, snapshots ten days older than the newest snapshot are deleted.", + "default": 10.0, "type": "number" }, "renormalization_window_days": { @@ -16800,10 +16812,12 @@ "properties": { "allow_no_match": { "description": "Refer to the description for the `allow_no_match` query parameter.", + "default": true, "type": "boolean" }, "force": { "description": "Refer to the description for the `force` query parameter.", + "default": false, "type": "boolean" }, "timeout": { @@ -16942,14 +16956,17 @@ }, "model_memory_limit": { "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", + "default": "1gb", "type": "string" }, "max_num_threads": { "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", + "default": 1.0, "type": "number" }, "allow_lazy_start": { "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node.", + "default": false, "type": "boolean" } } @@ -17147,6 +17164,7 @@ }, "scroll_size": { "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations.\nThe maximum value is the value of `index.max_result_window`.", + "default": 1000.0, "type": "number" } } @@ -17363,6 +17381,7 @@ "properties": { "allow_lazy_open": { "description": "Advanced configuration option. Specifies whether this job can open when\nthere is insufficient machine learning node capacity for it to be\nimmediately assigned to a node. If `false` and a machine learning node\nwith capacity to run the job cannot immediately be found, the open\nanomaly detection jobs API returns an error. However, this is also\nsubject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting. If this\noption is set to `true`, the open anomaly detection jobs API does not\nreturn an error and the job waits in the opening state until sufficient\nmachine learning node capacity is available.", + "default": false, "type": "boolean" }, "analysis_limits": { @@ -17396,10 +17415,12 @@ }, "daily_model_snapshot_retention_after_days": { "description": "Advanced configuration option, which affects the automatic removal of old\nmodel snapshots for this job. It specifies a period of time (in days)\nafter which only the first snapshot per day is retained. This period is\nrelative to the timestamp of the most recent snapshot for this job. Valid\nvalues range from 0 to `model_snapshot_retention_days`. For jobs created\nbefore version 7.8.0, the default value matches\n`model_snapshot_retention_days`.", + "default": 1.0, "type": "number" }, "model_snapshot_retention_days": { "description": "Advanced configuration option, which affects the automatic removal of old\nmodel snapshots for this job. It specifies the maximum period of time (in\ndays) that snapshots are retained. This period is relative to the\ntimestamp of the most recent snapshot for this job.", + "default": 10.0, "type": "number" }, "renormalization_window_days": { @@ -17578,6 +17599,7 @@ "properties": { "number_of_allocations": { "description": "The number of model allocations on each node where the model is deployed.\nAll allocations on a node share the same copy of the model in memory but use\na separate set of threads to evaluate the model.\nIncreasing this value generally increases the throughput.\nIf this setting is greater than the number of hardware threads\nit will automatically be changed to a value less than the number of hardware threads.\nIf adaptive_allocations is enabled, do not set this value, because it’s automatically set.", + "default": 1.0, "type": "number" }, "adaptive_allocations": { @@ -21234,6 +21256,7 @@ }, "owner": { "description": "Query API keys owned by the currently authenticated user.\nThe `realm_name` or `username` parameters cannot be specified when this parameter is set to `true` as they are assumed to be the currently authenticated ones.\n\nNOTE: At least one of `ids`, `name`, `username`, and `realm_name` must be specified if `owner` is `false`.", + "default": false, "type": "boolean" }, "realm_name": { @@ -24106,6 +24129,7 @@ "properties": { "detect_noop": { "description": "If `true`, the `result` in the response is set to `noop` (no operation) when there are no changes to the document.", + "default": true, "type": "boolean" }, "doc": { @@ -24114,6 +24138,7 @@ }, "doc_as_upsert": { "description": "If `true`, use the contents of 'doc' as the value of 'upsert'.\nNOTE: Using ingest pipelines with `doc_as_upsert` is not supported.", + "default": false, "type": "boolean" }, "script": { @@ -24121,6 +24146,7 @@ }, "scripted_upsert": { "description": "If `true`, run the script whether or not the document exists.", + "default": false, "type": "boolean" }, "_source": { @@ -30623,6 +30649,7 @@ "properties": { "boost": { "description": "Floating point number used to decrease or increase the relevance scores of the query.\nBoost values are relative to the default value of 1.0.\nA boost value between 0 and 1.0 decreases the relevance score.\nA value greater than 1.0 increases the relevance score.", + "default": 1.0, "type": "number" }, "_name": { @@ -30711,6 +30738,7 @@ }, "auto_generate_synonyms_phrase_query": { "description": "If true, match phrase queries are automatically created for multi-term synonyms.", + "default": true, "type": "boolean" }, "operator": { @@ -30779,6 +30807,7 @@ }, "tie_breaker": { "description": "Floating point number between 0 and 1.0 used to increase the relevance scores of documents matching multiple query clauses.", + "default": 0.0, "type": "number" } }, @@ -31130,6 +31159,7 @@ }, "factor": { "description": "Optional factor to multiply the field value with.", + "default": 1.0, "type": "number" }, "missing": { @@ -31243,6 +31273,7 @@ }, "explain": { "description": "If `true`, the request returns detailed information about score computation as part of a hit.", + "default": false, "type": "boolean" }, "ext": { @@ -31254,6 +31285,7 @@ }, "from": { "description": "The starting document offset, which must be non-negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", + "default": 0.0, "type": "number" }, "highlight": { @@ -31314,6 +31346,7 @@ }, "profile": { "description": "Set to `true` to return detailed timing information about the execution of individual components in a search request.\nNOTE: This is a debugging tool and adds significant overhead to search execution.", + "default": false, "type": "boolean" }, "query": { @@ -31348,6 +31381,7 @@ }, "size": { "description": "The number of hits to return, which must not be negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` property.", + "default": 10.0, "type": "number" }, "slice": { @@ -31371,6 +31405,7 @@ }, "terminate_after": { "description": "The maximum number of documents to collect for each shard.\nIf a query reaches this limit, Elasticsearch terminates the query early.\nElasticsearch collects documents before sorting.\n\nIMPORTANT: Use with caution.\nElasticsearch applies this property to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this property for requests that target data streams with backing indices across multiple data tiers.\n\nIf set to `0` (default), the query does not terminate early.", + "default": 0.0, "type": "number" }, "timeout": { @@ -31379,10 +31414,12 @@ }, "track_scores": { "description": "If `true`, calculate and return document scores, even if the scores are not used for sorting.", + "default": false, "type": "boolean" }, "version": { "description": "If `true`, the request returns the document version as part of a hit.", + "default": false, "type": "boolean" }, "seq_no_primary_term": { @@ -31450,10 +31487,12 @@ }, "size": { "description": "The maximum number of hits to return per `inner_hits`.", + "default": 3.0, "type": "number" }, "from": { "description": "Inner hit starting document offset.", + "default": 0.0, "type": "number" }, "collapse": { @@ -31499,6 +31538,7 @@ "$ref": "#/components/schemas/_types.Fields" }, "track_scores": { + "default": false, "type": "boolean" }, "version": { @@ -31602,10 +31642,12 @@ }, "boundary_chars": { "description": "A string that contains each boundary character.", + "default": ".,!? \\t\\n", "type": "string" }, "boundary_max_scan": { "description": "How far to scan for boundary characters.", + "default": 20.0, "type": "number" }, "boundary_scanner": { @@ -31613,6 +31655,7 @@ }, "boundary_scanner_locale": { "description": "Controls which locale is used to search for sentence and word boundaries.\nThis parameter takes a form of a language tag, for example: `\"en-US\"`, `\"fr-FR\"`, `\"ja-JP\"`.", + "default": "Locale.ROOT", "type": "string" }, "force_source": { @@ -31624,6 +31667,7 @@ }, "fragment_size": { "description": "The size of the highlighted fragment in characters.", + "default": 100.0, "type": "number" }, "highlight_filter": { @@ -31641,10 +31685,12 @@ }, "no_match_size": { "description": "The amount of text you want to return from the beginning of the field if there are no matching fragments to highlight.", + "default": 0.0, "type": "number" }, "number_of_fragments": { "description": "The maximum number of fragments to return.\nIf the number of fragments is set to `0`, no fragments are returned.\nInstead, the entire field contents are highlighted and returned.\nThis can be handy when you need to highlight short texts such as a title or address, but fragmentation is not required.\nIf `number_of_fragments` is `0`, `fragment_size` is ignored.", + "default": 5.0, "type": "number" }, "options": { @@ -31658,6 +31704,7 @@ }, "phrase_limit": { "description": "Controls the number of matching phrases in a document that are considered.\nPrevents the `fvh` highlighter from analyzing too many phrases and consuming too much memory.\nWhen using `matched_fields`, `phrase_limit` phrases per matched field are considered. Raising the limit increases query time and consumes more memory.\nOnly supported by the `fvh` highlighter.", + "default": 256.0, "type": "number" }, "post_tags": { @@ -31676,6 +31723,7 @@ }, "require_field_match": { "description": "By default, only fields that contains a query match are highlighted.\nSet to `false` to highlight all fields.", + "default": true, "type": "boolean" }, "tags_schema": { @@ -32056,10 +32104,12 @@ }, "query_weight": { "description": "Relative importance of the original query versus the rescore query.", + "default": 1.0, "type": "number" }, "rescore_query_weight": { "description": "Relative importance of the rescore query versus the original query.", + "default": 1.0, "type": "number" }, "score_mode": { @@ -32628,10 +32678,12 @@ "properties": { "max_expansions": { "description": "Maximum number of variations created.", + "default": 50.0, "type": "number" }, "prefix_length": { "description": "Number of beginning characters left unchanged when creating expansions.", + "default": 0.0, "type": "number" }, "rewrite": { @@ -32639,6 +32691,7 @@ }, "transpositions": { "description": "Indicates whether edits include transpositions of two adjacent characters (for example `ab` to `ba`).", + "default": true, "type": "boolean" }, "fuzziness": { @@ -32694,6 +32747,7 @@ }, "ignore_unmapped": { "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", + "default": false, "type": "boolean" } } @@ -32734,6 +32788,7 @@ }, "ignore_unmapped": { "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", + "default": false, "type": "boolean" } }, @@ -32794,6 +32849,7 @@ "properties": { "ignore_unmapped": { "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", + "default": false, "type": "boolean" } } @@ -32810,6 +32866,7 @@ "properties": { "ignore_unmapped": { "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", + "default": false, "type": "boolean" }, "inner_hits": { @@ -32863,6 +32920,7 @@ "properties": { "ignore_unmapped": { "description": "Indicates whether to ignore an unmapped `parent_type` and not return any documents instead of an error.\nYou can use this parameter to query multiple indices that may not contain the `parent_type`.", + "default": false, "type": "boolean" }, "inner_hits": { @@ -32876,6 +32934,7 @@ }, "score": { "description": "Indicates whether the relevance score of a matching parent document is aggregated into its child documents.", + "default": false, "type": "boolean" } }, @@ -32967,10 +33026,12 @@ }, "max_gaps": { "description": "Maximum number of positions between the matching terms.\nIntervals produced by the rules further apart than this are not considered matches.", + "default": -1.0, "type": "number" }, "ordered": { "description": "If `true`, intervals produced by the rules should appear in the order in which they are specified.", + "default": false, "type": "boolean" }, "filter": { @@ -33076,6 +33137,7 @@ }, "prefix_length": { "description": "Number of beginning characters left unchanged when creating expansions.", + "default": 0.0, "type": "number" }, "term": { @@ -33084,6 +33146,7 @@ }, "transpositions": { "description": "Indicates whether edits include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "default": true, "type": "boolean" }, "use_field": { @@ -33103,10 +33166,12 @@ }, "max_gaps": { "description": "Maximum number of positions between the matching terms.\nTerms further apart than this are not considered matches.", + "default": -1.0, "type": "number" }, "ordered": { "description": "If `true`, matching terms must appear in their specified order.", + "default": false, "type": "boolean" }, "query": { @@ -33276,6 +33341,7 @@ }, "auto_generate_synonyms_phrase_query": { "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", + "default": true, "type": "boolean" }, "cutoff_frequency": { @@ -33290,14 +33356,17 @@ }, "fuzzy_transpositions": { "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "default": true, "type": "boolean" }, "lenient": { "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", + "default": false, "type": "boolean" }, "max_expansions": { "description": "Maximum number of terms to which the query will expand.", + "default": 50.0, "type": "number" }, "minimum_should_match": { @@ -33308,6 +33377,7 @@ }, "prefix_length": { "description": "Number of beginning characters left unchanged for fuzzy matching.", + "default": 0.0, "type": "number" }, "query": { @@ -33371,10 +33441,12 @@ }, "fuzzy_transpositions": { "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", + "default": true, "type": "boolean" }, "max_expansions": { "description": "Maximum number of terms to which the query will expand.\nCan be applied to the term subqueries constructed for all terms but the final term.", + "default": 50.0, "type": "number" }, "minimum_should_match": { @@ -33385,6 +33457,7 @@ }, "prefix_length": { "description": "Number of beginning characters left unchanged for fuzzy matching.\nCan be applied to the term subqueries constructed for all terms but the final term.", + "default": 0.0, "type": "number" }, "query": { @@ -33426,6 +33499,7 @@ }, "slop": { "description": "Maximum number of positions allowed between matching tokens.", + "default": 0.0, "type": "number" }, "zero_terms_query": { @@ -33452,6 +33526,7 @@ }, "max_expansions": { "description": "Maximum number of terms to which the last provided term of the query value will expand.", + "default": 50.0, "type": "number" }, "query": { @@ -33460,6 +33535,7 @@ }, "slop": { "description": "Maximum number of positions allowed between matching tokens.", + "default": 0.0, "type": "number" }, "zero_terms_query": { @@ -33489,10 +33565,12 @@ }, "boost_terms": { "description": "Each term in the formed query could be further boosted by their tf-idf score.\nThis sets the boost factor to use when using this feature.\nDefaults to deactivated (0).", + "default": 0.0, "type": "number" }, "fail_on_unsupported_field": { "description": "Controls whether the query should fail (throw an exception) if any of the specified fields are not of the supported types (`text` or `keyword`).", + "default": true, "type": "boolean" }, "fields": { @@ -33504,6 +33582,7 @@ }, "include": { "description": "Specifies whether the input documents should also be included in the search results returned.", + "default": false, "type": "boolean" }, "like": { @@ -33526,14 +33605,17 @@ }, "max_query_terms": { "description": "The maximum number of query terms that can be selected.", + "default": 25.0, "type": "number" }, "max_word_length": { "description": "The maximum word length above which the terms are ignored.\nDefaults to unbounded (`0`).", + "default": 0.0, "type": "number" }, "min_doc_freq": { "description": "The minimum document frequency below which the terms are ignored from the input document.", + "default": 5.0, "type": "number" }, "minimum_should_match": { @@ -33541,10 +33623,12 @@ }, "min_term_freq": { "description": "The minimum term frequency below which the terms are ignored from the input document.", + "default": 2.0, "type": "number" }, "min_word_length": { "description": "The minimum word length below which the terms are ignored.", + "default": 0.0, "type": "number" }, "routing": { @@ -33707,6 +33791,7 @@ }, "auto_generate_synonyms_phrase_query": { "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", + "default": true, "type": "boolean" }, "cutoff_frequency": { @@ -33724,14 +33809,17 @@ }, "fuzzy_transpositions": { "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", + "default": true, "type": "boolean" }, "lenient": { "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", + "default": false, "type": "boolean" }, "max_expansions": { "description": "Maximum number of terms to which the query will expand.", + "default": 50.0, "type": "number" }, "minimum_should_match": { @@ -33742,6 +33830,7 @@ }, "prefix_length": { "description": "Number of beginning characters left unchanged for fuzzy matching.", + "default": 0.0, "type": "number" }, "query": { @@ -33750,10 +33839,12 @@ }, "slop": { "description": "Maximum number of positions allowed between matching tokens.", + "default": 0.0, "type": "number" }, "tie_breaker": { "description": "Determines how scores for each per-term blended query and scores across groups are combined.", + "default": 0.0, "type": "number" }, "type": { @@ -33790,6 +33881,7 @@ "properties": { "ignore_unmapped": { "description": "Indicates whether to ignore an unmapped path and not return any documents instead of an error.", + "default": false, "type": "boolean" }, "inner_hits": { @@ -33825,6 +33917,7 @@ }, "ignore_unmapped": { "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", + "default": false, "type": "boolean" }, "type": { @@ -33960,6 +34053,7 @@ }, "case_insensitive": { "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nDefault is `false` which means the case sensitivity of matching depends on the underlying field’s mapping.", + "default": false, "x-state": "Generally available", "type": "boolean" } @@ -33980,6 +34074,7 @@ "properties": { "allow_leading_wildcard": { "description": "If `true`, the wildcard characters `*` and `?` are allowed as the first character of the query string.", + "default": true, "type": "boolean" }, "analyzer": { @@ -33988,10 +34083,12 @@ }, "analyze_wildcard": { "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", + "default": false, "type": "boolean" }, "auto_generate_synonyms_phrase_query": { "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", + "default": true, "type": "boolean" }, "default_field": { @@ -34002,9 +34099,11 @@ }, "enable_position_increments": { "description": "If `true`, enable position increments in queries constructed from a `query_string` search.", + "default": true, "type": "boolean" }, "escape": { + "default": false, "type": "boolean" }, "fields": { @@ -34019,10 +34118,12 @@ }, "fuzzy_max_expansions": { "description": "Maximum number of terms to which the query expands for fuzzy matching.", + "default": 50.0, "type": "number" }, "fuzzy_prefix_length": { "description": "Number of beginning characters left unchanged for fuzzy matching.", + "default": 0.0, "type": "number" }, "fuzzy_rewrite": { @@ -34030,14 +34131,17 @@ }, "fuzzy_transpositions": { "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", + "default": true, "type": "boolean" }, "lenient": { "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", + "default": false, "type": "boolean" }, "max_determinized_states": { "description": "Maximum number of automaton states required for the query.", + "default": 10000.0, "type": "number" }, "minimum_should_match": { @@ -34045,6 +34149,7 @@ }, "phrase_slop": { "description": "Maximum number of positions allowed between matching tokens for phrases.", + "default": 0.0, "type": "number" }, "query": { @@ -34400,6 +34505,7 @@ "properties": { "case_insensitive": { "description": "Allows case insensitive matching of the regular expression value with the indexed field values when set to `true`.\nWhen `false`, case sensitivity of matching depends on the underlying field’s mapping.", + "default": false, "x-state": "Generally available", "type": "boolean" }, @@ -34409,6 +34515,7 @@ }, "max_determinized_states": { "description": "Maximum number of automaton states required for the query.", + "default": 10000.0, "type": "number" }, "rewrite": { @@ -34561,10 +34668,12 @@ }, "analyze_wildcard": { "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", + "default": false, "type": "boolean" }, "auto_generate_synonyms_phrase_query": { "description": "If `true`, the parser creates a match_phrase query for each multi-position token.", + "default": true, "type": "boolean" }, "default_operator": { @@ -34582,10 +34691,12 @@ }, "fuzzy_max_expansions": { "description": "Maximum number of terms to which the query expands for fuzzy matching.", + "default": 50.0, "type": "number" }, "fuzzy_prefix_length": { "description": "Number of beginning characters left unchanged for fuzzy matching.", + "default": 0.0, "type": "number" }, "fuzzy_transpositions": { @@ -34594,6 +34705,7 @@ }, "lenient": { "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", + "default": false, "type": "boolean" }, "minimum_should_match": { @@ -34838,10 +34950,12 @@ }, "post": { "description": "The number of tokens after the include span that can’t have overlap with the exclude span.", + "default": 0.0, "type": "number" }, "pre": { "description": "The number of tokens before the include span that can’t have overlap with the exclude span.", + "default": 0.0, "type": "number" } }, @@ -34973,14 +35087,17 @@ "properties": { "tokens_freq_ratio_threshold": { "description": "Tokens whose frequency is more than this threshold times the average frequency of all tokens in the specified field are considered outliers and pruned.", + "default": 5.0, "type": "number" }, "tokens_weight_threshold": { "description": "Tokens whose weight is less than this threshold are considered nonsignificant and pruned.", + "default": 0.4, "type": "number" }, "only_score_pruned_tokens": { "description": "Whether to only score pruned tokens, vs only scoring kept tokens.", + "default": false, "type": "boolean" } } @@ -34998,6 +35115,7 @@ }, "case_insensitive": { "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nWhen `false`, the case sensitivity of matching depends on the underlying field’s mapping.", + "default": false, "x-state": "Generally available", "type": "boolean" } @@ -35203,6 +35321,7 @@ "properties": { "buckets": { "description": "The target number of buckets.", + "default": 10.0, "type": "number" }, "field": { @@ -35567,6 +35686,7 @@ "properties": { "precision_threshold": { "description": "A unique count below which counts are expected to be close to accurate.\nThis allows to trade memory for accuracy.", + "default": 3000.0, "type": "number" }, "rehash": { @@ -35603,14 +35723,17 @@ }, "max_unique_tokens": { "description": "The maximum number of unique tokens at any position up to max_matched_tokens. Must be larger than 1.\nSmaller values use less memory and create fewer categories. Larger values will use more memory and\ncreate narrower categories. Max allowed value is 100.", + "default": 50.0, "type": "number" }, "max_matched_tokens": { "description": "The maximum number of token positions to match on before attempting to merge categories. Larger\nvalues will use more memory and create narrower categories. Max allowed value is 100.", + "default": 5.0, "type": "number" }, "similarity_threshold": { "description": "The minimum percentage of tokens that must match for text to be added to the category bucket. Must\nbe between 1 and 100. The larger the value the narrower the categories. Larger values will increase memory\nusage and create narrower categories.", + "default": 50.0, "type": "number" }, "categorization_filters": { @@ -35629,6 +35752,7 @@ }, "size": { "description": "The number of buckets to return.", + "default": 10.0, "type": "number" }, "min_doc_count": { @@ -35704,6 +35828,7 @@ }, "size": { "description": "The number of composite buckets that should be returned.", + "default": 10.0, "type": "number" }, "sources": { @@ -36079,6 +36204,7 @@ }, "max_docs_per_value": { "description": "Limits how many documents are permitted per choice of de-duplicating value.", + "default": 1.0, "type": "number" }, "script": { @@ -36086,6 +36212,7 @@ }, "shard_size": { "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", + "default": 100.0, "type": "number" }, "field": { @@ -36147,14 +36274,17 @@ }, "minimum_set_size": { "description": "The minimum size of one item set.", + "default": 1.0, "type": "number" }, "minimum_support": { "description": "The minimum support of one item set.", + "default": 0.1, "type": "number" }, "size": { "description": "The number of top item sets to return.", + "default": 10.0, "type": "number" }, "filter": { @@ -36245,10 +36375,12 @@ }, "other_bucket_key": { "description": "The key with which the other bucket is returned.", + "default": "_other_", "type": "string" }, "keyed": { "description": "By default, the named filters aggregation returns the buckets as an object.\nSet to `false` to return the buckets as an array of objects.", + "default": true, "type": "boolean" } } @@ -36282,6 +36414,7 @@ "properties": { "wrap_longitude": { "description": "Specifies whether the bounding box should be allowed to overlap the international date line.", + "default": true, "type": "boolean" } } @@ -36393,6 +36526,7 @@ }, "size": { "description": "The maximum number of geohash buckets to return.", + "default": 10000.0, "type": "number" } } @@ -36428,6 +36562,7 @@ }, "size": { "description": "The maximum length of the line represented in the aggregation.\nValid sizes are between 1 and 10000.", + "default": 10000.0, "type": "number" } }, @@ -36478,6 +36613,7 @@ }, "size": { "description": "The maximum number of buckets to return.", + "default": 10000.0, "type": "number" }, "bounds": { @@ -36503,6 +36639,7 @@ }, "precision": { "description": "Integer zoom of the key used to defined cells or buckets\nin the results. Value should be between 0-15.", + "default": 6.0, "type": "number" }, "bounds": { @@ -36510,6 +36647,7 @@ }, "size": { "description": "Maximum number of buckets to return.", + "default": 10000.0, "type": "number" }, "shard_size": { @@ -36577,6 +36715,7 @@ }, "keyed": { "description": "If `true`, returns buckets as a hash instead of an array, keyed by the bucket keys.", + "default": false, "type": "boolean" } } @@ -36668,10 +36807,12 @@ }, "is_ipv6": { "description": "Defines whether the prefix applies to IPv6 addresses.", + "default": false, "type": "boolean" }, "append_prefix_length": { "description": "Defines whether the prefix length is appended to IP address keys in the response.", + "default": false, "type": "boolean" }, "keyed": { @@ -36680,6 +36821,7 @@ }, "min_doc_count": { "description": "Minimum number of documents in a bucket for it to be included in the response.", + "default": 1.0, "type": "number" } }, @@ -36732,6 +36874,7 @@ }, "num_top_feature_importance_values": { "description": "Specifies the maximum number of feature importance values per document.", + "default": 0.0, "type": "number" } } @@ -36745,6 +36888,7 @@ }, "num_top_feature_importance_values": { "description": "Specifies the maximum number of feature importance values per document.", + "default": 0.0, "type": "number" }, "prediction_field_type": { @@ -36828,6 +36972,7 @@ "properties": { "compression": { "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", + "default": 1000.0, "type": "number" }, "execution_hint": { @@ -37110,6 +37255,7 @@ }, "shift": { "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", + "default": 0.0, "type": "number" }, "keyed": { @@ -37133,6 +37279,7 @@ }, "shift": { "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", + "default": 0.0, "type": "number" }, "window": { @@ -37159,10 +37306,12 @@ }, "min_doc_count": { "description": "The minimum number of documents in a bucket for it to be returned.", + "default": 1.0, "type": "number" }, "shard_min_doc_count": { "description": "The minimum number of documents in a bucket on each shard for it to be returned.", + "default": 1.0, "type": "number" }, "shard_size": { @@ -37171,10 +37320,12 @@ }, "show_term_doc_count_error": { "description": "Calculates the doc count error on per term basis.", + "default": false, "type": "boolean" }, "size": { "description": "The number of term buckets should be returned out of the overall terms list.", + "default": 10.0, "type": "number" }, "terms": { @@ -37278,6 +37429,7 @@ "properties": { "keyed": { "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", + "default": true, "type": "boolean" }, "values": { @@ -37336,6 +37488,7 @@ "properties": { "keyed": { "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", + "default": true, "type": "boolean" }, "percents": { @@ -37429,6 +37582,7 @@ }, "max_doc_count": { "description": "The maximum number of documents a term should appear in.", + "default": 1.0, "type": "number" }, "missing": { @@ -37436,6 +37590,7 @@ }, "precision": { "description": "The precision of the internal CuckooFilters.\nSmaller precision leads to better approximation, but higher memory usage.", + "default": 0.001, "type": "number" }, "value_type": { @@ -37495,6 +37650,7 @@ "properties": { "shard_size": { "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", + "default": 100.0, "type": "number" } } @@ -37582,6 +37738,7 @@ }, "min_doc_count": { "description": "Only return terms that are found in more than `min_doc_count` hits.", + "default": 3.0, "type": "number" }, "mutual_information": { @@ -37709,6 +37866,7 @@ }, "min_doc_count": { "description": "Only return values that are found in more than `min_doc_count` hits.", + "default": 3.0, "type": "number" }, "mutual_information": { @@ -37769,6 +37927,7 @@ "properties": { "show_distribution": { "description": "Shows the probability distribution for all characters.", + "default": false, "type": "boolean" } } @@ -37820,6 +37979,7 @@ }, "min_doc_count": { "description": "Only return values that are found in more than `min_doc_count` hits.", + "default": 1.0, "type": "number" }, "missing": { @@ -37855,6 +38015,7 @@ }, "size": { "description": "The number of buckets returned out of the overall terms list.", + "default": 10.0, "type": "number" }, "format": { @@ -37874,6 +38035,7 @@ "properties": { "size": { "description": "The maximum number of results to return.", + "default": 10000.0, "type": "number" }, "keyed": { @@ -37901,6 +38063,7 @@ }, "explain": { "description": "If `true`, returns detailed information about score computation as part of a hit.", + "default": false, "type": "boolean" }, "fields": { @@ -37912,6 +38075,7 @@ }, "from": { "description": "Starting document offset.", + "default": 0.0, "type": "number" }, "highlight": { @@ -37926,6 +38090,7 @@ }, "size": { "description": "The maximum number of top matching hits to return per bucket.", + "default": 3.0, "type": "number" }, "sort": { @@ -37939,10 +38104,12 @@ }, "track_scores": { "description": "If `true`, calculates and returns document scores, even if the scores are not used for sorting.", + "default": false, "type": "boolean" }, "version": { "description": "If `true`, returns document version as part of a hit.", + "default": false, "type": "boolean" }, "seq_no_primary_term": { @@ -38023,6 +38190,7 @@ }, "size": { "description": "The number of top documents from which to return metrics.", + "default": 1.0, "type": "number" }, "sort": { @@ -38116,6 +38284,7 @@ }, "buckets": { "description": "The target number of buckets.", + "default": 10.0, "type": "number" }, "shard_size": { @@ -38206,6 +38375,7 @@ }, "require_alias": { "description": "If `true`, the request's actions must target an index alias.", + "default": false, "type": "boolean" } } @@ -38258,6 +38428,7 @@ "properties": { "require_alias": { "description": "If `true`, the request's actions must target an index alias.", + "default": false, "type": "boolean" }, "retry_on_conflict": { @@ -38283,6 +38454,7 @@ "properties": { "detect_noop": { "description": "If true, the `result` in the response is set to 'noop' when no changes to the document occur.", + "default": true, "type": "boolean" }, "doc": { @@ -38291,6 +38463,7 @@ }, "doc_as_upsert": { "description": "Set to `true` to use the contents of `doc` as the value of `upsert`.", + "default": false, "type": "boolean" }, "script": { @@ -38298,6 +38471,7 @@ }, "scripted_upsert": { "description": "Set to `true` to run the script whether or not the document exists.", + "default": false, "type": "boolean" }, "_source": { @@ -40379,15 +40553,18 @@ "$ref": "#/components/schemas/indices._types.IndexCheckOnStartup" }, "codec": { + "default": "LZ4", "type": "string" }, "routing_partition_size": { "$ref": "#/components/schemas/_spec_utils.Stringifiedinteger" }, "load_fixed_bitset_filters_eagerly": { + "default": true, "type": "boolean" }, "hidden": { + "default": "false", "oneOf": [ { "type": "boolean" @@ -40398,6 +40575,7 @@ ] }, "auto_expand_replicas": { + "default": "false", "oneOf": [ { "type": "string" @@ -40417,24 +40595,31 @@ "$ref": "#/components/schemas/_types.Duration" }, "max_result_window": { + "default": 10000.0, "type": "number" }, "max_inner_result_window": { + "default": 100.0, "type": "number" }, "max_rescore_window": { + "default": 10000.0, "type": "number" }, "max_docvalue_fields_search": { + "default": 100.0, "type": "number" }, "max_script_fields": { + "default": 32.0, "type": "number" }, "max_ngram_diff": { + "default": 1.0, "type": "number" }, "max_shingle_diff": { + "default": 3.0, "type": "number" }, "blocks": { @@ -40450,9 +40635,11 @@ "$ref": "#/components/schemas/indices._types.SettingsHighlight" }, "max_terms_count": { + "default": 65536.0, "type": "number" }, "max_regex_length": { + "default": 1000.0, "type": "number" }, "routing": { @@ -40565,6 +40752,7 @@ "properties": { "enabled": { "description": "Indicates whether soft deletes are enabled on the index.", + "default": true, "type": "boolean" }, "retention_lease": { @@ -40805,6 +40993,7 @@ "type": "object", "properties": { "max_analyzed_offset": { + "default": 1000000.0, "type": "number" } } @@ -40914,6 +41103,7 @@ }, "origination_date": { "description": "If specified, this is the timestamp used to calculate the index age for its phase transitions. Use this setting\nif you create a new index that contains old data and want to use the original creation date to calculate the index\nage. Specified as a Unix epoch value in milliseconds.", + "default": 0.0, "type": "number" }, "parse_origination_date": { @@ -40925,10 +41115,12 @@ }, "rollover_alias": { "description": "The index alias to update when the index rolls over. Specify when using a policy that contains a rollover action.\nWhen the index rolls over, the alias is updated to reflect that the index is no longer the write index. For more\ninformation about rolling indices, see Rollover.", + "default": "", "type": "string" }, "prefer_ilm": { "description": "Preference for the system that manages a data stream backing index (preferring ILM when both ILM and DLM are\napplicable for an index).", + "default": "true", "oneOf": [ { "type": "boolean" @@ -41274,6 +41466,7 @@ }, "max_output_size": { "description": "The maximum token size to emit. Tokens larger than this size will be discarded.\nDefaults to `255`", + "default": 255.0, "type": "number" }, "separator": { @@ -41364,10 +41557,12 @@ }, "lowercase": { "description": "Should terms be lowercased or not.\nDefaults to `true`.", + "default": true, "type": "boolean" }, "pattern": { "description": "A Java regular expression.\nDefaults to `\\W+`.", + "default": "\\W+", "type": "string" }, "stopwords": { @@ -41410,6 +41605,7 @@ }, "max_token_length": { "description": "The maximum token length. If a token is seen that exceeds this length then it is split at `max_token_length` intervals.\nDefaults to `255`.", + "default": 255.0, "type": "number" }, "stopwords": { @@ -45474,6 +45670,7 @@ ] }, "buffer_size": { + "default": 256.0, "type": "number" } }, @@ -45549,6 +45746,7 @@ "type": "number" }, "token_chars": { + "default": [], "type": "array", "items": { "$ref": "#/components/schemas/_types.analysis.TokenChar" @@ -46195,6 +46393,7 @@ "properties": { "limit": { "description": "The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.\nThe limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance\ndegradations and memory issues, especially in clusters with a high load or few resources.", + "default": "1000", "oneOf": [ { "type": "number" @@ -46206,6 +46405,7 @@ }, "ignore_dynamic_beyond_limit": { "description": "This setting determines what happens when a dynamically mapped field would exceed the total fields limit. When set\nto false (the default), the index request of the document that tries to add a dynamic field to the mapping will fail\nwith the message Limit of total fields [X] has been exceeded. When set to true, the index request will not fail.\nInstead, fields that would exceed the limit are not added to the mapping, similar to dynamic: false.\nThe fields that were not added to the mapping will be added to the _ignored field.", + "default": "false", "oneOf": [ { "type": "boolean" @@ -46222,6 +46422,7 @@ "properties": { "limit": { "description": "The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined\nat the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.", + "default": 20.0, "type": "number" } } @@ -46231,6 +46432,7 @@ "properties": { "limit": { "description": "The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when\narrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this\nsetting limits the number of unique nested types per index.", + "default": 50.0, "type": "number" } } @@ -46240,6 +46442,7 @@ "properties": { "limit": { "description": "The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps\nto prevent out of memory errors when a document contains too many nested objects.", + "default": 10000.0, "type": "number" } } @@ -47631,6 +47834,7 @@ }, "index": { "description": "If `true`, you can search this field using the kNN search API.", + "default": true, "type": "boolean" }, "index_options": { @@ -47663,10 +47867,12 @@ }, "ef_construction": { "description": "The number of candidates to track while assembling the list of nearest neighbors for each new node.\n\nOnly applicable to `hnsw`, `int8_hnsw`, `bbq_hnsw`, and `int4_hnsw` index types.", + "default": 100.0, "type": "number" }, "m": { "description": "The number of neighbors each node will be connected to in the HNSW graph.\n\nOnly applicable to `hnsw`, `int8_hnsw`, `bbq_hnsw`, and `int4_hnsw` index types.", + "default": 16.0, "type": "number" }, "type": { @@ -47937,18 +48143,22 @@ "properties": { "strategy": { "description": "The chunking strategy: `sentence` or `word`.", + "default": "sentence", "type": "string" }, "max_chunk_size": { "description": "The maximum size of a chunk in words.\nThis value cannot be higher than `300` or lower than `20` (for `sentence` strategy) or `10` (for `word` strategy).", + "default": 250.0, "type": "number" }, "overlap": { "description": "The number of overlapping words for chunks.\nIt is applicable only to a `word` chunking strategy.\nThis value cannot be higher than half the `max_chunk_size` value.", + "default": 100.0, "type": "number" }, "sentence_overlap": { "description": "The number of overlapping sentences for chunks.\nIt is applicable only for a `sentence` chunking strategy.\nIt can be either `1` or `0`.", + "default": 1.0, "type": "number" } }, @@ -48480,6 +48690,7 @@ }, "time_series_dimension": { "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", + "default": false, "x-state": "Technical preview", "type": "boolean" } @@ -49020,6 +49231,7 @@ }, "is_write_index": { "description": "If `true`, the index is the write index for the alias.", + "default": false, "type": "boolean" }, "routing": { @@ -49032,6 +49244,7 @@ }, "is_hidden": { "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", + "default": false, "x-state": "Generally available", "type": "boolean" } @@ -49100,6 +49313,7 @@ }, "enabled": { "description": "If defined, it turns data stream lifecycle on/off (`true`/`false`) for this data stream. A data stream lifecycle\nthat's disabled (enabled: `false`) will have no effect on the data stream.", + "default": true, "type": "boolean" } } @@ -49168,6 +49382,7 @@ "properties": { "enabled": { "description": "If defined, it turns the failure store on/off (`true`/`false`) for this data stream. A data stream failure store\nthat's disabled (enabled: `false`) will redirect no new failed indices to the failure store; however, it will\nnot remove any existing data from the failure store.", + "default": "true", "oneOf": [ { "type": "boolean" @@ -49210,6 +49425,7 @@ }, "enabled": { "description": "If defined, it turns data stream lifecycle on/off (`true`/`false`) for this data stream. A data stream lifecycle\nthat's disabled (enabled: `false`) will have no effect on the data stream.", + "default": true, "type": "boolean" } } @@ -49540,10 +49756,12 @@ }, "is_hidden": { "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", + "default": false, "type": "boolean" }, "is_write_index": { "description": "If `true`, the index is the write index for the alias.", + "default": false, "type": "boolean" }, "routing": { @@ -51236,14 +51454,17 @@ }, "min_doc_count": { "description": "Specifies how many documents must contain a pair of terms before it is considered to be a useful connection.\nThis setting acts as a certainty threshold.", + "default": 3.0, "type": "number" }, "shard_min_doc_count": { "description": "Controls how many documents on a particular shard have to contain a pair of terms before the connection is returned for global consideration.", + "default": 2.0, "type": "number" }, "size": { "description": "Specifies the maximum number of vertex terms returned for each field.", + "default": 5.0, "type": "number" } }, @@ -51273,6 +51494,7 @@ }, "sample_size": { "description": "Each hop considers a sample of the best-matching documents on each shard.\nUsing samples improves the speed of execution and keeps exploration focused on meaningfully-connected terms.\nVery small values (less than 50) might not provide sufficient weight-of-evidence to identify significant connections between terms.\nVery large sample sizes can dilute the quality of the results and increase execution times.", + "default": 100.0, "type": "number" }, "timeout": { @@ -51847,6 +52069,7 @@ "properties": { "enabled": { "description": "If defined, it turns the failure store on/off (`true`/`false`) for this data stream. A data stream failure store\nthat's disabled (enabled: `false`) will redirect no new failed indices to the failure store; however, it will\nnot remove any existing data from the failure store.", + "default": true, "type": "boolean" }, "lifecycle": { @@ -51863,6 +52086,7 @@ }, "enabled": { "description": "If defined, it turns data stream lifecycle on/off (`true`/`false`) for this data stream. A data stream lifecycle\nthat's disabled (enabled: `false`) will have no effect on the data stream.", + "default": true, "type": "boolean" } } @@ -51986,10 +52210,12 @@ "properties": { "hidden": { "description": "If true, the data stream is hidden.", + "default": false, "type": "boolean" }, "allow_custom_routing": { "description": "If true, the data stream supports custom routing.", + "default": false, "type": "boolean" } } @@ -52357,6 +52583,7 @@ }, "is_hidden": { "description": "If `true`, the alias is hidden.", + "default": false, "type": "boolean" }, "is_write_index": { @@ -52371,6 +52598,7 @@ }, "must_exist": { "description": "If `true`, the alias must exist to perform the action.", + "default": false, "type": "boolean" } } @@ -52403,6 +52631,7 @@ }, "must_exist": { "description": "If `true`, the alias must exist to perform the action.", + "default": false, "type": "boolean" } } @@ -52418,6 +52647,7 @@ }, "must_exist": { "description": "If `true`, the alias must exist to perform the action.", + "default": false, "type": "boolean" } } @@ -52787,18 +53017,22 @@ "properties": { "max_chunk_size": { "description": "The maximum size of a chunk in words.\nThis value cannot be higher than `300` or lower than `20` (for `sentence` strategy) or `10` (for `word` strategy).", + "default": 250.0, "type": "number" }, "overlap": { "description": "The number of overlapping words for chunks.\nIt is applicable only to a `word` chunking strategy.\nThis value cannot be higher than half the `max_chunk_size` value.", + "default": 100.0, "type": "number" }, "sentence_overlap": { "description": "The number of overlapping sentences for chunks.\nIt is applicable only for a `sentence` chunking strategy.\nIt can be either `1` or `0`.", + "default": 1.0, "type": "number" }, "strategy": { "description": "The chunking strategy: `sentence` or `word`.", + "default": "sentence", "type": "string" } } @@ -53089,6 +53323,7 @@ "properties": { "max_new_tokens": { "description": "For a `completion` task, it sets the maximum number for the output tokens to be generated.", + "default": 64.0, "type": "number" }, "temperature": { @@ -53281,6 +53516,7 @@ }, "max_new_tokens": { "description": "For a `completion` task, provide a hint for the maximum number of output tokens to be generated.", + "default": 64.0, "type": "number" }, "temperature": { @@ -53661,6 +53897,7 @@ "properties": { "enabled": { "description": "Turn on `adaptive_allocations`.", + "default": false, "type": "boolean" }, "max_number_of_allocations": { @@ -53678,6 +53915,7 @@ "properties": { "return_documents": { "description": "For a `rerank` task, return the document instead of only the index.", + "default": true, "type": "boolean" } } @@ -54244,6 +54482,7 @@ }, "url": { "description": "The URL endpoint to use for the requests.\nIt can be changed for testing purposes.", + "default": "https://api.openai.com/v1/embeddings.", "type": "string" } }, @@ -54346,6 +54585,7 @@ }, "return_documents": { "description": "Whether to return the source documents in the response.\nOnly for the `rerank` task type.", + "default": false, "type": "boolean" }, "top_k": { @@ -54354,6 +54594,7 @@ }, "truncation": { "description": "Whether to truncate the input texts to fit within the context length.", + "default": true, "type": "boolean" } } @@ -54607,6 +54848,7 @@ }, "deprecated": { "description": "Marks this ingest pipeline as deprecated.\nWhen a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning.", + "default": false, "type": "boolean" }, "_meta": { @@ -54783,6 +55025,7 @@ }, "allow_duplicates": { "description": "If `false`, the processor does not append values already present in the field.", + "default": true, "type": "boolean" } }, @@ -54833,10 +55076,12 @@ }, "ignore_missing": { "description": "If `true` and field does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "indexed_chars": { "description": "The number of chars being used for extraction to prevent huge fields.\nUse `-1` for no limit.", + "default": 100000.0, "type": "number" }, "indexed_chars_field": { @@ -54854,6 +55099,7 @@ }, "remove_binary": { "description": "If true, the binary field will be removed from the document", + "default": false, "type": "boolean" }, "resource_name": { @@ -54880,6 +55126,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_field": { @@ -54909,6 +55156,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "shape_type": { @@ -54970,10 +55218,12 @@ }, "seed": { "description": "Seed for the community ID hash. Must be between 0 and 65535 (inclusive). The\nseed can prevent hash collisions between network domains, such as a staging\nand production network that use the same addressing scheme.", + "default": 0.0, "type": "number" }, "ignore_missing": { "description": "If true and any required fields are missing, the processor quietly exits\nwithout modifying the document.", + "default": true, "type": "boolean" } } @@ -54993,6 +55243,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_field": { @@ -55043,10 +55294,12 @@ }, "quote": { "description": "Quote used in CSV, has to be single character string.", + "default": "\"", "type": "string" }, "separator": { "description": "Separator used in CSV, has to be single character string.", + "default": ",", "type": "string" }, "target_fields": { @@ -55084,6 +55337,7 @@ }, "locale": { "description": "The locale to use when parsing the date, relevant when parsing month names or week days.\nSupports template snippets.", + "default": "ENGLISH", "type": "string" }, "target_field": { @@ -55091,10 +55345,12 @@ }, "timezone": { "description": "The timezone to use when parsing the date.\nSupports template snippets.", + "default": "UTC", "type": "string" }, "output_format": { "description": "The format to use when writing the date to target_field. Must be a valid\njava time pattern.", + "default": "yyyy-MM-dd'T'HH:mm:ss.SSSXXX", "type": "string" } }, @@ -55129,6 +55385,7 @@ }, "index_name_format": { "description": "The format to be used when printing the parsed date into the index name.\nA valid java time pattern is expected here.\nSupports template snippets.", + "default": "yyyy-MM-dd", "type": "string" }, "index_name_prefix": { @@ -55137,10 +55394,12 @@ }, "locale": { "description": "The locale to use when parsing the date from the document being preprocessed, relevant when parsing month names or week days.", + "default": "ENGLISH", "type": "string" }, "timezone": { "description": "The timezone to use when parsing the date and when date math index supports resolves expressions into concrete index names.", + "default": "UTC", "type": "string" } }, @@ -55161,6 +55420,7 @@ "properties": { "append_separator": { "description": "The character(s) that separate the appended fields.", + "default": "\"\"", "type": "string" }, "field": { @@ -55168,6 +55428,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "pattern": { @@ -55195,6 +55456,7 @@ }, "override": { "description": "Controls the behavior when there is already an existing nested object that conflicts with the expanded field.\nWhen `false`, the processor will merge conflicts by combining the old and the new values into an array.\nWhen `true`, the value from the expanded field will overwrite the existing value.", + "default": false, "type": "boolean" }, "path": { @@ -55231,14 +55493,17 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "max_matches": { "description": "The maximum number of matched documents to include under the configured target field.\nThe `target_field` will be turned into a json array if `max_matches` is higher than 1, otherwise `target_field` will become a json object.\nIn order to avoid documents getting too large, the maximum allowed value is 128.", + "default": 1.0, "type": "number" }, "override": { "description": "If processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", + "default": true, "type": "boolean" }, "policy_name": { @@ -55311,6 +55576,7 @@ }, "ignore_missing": { "description": "If true, the processor ignores any missing fields. If all fields are\nmissing, the processor silently exits without modifying the document.", + "default": false, "type": "boolean" } }, @@ -55343,6 +55609,7 @@ }, "ignore_missing": { "description": "If `true`, the processor silently exits without changing the document if the `field` is `null` or missing.", + "default": false, "type": "boolean" }, "processor": { @@ -55366,6 +55633,7 @@ "properties": { "database_file": { "description": "The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory.", + "default": "GeoLite2-City.mmdb", "type": "string" }, "field": { @@ -55373,10 +55641,12 @@ }, "first_only": { "description": "If `true`, only the first found IP location data will be returned, even if the field contains an array.", + "default": true, "type": "boolean" }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "properties": { @@ -55432,6 +55702,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_format": { @@ -55470,6 +55741,7 @@ "properties": { "database_file": { "description": "The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory.", + "default": "GeoLite2-City.mmdb", "type": "string" }, "field": { @@ -55477,10 +55749,12 @@ }, "first_only": { "description": "If `true`, only the first found geoip data will be returned, even if the field contains an array.", + "default": true, "type": "boolean" }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "properties": { @@ -55514,6 +55788,7 @@ "properties": { "ecs_compatibility": { "description": "Must be disabled or v1. If v1, the processor uses patterns with Elastic\nCommon Schema (ECS) field names.", + "default": "disabled", "type": "string" }, "field": { @@ -55521,6 +55796,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "pattern_definitions": { @@ -55539,6 +55815,7 @@ }, "trace_match": { "description": "When `true`, `_ingest._grok_match_index` will be inserted into your matched document’s metadata with the index into the pattern found in `patterns` that matched.", + "default": false, "type": "boolean" } }, @@ -55565,6 +55842,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "pattern": { @@ -55600,6 +55878,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document,", + "default": false, "type": "boolean" }, "target_field": { @@ -55682,6 +55961,7 @@ }, "num_top_feature_importance_values": { "description": "Specifies the maximum number of feature importance values per document.", + "default": 0.0, "type": "number" } } @@ -55691,10 +55971,12 @@ "properties": { "num_top_classes": { "description": "Specifies the number of top class predictions to return.", + "default": 0.0, "type": "number" }, "num_top_feature_importance_values": { "description": "Specifies the maximum number of feature importance values per document.", + "default": 0.0, "type": "number" }, "results_field": { @@ -55760,6 +56042,7 @@ "properties": { "add_to_root": { "description": "Flag that forces the parsed JSON to be added at the top level of the document.\n`target_field` must not be set when this option is chosen.", + "default": false, "type": "boolean" }, "add_to_root_conflict_strategy": { @@ -55767,6 +56050,7 @@ }, "allow_duplicate_keys": { "description": "When set to `true`, the JSON parser will not fail if the JSON contains duplicate keys.\nInstead, the last encountered value for any duplicate key wins.", + "default": false, "type": "boolean" }, "field": { @@ -55813,6 +56097,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "include_keys": { @@ -55824,10 +56109,12 @@ }, "prefix": { "description": "Prefix to be added to extracted keys.", + "default": "null", "type": "string" }, "strip_brackets": { "description": "If `true`. strip brackets `()`, `<>`, `[]` as well as quotes `'` and `\"` from extracted values.", + "default": false, "type": "boolean" }, "target_field": { @@ -55867,6 +56154,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_field": { @@ -55908,6 +56196,7 @@ }, "ignore_missing": { "description": "If true and any required fields are missing, the processor quietly exits\nwithout modifying the document.", + "default": true, "type": "boolean" } } @@ -55927,6 +56216,7 @@ }, "ignore_missing_pipeline": { "description": "Whether to ignore missing pipelines instead of failing.", + "default": false, "type": "boolean" } }, @@ -55962,22 +56252,27 @@ }, "prefix": { "description": "Start a redacted section with this token", + "default": "<", "type": "string" }, "suffix": { "description": "End a redacted section with this token", + "default": ">", "type": "string" }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "skip_if_unlicensed": { "description": "If `true` and the current license does not support running redact processors, then the processor quietly exits without modifying the document", + "default": false, "type": "boolean" }, "trace_redact": { "description": "If `true` then ingest metadata `_ingest._redact._is_redacted` is set to `true` if the document has been redacted", + "default": false, "x-state": "Generally available", "type": "boolean" } @@ -56005,6 +56300,7 @@ }, "ignore_missing": { "description": "If true and any required fields are missing, the processor quietly exits\nwithout modifying the document.", + "default": true, "type": "boolean" } }, @@ -56030,6 +56326,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" } }, @@ -56052,6 +56349,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_field": { @@ -56153,6 +56451,7 @@ }, "ignore_empty_value": { "description": "If `true` and `value` is a template snippet that evaluates to `null` or the empty string, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "media_type": { @@ -56161,6 +56460,7 @@ }, "override": { "description": "If `true` processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", + "default": true, "type": "boolean" }, "value": { @@ -56236,10 +56536,12 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "preserve_trailing": { "description": "Preserves empty trailing fields, if any.", + "default": false, "type": "boolean" }, "separator": { @@ -56280,6 +56582,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_field": { @@ -56305,6 +56608,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_field": { @@ -56330,6 +56634,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "target_field": { @@ -56355,14 +56660,17 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "keep_original": { "description": "If `true`, the processor copies the unparsed URI to `.original`.", + "default": true, "type": "boolean" }, "remove_if_successful": { "description": "If `true`, the processor removes the `field` after parsing the URI string.\nIf parsing fails, the processor does not remove the `field`.", + "default": false, "type": "boolean" }, "target_field": { @@ -56388,6 +56696,7 @@ }, "ignore_missing": { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", + "default": false, "type": "boolean" }, "regex_file": { @@ -56399,6 +56708,18 @@ }, "properties": { "description": "Controls what properties are added to `target_field`.", + "default": [ + "name", + "major", + "minor", + "patch", + "build", + "os", + "os_name", + "os_major", + "os_minor", + "device" + ], "type": "array", "items": { "$ref": "#/components/schemas/ingest._types.UserAgentProperty" @@ -56406,6 +56727,7 @@ }, "extract_device_type": { "description": "Extracts device type from the user agent string on a best-effort basis.", + "default": false, "x-state": "Generally available", "type": "boolean" } @@ -56938,6 +57260,7 @@ }, "use_null": { "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", + "default": false, "type": "boolean" } } @@ -56947,6 +57270,9 @@ "properties": { "actions": { "description": "The set of actions to be triggered when the rule applies. If more than one action is specified the effects of all actions are combined.", + "default": [ + "skip_result" + ], "type": "array", "items": { "$ref": "#/components/schemas/ml._types.RuleAction" @@ -57543,10 +57869,12 @@ }, "skip_result": { "description": "When true the model will not create results for this calendar period.", + "default": true, "type": "boolean" }, "skip_model_update": { "description": "When true the model will not be updated for this calendar period.", + "default": true, "type": "boolean" }, "force_time_shift": { @@ -57565,10 +57893,12 @@ "properties": { "from": { "description": "Skips the specified number of items.", + "default": 0.0, "type": "number" }, "size": { "description": "Specifies the maximum number of items to obtain.", + "default": 10000.0, "type": "number" } } @@ -57675,6 +58005,7 @@ }, "num_top_classes": { "description": "Defines the number of categories for which the predicted probabilities are reported. It must be non-negative or -1. If it is -1 or greater than the total number of categories, probabilities are reported for all categories; if you have a large number of categories, there could be a significant effect on the size of your destination index. NOTE: To use the AUC ROC evaluation method, `num_top_classes` must be set to -1 or a value greater than or equal to the total number of categories.", + "default": 2.0, "type": "number" } } @@ -57698,6 +58029,7 @@ }, "early_stopping_enabled": { "description": "Advanced configuration option. Specifies whether the training process should finish if it is not finding any better performing models. If disabled, the training process can take significantly longer and the chance of finding a better performing model is unremarkable.", + "default": true, "type": "boolean" }, "eta": { @@ -57737,6 +58069,7 @@ }, "num_top_feature_importance_values": { "description": "Advanced configuration option. Specifies the maximum number of feature importance values per document to return. By default, no feature importance calculation occurs.", + "default": 0.0, "type": "number" }, "prediction_field_name": { @@ -57915,14 +58248,17 @@ "properties": { "compute_feature_influence": { "description": "Specifies whether the feature influence calculation is enabled.", + "default": true, "type": "boolean" }, "feature_influence_threshold": { "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score. Value range: 0-1.", + "default": 0.1, "type": "number" }, "method": { "description": "The method that outlier detection uses. Available methods are `lof`, `ldof`, `distance_kth_nn`, `distance_knn`, and `ensemble`. The default value is ensemble, which means that outlier detection uses an ensemble of different methods and normalises and combines their individual outlier scores to obtain the overall outlier score.", + "default": "ensemble", "type": "string" }, "n_neighbors": { @@ -57935,6 +58271,7 @@ }, "standardization_enabled": { "description": "If true, the following operation is performed on the columns before computing outlier scores: `(x_i - mean(x_i)) / sd(x_i)`.", + "default": true, "type": "boolean" } } @@ -57949,6 +58286,7 @@ "properties": { "loss_function": { "description": "The loss function used during regression. Available options are `mse` (mean squared error), `msle` (mean squared logarithmic error), `huber` (Pseudo-Huber loss).", + "default": "mse", "type": "string" }, "loss_function_parameter": { @@ -58249,10 +58587,12 @@ "properties": { "compute_feature_influence": { "description": "Specifies whether the feature influence calculation is enabled.", + "default": true, "type": "boolean" }, "feature_influence_threshold": { "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score.\nValue range: 0-1", + "default": 0.1, "type": "number" }, "method": { @@ -58269,6 +58609,7 @@ }, "standardization_enabled": { "description": "If `true`, the following operation is performed on the columns before computing outlier scores: (x_i - mean(x_i)) / sd(x_i).", + "default": true, "type": "boolean" } } @@ -58616,10 +58957,12 @@ }, "ignore_unavailable": { "description": "If true, missing or closed indices are not included in the response.", + "default": false, "type": "boolean" }, "ignore_throttled": { "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", + "default": true, "type": "boolean" } } @@ -58970,6 +59313,7 @@ }, "daily_model_snapshot_retention_after_days": { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nValid values range from 0 to `model_snapshot_retention_days`.", + "default": 1.0, "type": "number" }, "data_description": { @@ -59042,6 +59386,7 @@ "properties": { "categorization_examples_limit": { "description": "The maximum number of examples stored per category in memory and in the results data store. If you increase this value, more examples are available, however it requires that you have more storage available. If you set this value to 0, no examples are stored. NOTE: The `categorization_examples_limit` applies only to analysis that uses categorization.", + "default": 4.0, "type": "number" }, "model_memory_limit": { @@ -59087,6 +59432,7 @@ }, "time_format": { "description": "The time format, which can be `epoch`, `epoch_ms`, or a custom pattern. The value `epoch` refers to UNIX or Epoch time (the number of seconds since 1 Jan 1970). The value `epoch_ms` indicates that time is measured in milliseconds since the epoch. The `epoch` and `epoch_ms` time formats accept either integer or real values. Custom patterns must conform to the Java DateTimeFormatter class. When you use date-time formatting patterns, it is recommended that you provide the full date, time and time zone. For example: `yyyy-MM-dd'T'HH:mm:ssX`. If the pattern that you specify is not sufficient to produce a complete timestamp, job creation fails.", + "default": "epoch", "type": "string" }, "field_delimiter": { @@ -59099,11 +59445,13 @@ "properties": { "annotations_enabled": { "description": "If true, enables calculation and storage of the model change annotations for each entity that is being analyzed.", + "default": true, "x-state": "Generally available", "type": "boolean" }, "enabled": { "description": "If true, enables calculation and storage of the model bounds for each entity that is being analyzed.", + "default": false, "type": "boolean" }, "terms": { @@ -59386,14 +59734,17 @@ "properties": { "do_lower_case": { "description": "Should the tokenizer lower case the text", + "default": false, "type": "boolean" }, "max_sequence_length": { "description": "Maximum input sequence length for the model", + "default": 512.0, "type": "number" }, "span": { "description": "Tokenization spanning options. Special value of -1 indicates no spanning takes place", + "default": -1.0, "type": "number" }, "truncate": { @@ -59401,6 +59752,7 @@ }, "with_special_tokens": { "description": "Is tokenization completed with special tokens", + "default": true, "type": "boolean" } } @@ -59424,6 +59776,7 @@ "properties": { "add_prefix_space": { "description": "Should the tokenizer prefix input with a space character", + "default": false, "type": "boolean" } } @@ -59460,6 +59813,7 @@ }, "hypothesis_template": { "description": "Hypothesis template used when tokenizing labels for prediction", + "default": "\"This example is {}.\"", "type": "string" }, "classification_labels": { @@ -59475,6 +59829,7 @@ }, "multi_label": { "description": "Indicates if more than one true label exists.", + "default": false, "type": "boolean" }, "labels": { @@ -60640,6 +60995,7 @@ }, "scroll_size": { "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations. The maximum value is the value of `index.max_result_window`, which is 10,000 by default.", + "default": 1000.0, "type": "number" } } @@ -60649,6 +61005,7 @@ "properties": { "allow_lazy_open": { "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node.", + "default": false, "type": "boolean" }, "analysis_config": { @@ -60665,6 +61022,7 @@ }, "daily_model_snapshot_retention_after_days": { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.", + "default": 1.0, "type": "number" }, "data_description": { @@ -60696,6 +61054,7 @@ }, "model_snapshot_retention_days": { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies the maximum period of time (in days) that snapshots are retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nThe default value is `10`, which means snapshots ten days older than the newest snapshot are deleted.", + "default": 10.0, "type": "number" }, "renormalization_window_days": { @@ -60826,6 +61185,7 @@ }, "use_null": { "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", + "default": false, "type": "boolean" } }, @@ -61439,6 +61799,7 @@ "properties": { "explain": { "description": "If `true`, returns detailed information about score calculation as part of each hit.", + "default": false, "type": "boolean" }, "id": { @@ -61453,6 +61814,7 @@ }, "profile": { "description": "If `true`, the query execution is profiled.", + "default": false, "type": "boolean" }, "source": { @@ -61478,6 +61840,7 @@ }, "field_statistics": { "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", + "default": true, "type": "boolean" }, "filter": { @@ -61485,14 +61848,17 @@ }, "offsets": { "description": "If `true`, the response includes term offsets.", + "default": true, "type": "boolean" }, "payloads": { "description": "If `true`, the response includes term payloads.", + "default": true, "type": "boolean" }, "positions": { "description": "If `true`, the response includes term positions.", + "default": true, "type": "boolean" }, "routing": { @@ -61500,6 +61866,7 @@ }, "term_statistics": { "description": "If true, the response includes term frequency and document frequency.", + "default": false, "type": "boolean" }, "version": { @@ -61519,6 +61886,7 @@ }, "max_num_terms": { "description": "The maximum number of terms that must be returned per field.", + "default": 25.0, "type": "number" }, "max_term_freq": { @@ -61527,18 +61895,22 @@ }, "max_word_length": { "description": "The maximum word length above which words will be ignored.\nDefaults to unbounded.", + "default": 0.0, "type": "number" }, "min_doc_freq": { "description": "Ignore terms which do not occur in at least this many docs.", + "default": 1.0, "type": "number" }, "min_term_freq": { "description": "Ignore words with less than this frequency in the source doc.", + "default": 1.0, "type": "number" }, "min_word_length": { "description": "The minimum word length below which words will be ignored.", + "default": 0.0, "type": "number" } } @@ -61922,6 +62294,7 @@ "properties": { "ignore_unlabeled": { "description": "Controls how unlabeled documents in the search results are counted. If set to true, unlabeled documents are ignored and neither count as relevant or irrelevant. Set to false (the default), they are treated as irrelevant.", + "default": false, "type": "boolean" } } @@ -61938,6 +62311,7 @@ "properties": { "relevant_rating_threshold": { "description": "Sets the rating threshold above which documents are considered to be \"relevant\".", + "default": 1.0, "type": "number" } } @@ -61949,6 +62323,7 @@ "properties": { "k": { "description": "Sets the maximum number of documents retrieved per query. This value will act in place of the usual size parameter in the query.", + "default": 10.0, "type": "number" } } @@ -61986,6 +62361,7 @@ "properties": { "normalize": { "description": "If set to true, this metric will calculate the Normalized DCG.", + "default": false, "type": "boolean" } } @@ -62145,6 +62521,7 @@ }, "size": { "description": "The number of documents to index per batch.\nUse it when you are indexing from remote to ensure that the batches fit within the on-heap buffer, which defaults to a maximum size of 100 MB.", + "default": 1000.0, "type": "number" }, "slice": { @@ -62809,6 +63186,7 @@ }, "allow_restricted_indices": { "description": "This needs to be set to true if the patterns in the names field should cover system indices.", + "default": false, "type": "boolean" } }, @@ -63154,10 +63532,12 @@ }, "other_bucket_key": { "description": "The key with which the other bucket is returned.", + "default": "_other_", "type": "string" }, "keyed": { "description": "By default, the named filters aggregation returns the buckets as an object.\nSet to `false` to return the buckets as an array of objects.", + "default": true, "type": "boolean" } } @@ -63676,14 +64056,17 @@ "properties": { "align_checkpoints": { "description": "Specifies whether the transform checkpoint ranges should be optimized for performance. Such optimization can align\ncheckpoint ranges with the date histogram interval when date histogram is specified as a group source in the\ntransform config. As a result, less document updates in the destination index will be performed thus improving\noverall performance.", + "default": true, "type": "boolean" }, "dates_as_epoch_millis": { "description": "Defines if dates in the ouput should be written as ISO formatted string or as millis since epoch. epoch_millis was\nthe default for transforms created before version 7.11. For compatible output set this value to `true`.", + "default": false, "type": "boolean" }, "deduce_mappings": { "description": "Specifies whether the transform should deduce the destination index mappings from the transform configuration.", + "default": true, "type": "boolean" }, "docs_per_second": { @@ -63692,10 +64075,12 @@ }, "max_page_search_size": { "description": "Defines the initial page size to use for the composite aggregation for each checkpoint. If circuit breaker\nexceptions occur, the page size is dynamically adjusted to a lower value. The minimum value is `10` and the\nmaximum is `65,536`.", + "default": 500.0, "type": "number" }, "unattended": { "description": "If `true`, the transform runs in unattended mode. In unattended mode, the transform retries indefinitely in case\nof an error which means the transform never fails. Setting the number of retries other than infinite fails in\nvalidation.", + "default": false, "x-state": "Generally available", "type": "boolean" } @@ -71479,6 +71864,7 @@ }, "explain": { "description": "If true, returns detailed information about score computation as part of a hit.", + "default": false, "type": "boolean" }, "ext": { @@ -71490,6 +71876,7 @@ }, "from": { "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", + "default": 0.0, "type": "number" }, "highlight": { @@ -71570,6 +71957,7 @@ }, "size": { "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", + "default": 10.0, "type": "number" }, "slice": { @@ -71593,6 +71981,7 @@ }, "terminate_after": { "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", + "default": 0.0, "type": "number" }, "timeout": { @@ -71601,10 +71990,12 @@ }, "track_scores": { "description": "If true, calculate and return document scores, even if the scores are not used for sorting.", + "default": false, "type": "boolean" }, "version": { "description": "If true, returns document version as part of a hit.", + "default": false, "type": "boolean" }, "seq_no_primary_term": { @@ -71865,10 +72256,12 @@ }, "allow_partial_search_results": { "description": "Allow query execution also in case of shard failures.\nIf true, the query will keep running and will return results based on the available shards.\nFor sequences, the behavior can be further refined using allow_partial_sequence_results", + "default": true, "type": "boolean" }, "allow_partial_sequence_results": { "description": "This flag applies only to sequences and has effect only if allow_partial_search_results=true.\nIf true, the sequence query will return results based on the available shards, ignoring the others.\nIf false, the sequence query will return successfully, but will always have empty results.", + "default": false, "type": "boolean" }, "size": { @@ -71896,6 +72289,7 @@ }, "max_samples_per_key": { "description": "By default, the response of a sample query contains up to `10` samples, with one sample per unique set of join keys. Use the `size`\nparameter to get a smaller or larger set of samples. To retrieve more than one sample per set of join keys, use the\n`max_samples_per_key` parameter. Pipes are not supported for sample queries.", + "default": 1.0, "type": "number" } }, @@ -72046,6 +72440,7 @@ }, "explain": { "description": "If `true`, the response includes token attributes and additional details.", + "default": false, "type": "boolean" }, "field": { @@ -72246,6 +72641,7 @@ }, "numeric_detection": { "description": "Automatically map strings into numeric data types for all fields.", + "default": false, "type": "boolean" }, "properties": { @@ -72561,6 +72957,7 @@ "properties": { "allow_no_match": { "description": "Refer to the description for the `allow_no_match` query parameter.", + "default": true, "type": "boolean" }, "bucket_span": { @@ -72571,6 +72968,7 @@ }, "exclude_interim": { "description": "Refer to the description for the `exclude_interim` query parameter.", + "default": false, "type": "boolean" }, "overall_score": { @@ -72589,6 +72987,7 @@ }, "top_n": { "description": "Refer to the description for the `top_n` query parameter.", + "default": 1.0, "type": "number" } } @@ -72897,6 +73296,7 @@ }, "explain": { "description": "If `true`, the request returns detailed information about score computation as part of a hit.", + "default": false, "type": "boolean" }, "ext": { @@ -72908,6 +73308,7 @@ }, "from": { "description": "The starting document offset, which must be non-negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", + "default": 0.0, "type": "number" }, "highlight": { @@ -72968,6 +73369,7 @@ }, "profile": { "description": "Set to `true` to return detailed timing information about the execution of individual components in a search request.\nNOTE: This is a debugging tool and adds significant overhead to search execution.", + "default": false, "type": "boolean" }, "query": { @@ -73002,6 +73404,7 @@ }, "size": { "description": "The number of hits to return, which must not be negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` property.", + "default": 10.0, "type": "number" }, "slice": { @@ -73025,6 +73428,7 @@ }, "terminate_after": { "description": "The maximum number of documents to collect for each shard.\nIf a query reaches this limit, Elasticsearch terminates the query early.\nElasticsearch collects documents before sorting.\n\nIMPORTANT: Use with caution.\nElasticsearch applies this property to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this property for requests that target data streams with backing indices across multiple data tiers.\n\nIf set to `0` (default), the query does not terminate early.", + "default": 0.0, "type": "number" }, "timeout": { @@ -73033,10 +73437,12 @@ }, "track_scores": { "description": "If `true`, calculate and return document scores, even if the scores are not used for sorting.", + "default": false, "type": "boolean" }, "version": { "description": "If `true`, the request returns the document version as part of a hit.", + "default": false, "type": "boolean" }, "seq_no_primary_term": { @@ -73123,14 +73529,17 @@ }, "buffer": { "description": "The size, in pixels, of a clipping buffer outside the tile. This allows renderers\nto avoid outline artifacts from geometries that extend past the extent of the tile.", + "default": 5.0, "type": "number" }, "exact_bounds": { "description": "If `false`, the meta layer's feature is the bounding box of the tile.\nIf `true`, the meta layer's feature is a bounding box resulting from a\n`geo_bounds` aggregation. The aggregation runs on values that intersect\nthe `//` tile with `wrap_longitude` set to `false`. The resulting\nbounding box may be larger than the vector tile.", + "default": false, "type": "boolean" }, "extent": { "description": "The size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", + "default": 4096.0, "type": "number" }, "fields": { @@ -73141,6 +73550,7 @@ }, "grid_precision": { "description": "Additional zoom levels available through the aggs layer. For example, if `` is `7`\nand `grid_precision` is `8`, you can zoom in up to level 15. Accepts 0-8. If 0, results\ndon't include the aggs layer.", + "default": 8.0, "type": "number" }, "grid_type": { @@ -73154,6 +73564,7 @@ }, "size": { "description": "The maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don't include the hits layer.", + "default": 10000.0, "type": "number" }, "sort": { @@ -73185,6 +73596,7 @@ "properties": { "explain": { "description": "If `true`, returns detailed information about score calculation as part of each hit.\nIf you specify both this and the `explain` query parameter, the API uses only the query parameter.", + "default": false, "type": "boolean" }, "id": { @@ -73199,6 +73611,7 @@ }, "profile": { "description": "If `true`, the query execution is profiled.", + "default": false, "type": "boolean" }, "source": { @@ -73382,6 +73795,7 @@ }, "from": { "description": "The starting document offset.\nIt must not be negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", + "default": 0.0, "type": "number" }, "sort": { @@ -73389,6 +73803,7 @@ }, "size": { "description": "The number of hits to return.\nIt must not be negative.\nThe `size` parameter can be set to `0`, in which case no API key matches are returned, only the aggregation results.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", + "default": 10.0, "type": "number" }, "search_after": { @@ -73427,6 +73842,7 @@ }, "from": { "description": "The starting document offset.\nIt must not be negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", + "default": 0.0, "type": "number" }, "sort": { @@ -73434,6 +73850,7 @@ }, "size": { "description": "The number of hits to return.\nIt must not be negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", + "default": 10.0, "type": "number" }, "search_after": { @@ -73464,6 +73881,7 @@ "properties": { "allow_partial_search_results": { "description": "If `true`, the response has partial results when there are shard request timeouts or shard failures.\nIf `false`, the API returns an error with no partial results.", + "default": false, "type": "boolean" }, "catalog": { @@ -73475,6 +73893,7 @@ "url": "https://www.elastic.co/docs/explore-analyze/query-filter/languages/sql-rest-columnar" }, "description": "If `true`, the results are in a columnar fashion: one row represents all the values of a certain column from the current page of results.\nThe API supports this parameter only for CBOR, JSON, SMILE, and YAML responses.", + "default": false, "type": "boolean" }, "cursor": { @@ -73483,10 +73902,12 @@ }, "fetch_size": { "description": "The maximum number of rows (or entries) to return in one response.", + "default": 1000.0, "type": "number" }, "field_multi_value_leniency": { "description": "If `false`, the API returns an exception when encountering multiple values for a field.\nIf `true`, the API is lenient and returns the first value from the array with no guarantee of consistent results.", + "default": false, "type": "boolean" }, "filter": { @@ -73494,6 +73915,7 @@ }, "index_using_frozen": { "description": "If `true`, the search can run on frozen indices.", + "default": false, "type": "boolean" }, "keep_alive": { @@ -73501,6 +73923,7 @@ }, "keep_on_completion": { "description": "If `true`, Elasticsearch stores synchronous searches if you also specify the `wait_for_completion_timeout` parameter.\nIf `false`, Elasticsearch only stores async searches that don't finish before the `wait_for_completion_timeout`.", + "default": false, "type": "boolean" }, "page_timeout": { @@ -73552,6 +73975,7 @@ "properties": { "fetch_size": { "description": "The maximum number of rows (or entries) to return in one response.", + "default": 1000.0, "type": "number" }, "filter": { @@ -73591,6 +74015,7 @@ }, "size": { "description": "The number of matching terms to return.", + "default": 10.0, "type": "number" }, "timeout": { @@ -73598,6 +74023,7 @@ }, "case_insensitive": { "description": "When `true`, the provided search string is matched against index terms without case sensitivity.", + "default": false, "type": "boolean" }, "index_filter": { @@ -73650,22 +74076,27 @@ }, "field_statistics": { "description": "If `true`, the response includes:\n\n* The document count (how many documents contain this field).\n* The sum of document frequencies (the sum of document frequencies for all terms in this field).\n* The sum of total term frequencies (the sum of total term frequencies of each term in this field).", + "default": true, "type": "boolean" }, "offsets": { "description": "If `true`, the response includes term offsets.", + "default": true, "type": "boolean" }, "payloads": { "description": "If `true`, the response includes term payloads.", + "default": true, "type": "boolean" }, "positions": { "description": "If `true`, the response includes term positions.", + "default": true, "type": "boolean" }, "term_statistics": { "description": "If `true`, the response includes:\n\n* The total term frequency (how often a term occurs in all documents).\n* The document frequency (the number of documents containing the current term).\n\nBy default these values are not returned since term statistics can have a serious performance impact.", + "default": false, "type": "boolean" }, "routing": {