diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index fd1e7940a7..2e448632e7 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -18419,8 +18419,8 @@ "tags": [ "update_by_query" ], - "summary": "Performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change.", - "description": "Performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change.", + "summary": "Updates documents that match the specified query. If no query is specified,\n performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change.", + "description": "Updates documents that match the specified query. If no query is specified,\n performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change.", "externalDocs": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html" }, @@ -44807,7 +44807,9 @@ "scripted_tfidf": { "$ref": "#/components/schemas/indices._types:SettingsSimilarityScriptedTfidf" } - } + }, + "minProperties": 1, + "maxProperties": 1 }, "indices._types:SettingsSimilarityBm25": { "type": "object", @@ -49742,6 +49744,10 @@ "target_field": { "$ref": "#/components/schemas/_types:Field" }, + "remove_binary": { + "description": "If true, the binary field will be removed from the document", + "type": "boolean" + }, "resource_name": { "description": "Field containing the name of the resource to decode.\nIf specified, the processor passes this resource name to the underlying Tika library to enable Resource Name Based Detection.", "type": "string" diff --git a/output/schema/schema.json b/output/schema/schema.json index e235d1ca65..026e50543f 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -18926,7 +18926,7 @@ "stability": "stable" } }, - "description": "Performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change.", + "description": "Updates documents that match the specified query. If no query is specified,\n performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html", "name": "update_by_query", "request": { @@ -110797,7 +110797,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L397-L399" + "specLocation": "indices/_types/IndexSettings.ts#L401-L403" }, { "kind": "interface", @@ -111467,7 +111467,7 @@ "name": "IndexCheckOnStartup", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L252-L259" + "specLocation": "indices/_types/IndexSettings.ts#L256-L263" }, { "kind": "interface", @@ -111913,7 +111913,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L244-L250" + "specLocation": "indices/_types/IndexSettings.ts#L248-L254" }, { "attachedBehaviors": [ @@ -112824,7 +112824,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L309-L315" + "specLocation": "indices/_types/IndexSettings.ts#L313-L319" }, { "kind": "interface", @@ -112917,7 +112917,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L266-L299" + "specLocation": "indices/_types/IndexSettings.ts#L270-L303" }, { "kind": "interface", @@ -112939,7 +112939,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L301-L307" + "specLocation": "indices/_types/IndexSettings.ts#L305-L311" }, { "kind": "interface", @@ -112971,7 +112971,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L317-L320" + "specLocation": "indices/_types/IndexSettings.ts#L321-L324" }, { "kind": "interface", @@ -113328,7 +113328,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L261-L264" + "specLocation": "indices/_types/IndexSettings.ts#L265-L268" }, { "kind": "interface", @@ -113349,7 +113349,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L533-L535" + "specLocation": "indices/_types/IndexSettings.ts#L537-L539" }, { "kind": "interface", @@ -113371,7 +113371,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L537-L544" + "specLocation": "indices/_types/IndexSettings.ts#L541-L548" }, { "kind": "interface", @@ -113425,7 +113425,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L546-L551" + "specLocation": "indices/_types/IndexSettings.ts#L550-L555" }, { "kind": "interface", @@ -113449,7 +113449,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L553-L560" + "specLocation": "indices/_types/IndexSettings.ts#L557-L564" }, { "kind": "enum", @@ -113572,7 +113572,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L401-L414" + "specLocation": "indices/_types/IndexSettings.ts#L405-L418" }, { "kind": "interface", @@ -113595,7 +113595,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L426-L433" + "specLocation": "indices/_types/IndexSettings.ts#L430-L437" }, { "kind": "interface", @@ -113617,7 +113617,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L463-L469" + "specLocation": "indices/_types/IndexSettings.ts#L467-L473" }, { "kind": "interface", @@ -113639,7 +113639,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L454-L461" + "specLocation": "indices/_types/IndexSettings.ts#L458-L465" }, { "kind": "interface", @@ -113662,7 +113662,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L435-L443" + "specLocation": "indices/_types/IndexSettings.ts#L439-L447" }, { "kind": "interface", @@ -113685,7 +113685,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L445-L452" + "specLocation": "indices/_types/IndexSettings.ts#L449-L456" }, { "kind": "interface", @@ -113708,7 +113708,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L416-L424" + "specLocation": "indices/_types/IndexSettings.ts#L420-L428" }, { "kind": "interface", @@ -113729,7 +113729,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L322-L324" + "specLocation": "indices/_types/IndexSettings.ts#L326-L328" }, { "kind": "interface", @@ -113779,7 +113779,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L326-L329" + "specLocation": "indices/_types/IndexSettings.ts#L330-L333" }, { "kind": "interface", @@ -113837,7 +113837,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L393-L395" + "specLocation": "indices/_types/IndexSettings.ts#L397-L399" }, { "kind": "interface", @@ -113880,7 +113880,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L235-L238" + "specLocation": "indices/_types/IndexSettings.ts#L239-L242" }, { "kind": "enum", @@ -113973,7 +113973,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L225-L228" + "specLocation": "indices/_types/IndexSettings.ts#L229-L232" }, { "kind": "interface", @@ -113995,7 +113995,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L220-L223" + "specLocation": "indices/_types/IndexSettings.ts#L224-L227" }, { "kind": "interface", @@ -114025,7 +114025,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L240-L242" + "specLocation": "indices/_types/IndexSettings.ts#L244-L246" }, { "kind": "interface", @@ -114057,7 +114057,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L230-L233" + "specLocation": "indices/_types/IndexSettings.ts#L234-L237" }, { "kind": "interface", @@ -114144,7 +114144,11 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L169-L177" + "specLocation": "indices/_types/IndexSettings.ts#L169-L181", + "variants": { + "kind": "container", + "nonExhaustive": true + } }, { "kind": "interface", @@ -114195,7 +114199,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L179-L184" + "specLocation": "indices/_types/IndexSettings.ts#L183-L188" }, { "kind": "interface", @@ -114224,7 +114228,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L186-L189" + "specLocation": "indices/_types/IndexSettings.ts#L190-L193" }, { "kind": "interface", @@ -114275,7 +114279,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L191-L196" + "specLocation": "indices/_types/IndexSettings.ts#L195-L200" }, { "kind": "interface", @@ -114326,7 +114330,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L198-L203" + "specLocation": "indices/_types/IndexSettings.ts#L202-L207" }, { "kind": "interface", @@ -114355,7 +114359,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L205-L208" + "specLocation": "indices/_types/IndexSettings.ts#L209-L212" }, { "kind": "interface", @@ -114384,7 +114388,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L210-L213" + "specLocation": "indices/_types/IndexSettings.ts#L214-L217" }, { "kind": "interface", @@ -114413,7 +114417,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L215-L218" + "specLocation": "indices/_types/IndexSettings.ts#L219-L222" }, { "kind": "interface", @@ -114467,7 +114471,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L471-L476" + "specLocation": "indices/_types/IndexSettings.ts#L475-L480" }, { "kind": "interface", @@ -114521,7 +114525,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L483-L488" + "specLocation": "indices/_types/IndexSettings.ts#L487-L492" }, { "kind": "interface", @@ -114553,7 +114557,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L478-L481" + "specLocation": "indices/_types/IndexSettings.ts#L482-L485" }, { "kind": "interface", @@ -114621,7 +114625,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L490-L499" + "specLocation": "indices/_types/IndexSettings.ts#L494-L503" }, { "isOpen": true, @@ -114651,7 +114655,7 @@ "name": "StorageType", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L501-L531" + "specLocation": "indices/_types/IndexSettings.ts#L505-L535" }, { "kind": "interface", @@ -114808,7 +114812,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L331-L353" + "specLocation": "indices/_types/IndexSettings.ts#L335-L357" }, { "kind": "enum", @@ -114832,7 +114836,7 @@ "name": "TranslogDurability", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L355-L370" + "specLocation": "indices/_types/IndexSettings.ts#L359-L374" }, { "kind": "interface", @@ -114868,7 +114872,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L372-L391" + "specLocation": "indices/_types/IndexSettings.ts#L376-L395" }, { "kind": "enum", @@ -128622,6 +128626,19 @@ } } }, + { + "description": "If true, the binary field will be removed from the document", + "name": "remove_binary", + "required": false, + "serverDefault": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "description": "Field containing the name of the resource to decode.\nIf specified, the processor passes this resource name to the underlying Tika library to enable Resource Name Based Detection.", "name": "resource_name", @@ -128635,7 +128652,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L296-L332" + "specLocation": "ingest/_types/Processors.ts#L296-L337" }, { "inherits": { @@ -128689,7 +128706,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L387-L403" + "specLocation": "ingest/_types/Processors.ts#L392-L408" }, { "inherits": { @@ -128766,7 +128783,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L405-L428" + "specLocation": "ingest/_types/Processors.ts#L410-L433" }, { "inherits": { @@ -128832,7 +128849,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L440-L460" + "specLocation": "ingest/_types/Processors.ts#L445-L465" }, { "kind": "enum", @@ -128863,7 +128880,7 @@ "name": "ConvertType", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L430-L438" + "specLocation": "ingest/_types/Processors.ts#L435-L443" }, { "inherits": { @@ -128961,7 +128978,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L462-L495" + "specLocation": "ingest/_types/Processors.ts#L467-L500" }, { "inherits": { @@ -129067,7 +129084,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L497-L535" + "specLocation": "ingest/_types/Processors.ts#L502-L540" }, { "inherits": { @@ -129149,7 +129166,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L537-L564" + "specLocation": "ingest/_types/Processors.ts#L542-L569" }, { "inherits": { @@ -129215,7 +129232,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L566-L585" + "specLocation": "ingest/_types/Processors.ts#L571-L590" }, { "inherits": { @@ -129255,7 +129272,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L587-L598" + "specLocation": "ingest/_types/Processors.ts#L592-L603" }, { "inherits": { @@ -129270,7 +129287,7 @@ "namespace": "ingest._types" }, "properties": [], - "specLocation": "ingest/_types/Processors.ts#L600-L600" + "specLocation": "ingest/_types/Processors.ts#L605-L605" }, { "inherits": { @@ -129374,7 +129391,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L602-L641" + "specLocation": "ingest/_types/Processors.ts#L607-L646" }, { "inherits": { @@ -129402,7 +129419,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L643-L649" + "specLocation": "ingest/_types/Processors.ts#L648-L654" }, { "inherits": { @@ -129455,7 +129472,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L651-L665" + "specLocation": "ingest/_types/Processors.ts#L656-L670" }, { "inherits": { @@ -129550,7 +129567,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L334-L363" + "specLocation": "ingest/_types/Processors.ts#L339-L368" }, { "inherits": { @@ -129642,7 +129659,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L667-L692" + "specLocation": "ingest/_types/Processors.ts#L672-L697" }, { "inherits": { @@ -129720,7 +129737,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L694-L718" + "specLocation": "ingest/_types/Processors.ts#L699-L723" }, { "kind": "interface", @@ -129754,7 +129771,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L741-L753", + "specLocation": "ingest/_types/Processors.ts#L746-L758", "variants": { "kind": "container" } @@ -129831,7 +129848,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L768-L794" + "specLocation": "ingest/_types/Processors.ts#L773-L799" }, { "kind": "interface", @@ -129867,7 +129884,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L755-L766" + "specLocation": "ingest/_types/Processors.ts#L760-L771" }, { "inherits": { @@ -129939,7 +129956,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L720-L739" + "specLocation": "ingest/_types/Processors.ts#L725-L744" }, { "inherits": { @@ -129992,7 +130009,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L796-L811" + "specLocation": "ingest/_types/Processors.ts#L801-L816" }, { "inherits": { @@ -130071,7 +130088,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L813-L842" + "specLocation": "ingest/_types/Processors.ts#L818-L847" }, { "kind": "enum", @@ -130089,7 +130106,7 @@ "name": "JsonProcessorConflictStrategy", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L844-L849" + "specLocation": "ingest/_types/Processors.ts#L849-L854" }, { "inherits": { @@ -130246,7 +130263,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L851-L903" + "specLocation": "ingest/_types/Processors.ts#L856-L908" }, { "inherits": { @@ -130300,7 +130317,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L905-L921" + "specLocation": "ingest/_types/Processors.ts#L910-L926" }, { "kind": "interface", @@ -130466,7 +130483,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L923-L934" + "specLocation": "ingest/_types/Processors.ts#L928-L939" }, { "kind": "interface", @@ -131084,7 +131101,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L936-L946" + "specLocation": "ingest/_types/Processors.ts#L941-L951" }, { "inherits": { @@ -131137,7 +131154,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L948-L964" + "specLocation": "ingest/_types/Processors.ts#L953-L969" }, { "inherits": { @@ -131219,7 +131236,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L966-L994" + "specLocation": "ingest/_types/Processors.ts#L971-L999" }, { "inherits": { @@ -131291,7 +131308,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L996-L1016" + "specLocation": "ingest/_types/Processors.ts#L1001-L1021" }, { "inherits": { @@ -131377,7 +131394,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1018-L1052" + "specLocation": "ingest/_types/Processors.ts#L1023-L1057" }, { "inherits": { @@ -131420,7 +131437,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1054-L1063" + "specLocation": "ingest/_types/Processors.ts#L1059-L1068" }, { "kind": "enum", @@ -131436,7 +131453,7 @@ "name": "ShapeType", "namespace": "ingest._types" }, - "specLocation": "ingest/_types/Processors.ts#L1065-L1068" + "specLocation": "ingest/_types/Processors.ts#L1070-L1073" }, { "inherits": { @@ -131489,7 +131506,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1070-L1086" + "specLocation": "ingest/_types/Processors.ts#L1075-L1091" }, { "inherits": { @@ -131568,7 +131585,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1088-L1113" + "specLocation": "ingest/_types/Processors.ts#L1093-L1118" }, { "inherits": { @@ -131622,7 +131639,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1115-L1131" + "specLocation": "ingest/_types/Processors.ts#L1120-L1136" }, { "inherits": { @@ -131676,7 +131693,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1133-L1149" + "specLocation": "ingest/_types/Processors.ts#L1138-L1154" }, { "inherits": { @@ -131730,7 +131747,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L1151-L1167" + "specLocation": "ingest/_types/Processors.ts#L1156-L1172" }, { "inherits": { @@ -131810,7 +131827,7 @@ } } ], - "specLocation": "ingest/_types/Processors.ts#L365-L385" + "specLocation": "ingest/_types/Processors.ts#L370-L390" }, { "kind": "enum", @@ -163911,7 +163928,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L143-L145" + "specLocation": "nodes/info/types.ts#L145-L147" }, { "kind": "interface", @@ -164234,7 +164251,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L30-L66" + "specLocation": "nodes/info/types.ts#L32-L68" }, { "kind": "interface", @@ -164255,7 +164272,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L176-L178" + "specLocation": "nodes/info/types.ts#L180-L182" }, { "kind": "interface", @@ -164279,7 +164296,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L227-L229" + "specLocation": "nodes/info/types.ts#L231-L233" }, { "kind": "interface", @@ -164300,7 +164317,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L196-L198" + "specLocation": "nodes/info/types.ts#L200-L202" }, { "kind": "interface", @@ -164321,9 +164338,32 @@ } } ], - "specLocation": "nodes/info/types.ts#L180-L182" + "specLocation": "nodes/info/types.ts#L184-L186" }, { + "attachedBehaviors": [ + "AdditionalProperties" + ], + "behaviors": [ + { + "generics": [ + { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + }, + { + "kind": "user_defined_value" + } + ], + "type": { + "name": "AdditionalProperties", + "namespace": "_spec_utils" + } + } + ], "kind": "interface", "name": { "name": "NodeInfoDiscover", @@ -164332,7 +164372,21 @@ "properties": [ { "name": "seed_hosts", - "required": true, + "required": false, + "type": { + "kind": "array_of", + "value": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + } + }, + { + "name": "type", + "required": false, "type": { "kind": "instance_of", "type": { @@ -164340,9 +164394,23 @@ "namespace": "_builtins" } } + }, + { + "name": "seed_providers", + "required": false, + "type": { + "kind": "array_of", + "value": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + } } ], - "specLocation": "nodes/info/types.ts#L172-L174" + "specLocation": "nodes/info/types.ts#L174-L178" }, { "kind": "interface", @@ -164399,7 +164467,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L298-L303" + "specLocation": "nodes/info/types.ts#L302-L307" }, { "kind": "interface", @@ -164423,7 +164491,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L219-L221" + "specLocation": "nodes/info/types.ts#L223-L225" }, { "kind": "interface", @@ -164444,7 +164512,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L127-L129" + "specLocation": "nodes/info/types.ts#L129-L131" }, { "kind": "interface", @@ -164465,7 +164533,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L123-L125" + "specLocation": "nodes/info/types.ts#L125-L127" }, { "kind": "interface", @@ -164486,7 +164554,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L223-L225" + "specLocation": "nodes/info/types.ts#L227-L229" }, { "kind": "interface", @@ -164606,7 +164674,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L305-L316" + "specLocation": "nodes/info/types.ts#L309-L320" }, { "kind": "interface", @@ -164638,7 +164706,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L318-L321" + "specLocation": "nodes/info/types.ts#L322-L325" }, { "kind": "interface", @@ -164670,7 +164738,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L323-L326" + "specLocation": "nodes/info/types.ts#L327-L330" }, { "kind": "interface", @@ -164713,7 +164781,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L328-L332" + "specLocation": "nodes/info/types.ts#L332-L336" }, { "kind": "interface", @@ -164811,7 +164879,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L334-L343" + "specLocation": "nodes/info/types.ts#L338-L347" }, { "kind": "interface", @@ -164822,7 +164890,7 @@ "properties": [ { "name": "logs", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -164833,7 +164901,7 @@ }, { "name": "home", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -164844,7 +164912,7 @@ }, { "name": "repo", - "required": true, + "required": false, "type": { "kind": "array_of", "value": { @@ -164871,7 +164939,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L157-L162" + "specLocation": "nodes/info/types.ts#L159-L164" }, { "kind": "interface", @@ -164892,7 +164960,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L164-L166" + "specLocation": "nodes/info/types.ts#L166-L168" }, { "kind": "interface", @@ -164913,7 +164981,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L168-L170" + "specLocation": "nodes/info/types.ts#L170-L172" }, { "kind": "interface", @@ -164945,7 +165013,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L276-L279" + "specLocation": "nodes/info/types.ts#L280-L283" }, { "kind": "interface", @@ -164966,7 +165034,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L281-L283" + "specLocation": "nodes/info/types.ts#L285-L287" }, { "kind": "interface", @@ -164987,7 +165055,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L285-L287" + "specLocation": "nodes/info/types.ts#L289-L291" }, { "kind": "interface", @@ -165020,7 +165088,7 @@ }, { "name": "path", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -165162,7 +165230,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L68-L84" + "specLocation": "nodes/info/types.ts#L70-L86" }, { "kind": "interface", @@ -165208,10 +165276,13 @@ "name": "initial_master_nodes", "required": false, "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" + "kind": "array_of", + "value": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } } } }, @@ -165234,7 +165305,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L131-L141" + "specLocation": "nodes/info/types.ts#L133-L143" }, { "kind": "interface", @@ -165255,7 +165326,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L147-L149" + "specLocation": "nodes/info/types.ts#L149-L151" }, { "kind": "interface", @@ -165333,7 +165404,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L184-L189" + "specLocation": "nodes/info/types.ts#L188-L193" }, { "kind": "interface", @@ -165355,7 +165426,7 @@ } ], "shortcutProperty": "default", - "specLocation": "nodes/info/types.ts#L191-L194" + "specLocation": "nodes/info/types.ts#L195-L198" }, { "kind": "interface", @@ -165739,7 +165810,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L86-L121" + "specLocation": "nodes/info/types.ts#L88-L123" }, { "kind": "interface", @@ -165760,7 +165831,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L215-L217" + "specLocation": "nodes/info/types.ts#L219-L221" }, { "kind": "interface", @@ -165810,7 +165881,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L151-L155" + "specLocation": "nodes/info/types.ts#L153-L157" }, { "kind": "interface", @@ -165853,7 +165924,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L200-L204" + "specLocation": "nodes/info/types.ts#L204-L208" }, { "kind": "interface", @@ -165874,7 +165945,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L211-L213" + "specLocation": "nodes/info/types.ts#L215-L217" }, { "kind": "interface", @@ -165896,7 +165967,7 @@ } ], "shortcutProperty": "default", - "specLocation": "nodes/info/types.ts#L206-L209" + "specLocation": "nodes/info/types.ts#L210-L213" }, { "kind": "interface", @@ -165953,7 +166024,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L345-L349" + "specLocation": "nodes/info/types.ts#L349-L353" }, { "kind": "interface", @@ -166003,7 +166074,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L231-L235" + "specLocation": "nodes/info/types.ts#L235-L239" }, { "kind": "interface", @@ -166024,7 +166095,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L268-L270" + "specLocation": "nodes/info/types.ts#L272-L274" }, { "kind": "interface", @@ -166045,7 +166116,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L272-L274" + "specLocation": "nodes/info/types.ts#L276-L278" }, { "kind": "interface", @@ -166099,7 +166170,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L237-L242" + "specLocation": "nodes/info/types.ts#L241-L246" }, { "kind": "interface", @@ -166131,7 +166202,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L248-L251" + "specLocation": "nodes/info/types.ts#L252-L255" }, { "kind": "interface", @@ -166207,7 +166278,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L253-L257" + "specLocation": "nodes/info/types.ts#L257-L261" }, { "kind": "interface", @@ -166239,7 +166310,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L263-L266" + "specLocation": "nodes/info/types.ts#L267-L270" }, { "kind": "interface", @@ -166260,7 +166331,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L259-L261" + "specLocation": "nodes/info/types.ts#L263-L265" }, { "kind": "interface", @@ -166292,7 +166363,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L244-L246" + "specLocation": "nodes/info/types.ts#L248-L250" }, { "kind": "interface", @@ -166467,7 +166538,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L351-L365" + "specLocation": "nodes/info/types.ts#L355-L369" }, { "kind": "interface", @@ -166602,7 +166673,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L367-L384" + "specLocation": "nodes/info/types.ts#L371-L388" }, { "kind": "interface", @@ -166657,7 +166728,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L386-L393" + "specLocation": "nodes/info/types.ts#L390-L397" }, { "kind": "interface", @@ -166733,7 +166804,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L289-L296" + "specLocation": "nodes/info/types.ts#L293-L300" }, { "attachedBehaviors": [ diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 03736ebdb2..38826d783b 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -11554,6 +11554,7 @@ export interface IngestAttachmentProcessor extends IngestProcessorBase { indexed_chars_field?: Field properties?: string[] target_field?: Field + remove_binary?: boolean resource_name?: string } @@ -15296,9 +15297,13 @@ export interface NodesInfoNodeInfoClient { type: string } -export interface NodesInfoNodeInfoDiscover { - seed_hosts: string +export interface NodesInfoNodeInfoDiscoverKeys { + seed_hosts?: string[] + type?: string + seed_providers?: string[] } +export type NodesInfoNodeInfoDiscover = NodesInfoNodeInfoDiscoverKeys + & { [property: string]: any } export interface NodesInfoNodeInfoHttp { bound_address: string[] @@ -15364,9 +15369,9 @@ export interface NodesInfoNodeInfoOSCPU { } export interface NodesInfoNodeInfoPath { - logs: string - home: string - repo: string[] + logs?: string + home?: string + repo?: string[] data?: string[] } @@ -15394,7 +15399,7 @@ export interface NodesInfoNodeInfoSearchRemote { export interface NodesInfoNodeInfoSettings { cluster: NodesInfoNodeInfoSettingsCluster node: NodesInfoNodeInfoSettingsNode - path: NodesInfoNodeInfoPath + path?: NodesInfoNodeInfoPath repositories?: NodesInfoNodeInfoRepositories discovery?: NodesInfoNodeInfoDiscover action?: NodesInfoNodeInfoAction @@ -15413,7 +15418,7 @@ export interface NodesInfoNodeInfoSettingsCluster { name: Name routing?: IndicesIndexRouting election: NodesInfoNodeInfoSettingsClusterElection - initial_master_nodes?: string + initial_master_nodes?: string[] deprecation_indexing?: NodesInfoDeprecationIndexing } diff --git a/specification/_json_spec/update_by_query.json b/specification/_json_spec/update_by_query.json index 3856c4249a..b6068132ae 100644 --- a/specification/_json_spec/update_by_query.json +++ b/specification/_json_spec/update_by_query.json @@ -2,7 +2,7 @@ "update_by_query": { "documentation": { "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html", - "description": "Performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change." + "description": "Updates documents that match the specified query. If no query is specified,\n performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change." }, "stability": "stable", "visibility": "public", diff --git a/specification/indices/_types/IndexSettings.ts b/specification/indices/_types/IndexSettings.ts index 9ce9d2cfe0..df538542a0 100644 --- a/specification/indices/_types/IndexSettings.ts +++ b/specification/indices/_types/IndexSettings.ts @@ -166,6 +166,10 @@ export class IndexSettings store?: Storage } +/** + * @variants container + * @non_exhaustive + */ export class SettingsSimilarity { bm25?: SettingsSimilarityBm25 dfi?: SettingsSimilarityDfi diff --git a/specification/ingest/_types/Processors.ts b/specification/ingest/_types/Processors.ts index ae014053b5..19ce5600f5 100644 --- a/specification/ingest/_types/Processors.ts +++ b/specification/ingest/_types/Processors.ts @@ -324,6 +324,11 @@ export class AttachmentProcessor extends ProcessorBase { * @server_default attachment */ target_field?: Field + /** + * If true, the binary field will be removed from the document + * @server_default false + */ + remove_binary?: boolean /** * Field containing the name of the resource to decode. * If specified, the processor passes this resource name to the underlying Tika library to enable Resource Name Based Detection. diff --git a/specification/nodes/info/types.ts b/specification/nodes/info/types.ts index c9155a3049..57235356c8 100644 --- a/specification/nodes/info/types.ts +++ b/specification/nodes/info/types.ts @@ -26,6 +26,8 @@ import { integer, long } from '@_types/Numeric' import { PluginStats } from '@_types/Stats' import { NodeRoles } from '@_types/Node' import { Duration, DurationValue, EpochTime, UnitMillis } from '@_types/Time' +import { UserDefinedValue } from '@spec_utils/UserDefinedValue' +import { AdditionalProperties } from '@spec_utils/behaviors' export class NodeInfo { attributes: Dictionary @@ -68,7 +70,7 @@ export class NodeInfo { export class NodeInfoSettings { cluster: NodeInfoSettingsCluster node: NodeInfoSettingsNode - path: NodeInfoPath + path?: NodeInfoPath repositories?: NodeInfoRepositories discovery?: NodeInfoDiscover action?: NodeInfoAction @@ -132,7 +134,7 @@ export class NodeInfoSettingsCluster { name: Name routing?: IndexRouting election: NodeInfoSettingsClusterElection - initial_master_nodes?: string + initial_master_nodes?: string[] /** * @availability stack since=7.16.0 * @availability serverless @@ -155,9 +157,9 @@ export class NodeInfoSettingsNode { } export class NodeInfoPath { - logs: string - home: string - repo: string[] + logs?: string + home?: string + repo?: string[] data?: string[] } @@ -169,8 +171,12 @@ export class NodeInfoRepositoriesUrl { allowed_urls: string } -export class NodeInfoDiscover { - seed_hosts: string +export class NodeInfoDiscover + implements AdditionalProperties +{ + seed_hosts?: string[] + type?: string + seed_providers?: string[] } export class NodeInfoAction {