From 17bf6474584b2187a7654942be86f642d63c9cfa Mon Sep 17 00:00:00 2001 From: Laura Trotta <153528055+l-trotta@users.noreply.github.com> Date: Thu, 4 Jan 2024 17:26:17 +0100 Subject: [PATCH] Remove unknown setting index.shard (#2376) * remove proposal * ops * ops (cherry picked from commit a019f7ae2a94388bb628d9807bc083afb6ce91e2) --- .../elasticsearch-serverless-openapi.json | 3 - output/schema/schema.json | 99 +++++++++---------- output/typescript/types.ts | 1 - specification/indices/_types/IndexSettings.ts | 1 - 4 files changed, 44 insertions(+), 60 deletions(-) diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 57f0ef61f2..9f555eec6a 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -41415,9 +41415,6 @@ "time_series": { "$ref": "#/components/schemas/indices._types:IndexSettingsTimeSeries" }, - "shards": { - "type": "number" - }, "queries": { "$ref": "#/components/schemas/indices._types:Queries" }, diff --git a/output/schema/schema.json b/output/schema/schema.json index 24c14ea7b1..095b9528b1 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -110575,7 +110575,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L398-L400" + "specLocation": "indices/_types/IndexSettings.ts#L397-L399" }, { "kind": "interface", @@ -111245,7 +111245,7 @@ "name": "IndexCheckOnStartup", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L253-L260" + "specLocation": "indices/_types/IndexSettings.ts#L252-L259" }, { "kind": "interface", @@ -111691,7 +111691,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L245-L251" + "specLocation": "indices/_types/IndexSettings.ts#L244-L250" }, { "attachedBehaviors": [ @@ -112411,17 +112411,6 @@ } } }, - { - "name": "shards", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "integer", - "namespace": "_types" - } - } - }, { "name": "queries", "required": false, @@ -112493,7 +112482,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L69-L168" + "specLocation": "indices/_types/IndexSettings.ts#L69-L167" }, { "kind": "interface", @@ -112613,7 +112602,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L310-L316" + "specLocation": "indices/_types/IndexSettings.ts#L309-L315" }, { "kind": "interface", @@ -112706,7 +112695,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L267-L300" + "specLocation": "indices/_types/IndexSettings.ts#L266-L299" }, { "kind": "interface", @@ -112728,7 +112717,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L302-L308" + "specLocation": "indices/_types/IndexSettings.ts#L301-L307" }, { "kind": "interface", @@ -112760,7 +112749,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L318-L321" + "specLocation": "indices/_types/IndexSettings.ts#L317-L320" }, { "kind": "interface", @@ -113117,7 +113106,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L262-L265" + "specLocation": "indices/_types/IndexSettings.ts#L261-L264" }, { "kind": "interface", @@ -113138,7 +113127,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L534-L536" + "specLocation": "indices/_types/IndexSettings.ts#L533-L535" }, { "kind": "interface", @@ -113160,7 +113149,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L538-L545" + "specLocation": "indices/_types/IndexSettings.ts#L537-L544" }, { "kind": "interface", @@ -113214,7 +113203,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L547-L552" + "specLocation": "indices/_types/IndexSettings.ts#L546-L551" }, { "kind": "interface", @@ -113238,7 +113227,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L554-L561" + "specLocation": "indices/_types/IndexSettings.ts#L553-L560" }, { "kind": "enum", @@ -113361,7 +113350,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L402-L415" + "specLocation": "indices/_types/IndexSettings.ts#L401-L414" }, { "kind": "interface", @@ -113384,7 +113373,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L427-L434" + "specLocation": "indices/_types/IndexSettings.ts#L426-L433" }, { "kind": "interface", @@ -113406,7 +113395,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L464-L470" + "specLocation": "indices/_types/IndexSettings.ts#L463-L469" }, { "kind": "interface", @@ -113428,7 +113417,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L455-L462" + "specLocation": "indices/_types/IndexSettings.ts#L454-L461" }, { "kind": "interface", @@ -113451,7 +113440,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L436-L444" + "specLocation": "indices/_types/IndexSettings.ts#L435-L443" }, { "kind": "interface", @@ -113474,7 +113463,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L446-L453" + "specLocation": "indices/_types/IndexSettings.ts#L445-L452" }, { "kind": "interface", @@ -113497,7 +113486,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L417-L425" + "specLocation": "indices/_types/IndexSettings.ts#L416-L424" }, { "kind": "interface", @@ -113518,7 +113507,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L323-L325" + "specLocation": "indices/_types/IndexSettings.ts#L322-L324" }, { "kind": "interface", @@ -113568,7 +113557,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L327-L330" + "specLocation": "indices/_types/IndexSettings.ts#L326-L329" }, { "kind": "interface", @@ -113626,7 +113615,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L394-L396" + "specLocation": "indices/_types/IndexSettings.ts#L393-L395" }, { "kind": "interface", @@ -113669,7 +113658,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L236-L239" + "specLocation": "indices/_types/IndexSettings.ts#L235-L238" }, { "kind": "enum", @@ -113762,7 +113751,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L226-L229" + "specLocation": "indices/_types/IndexSettings.ts#L225-L228" }, { "kind": "interface", @@ -113784,7 +113773,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L221-L224" + "specLocation": "indices/_types/IndexSettings.ts#L220-L223" }, { "kind": "interface", @@ -113814,7 +113803,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L241-L243" + "specLocation": "indices/_types/IndexSettings.ts#L240-L242" }, { "kind": "interface", @@ -113846,7 +113835,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L231-L234" + "specLocation": "indices/_types/IndexSettings.ts#L230-L233" }, { "kind": "interface", @@ -113933,7 +113922,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L170-L178" + "specLocation": "indices/_types/IndexSettings.ts#L169-L177" }, { "kind": "interface", @@ -113984,7 +113973,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L180-L185" + "specLocation": "indices/_types/IndexSettings.ts#L179-L184" }, { "kind": "interface", @@ -114013,7 +114002,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L187-L190" + "specLocation": "indices/_types/IndexSettings.ts#L186-L189" }, { "kind": "interface", @@ -114064,7 +114053,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L192-L197" + "specLocation": "indices/_types/IndexSettings.ts#L191-L196" }, { "kind": "interface", @@ -114115,7 +114104,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L199-L204" + "specLocation": "indices/_types/IndexSettings.ts#L198-L203" }, { "kind": "interface", @@ -114144,7 +114133,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L206-L209" + "specLocation": "indices/_types/IndexSettings.ts#L205-L208" }, { "kind": "interface", @@ -114173,7 +114162,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L211-L214" + "specLocation": "indices/_types/IndexSettings.ts#L210-L213" }, { "kind": "interface", @@ -114202,7 +114191,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L216-L219" + "specLocation": "indices/_types/IndexSettings.ts#L215-L218" }, { "kind": "interface", @@ -114256,7 +114245,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L472-L477" + "specLocation": "indices/_types/IndexSettings.ts#L471-L476" }, { "kind": "interface", @@ -114310,7 +114299,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L484-L489" + "specLocation": "indices/_types/IndexSettings.ts#L483-L488" }, { "kind": "interface", @@ -114342,7 +114331,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L479-L482" + "specLocation": "indices/_types/IndexSettings.ts#L478-L481" }, { "kind": "interface", @@ -114410,7 +114399,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L491-L500" + "specLocation": "indices/_types/IndexSettings.ts#L490-L499" }, { "isOpen": true, @@ -114440,7 +114429,7 @@ "name": "StorageType", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L502-L532" + "specLocation": "indices/_types/IndexSettings.ts#L501-L531" }, { "kind": "interface", @@ -114597,7 +114586,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L332-L354" + "specLocation": "indices/_types/IndexSettings.ts#L331-L353" }, { "kind": "enum", @@ -114621,7 +114610,7 @@ "name": "TranslogDurability", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L356-L371" + "specLocation": "indices/_types/IndexSettings.ts#L355-L370" }, { "kind": "interface", @@ -114657,7 +114646,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L373-L392" + "specLocation": "indices/_types/IndexSettings.ts#L372-L391" }, { "kind": "enum", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 88c0cde8e5..fe06e27990 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -9852,7 +9852,6 @@ export interface IndicesIndexSettingsKeys { analysis?: IndicesIndexSettingsAnalysis settings?: IndicesIndexSettings time_series?: IndicesIndexSettingsTimeSeries - shards?: integer queries?: IndicesQueries similarity?: IndicesSettingsSimilarity mapping?: IndicesMappingLimitSettings diff --git a/specification/indices/_types/IndexSettings.ts b/specification/indices/_types/IndexSettings.ts index 00b47e0720..9ce9d2cfe0 100644 --- a/specification/indices/_types/IndexSettings.ts +++ b/specification/indices/_types/IndexSettings.ts @@ -146,7 +146,6 @@ export class IndexSettings analysis?: IndexSettingsAnalysis settings?: IndexSettings time_series?: IndexSettingsTimeSeries - shards?: integer queries?: Queries /** * Configure custom similarity settings to customize how search results are scored.