From a019f7ae2a94388bb628d9807bc083afb6ce91e2 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 --- .../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 17bee8cb14..3939775cda 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -41469,9 +41469,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 052765732b..190e5490f7 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -110729,7 +110729,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L398-L400" + "specLocation": "indices/_types/IndexSettings.ts#L397-L399" }, { "kind": "interface", @@ -111399,7 +111399,7 @@ "name": "IndexCheckOnStartup", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L253-L260" + "specLocation": "indices/_types/IndexSettings.ts#L252-L259" }, { "kind": "interface", @@ -111845,7 +111845,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L245-L251" + "specLocation": "indices/_types/IndexSettings.ts#L244-L250" }, { "attachedBehaviors": [ @@ -112565,17 +112565,6 @@ } } }, - { - "name": "shards", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "integer", - "namespace": "_types" - } - } - }, { "name": "queries", "required": false, @@ -112647,7 +112636,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L69-L168" + "specLocation": "indices/_types/IndexSettings.ts#L69-L167" }, { "kind": "interface", @@ -112767,7 +112756,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L310-L316" + "specLocation": "indices/_types/IndexSettings.ts#L309-L315" }, { "kind": "interface", @@ -112860,7 +112849,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L267-L300" + "specLocation": "indices/_types/IndexSettings.ts#L266-L299" }, { "kind": "interface", @@ -112882,7 +112871,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L302-L308" + "specLocation": "indices/_types/IndexSettings.ts#L301-L307" }, { "kind": "interface", @@ -112914,7 +112903,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L318-L321" + "specLocation": "indices/_types/IndexSettings.ts#L317-L320" }, { "kind": "interface", @@ -113271,7 +113260,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L262-L265" + "specLocation": "indices/_types/IndexSettings.ts#L261-L264" }, { "kind": "interface", @@ -113292,7 +113281,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L534-L536" + "specLocation": "indices/_types/IndexSettings.ts#L533-L535" }, { "kind": "interface", @@ -113314,7 +113303,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L538-L545" + "specLocation": "indices/_types/IndexSettings.ts#L537-L544" }, { "kind": "interface", @@ -113368,7 +113357,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L547-L552" + "specLocation": "indices/_types/IndexSettings.ts#L546-L551" }, { "kind": "interface", @@ -113392,7 +113381,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L554-L561" + "specLocation": "indices/_types/IndexSettings.ts#L553-L560" }, { "kind": "enum", @@ -113515,7 +113504,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L402-L415" + "specLocation": "indices/_types/IndexSettings.ts#L401-L414" }, { "kind": "interface", @@ -113538,7 +113527,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L427-L434" + "specLocation": "indices/_types/IndexSettings.ts#L426-L433" }, { "kind": "interface", @@ -113560,7 +113549,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L464-L470" + "specLocation": "indices/_types/IndexSettings.ts#L463-L469" }, { "kind": "interface", @@ -113582,7 +113571,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L455-L462" + "specLocation": "indices/_types/IndexSettings.ts#L454-L461" }, { "kind": "interface", @@ -113605,7 +113594,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L436-L444" + "specLocation": "indices/_types/IndexSettings.ts#L435-L443" }, { "kind": "interface", @@ -113628,7 +113617,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L446-L453" + "specLocation": "indices/_types/IndexSettings.ts#L445-L452" }, { "kind": "interface", @@ -113651,7 +113640,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L417-L425" + "specLocation": "indices/_types/IndexSettings.ts#L416-L424" }, { "kind": "interface", @@ -113672,7 +113661,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L323-L325" + "specLocation": "indices/_types/IndexSettings.ts#L322-L324" }, { "kind": "interface", @@ -113722,7 +113711,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L327-L330" + "specLocation": "indices/_types/IndexSettings.ts#L326-L329" }, { "kind": "interface", @@ -113780,7 +113769,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L394-L396" + "specLocation": "indices/_types/IndexSettings.ts#L393-L395" }, { "kind": "interface", @@ -113823,7 +113812,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L236-L239" + "specLocation": "indices/_types/IndexSettings.ts#L235-L238" }, { "kind": "enum", @@ -113916,7 +113905,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L226-L229" + "specLocation": "indices/_types/IndexSettings.ts#L225-L228" }, { "kind": "interface", @@ -113938,7 +113927,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L221-L224" + "specLocation": "indices/_types/IndexSettings.ts#L220-L223" }, { "kind": "interface", @@ -113968,7 +113957,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L241-L243" + "specLocation": "indices/_types/IndexSettings.ts#L240-L242" }, { "kind": "interface", @@ -114000,7 +113989,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L231-L234" + "specLocation": "indices/_types/IndexSettings.ts#L230-L233" }, { "kind": "interface", @@ -114087,7 +114076,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L170-L178" + "specLocation": "indices/_types/IndexSettings.ts#L169-L177" }, { "kind": "interface", @@ -114138,7 +114127,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L180-L185" + "specLocation": "indices/_types/IndexSettings.ts#L179-L184" }, { "kind": "interface", @@ -114167,7 +114156,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L187-L190" + "specLocation": "indices/_types/IndexSettings.ts#L186-L189" }, { "kind": "interface", @@ -114218,7 +114207,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L192-L197" + "specLocation": "indices/_types/IndexSettings.ts#L191-L196" }, { "kind": "interface", @@ -114269,7 +114258,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L199-L204" + "specLocation": "indices/_types/IndexSettings.ts#L198-L203" }, { "kind": "interface", @@ -114298,7 +114287,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L206-L209" + "specLocation": "indices/_types/IndexSettings.ts#L205-L208" }, { "kind": "interface", @@ -114327,7 +114316,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L211-L214" + "specLocation": "indices/_types/IndexSettings.ts#L210-L213" }, { "kind": "interface", @@ -114356,7 +114345,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L216-L219" + "specLocation": "indices/_types/IndexSettings.ts#L215-L218" }, { "kind": "interface", @@ -114410,7 +114399,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L472-L477" + "specLocation": "indices/_types/IndexSettings.ts#L471-L476" }, { "kind": "interface", @@ -114464,7 +114453,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L484-L489" + "specLocation": "indices/_types/IndexSettings.ts#L483-L488" }, { "kind": "interface", @@ -114496,7 +114485,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L479-L482" + "specLocation": "indices/_types/IndexSettings.ts#L478-L481" }, { "kind": "interface", @@ -114564,7 +114553,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L491-L500" + "specLocation": "indices/_types/IndexSettings.ts#L490-L499" }, { "isOpen": true, @@ -114594,7 +114583,7 @@ "name": "StorageType", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L502-L532" + "specLocation": "indices/_types/IndexSettings.ts#L501-L531" }, { "kind": "interface", @@ -114751,7 +114740,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L332-L354" + "specLocation": "indices/_types/IndexSettings.ts#L331-L353" }, { "kind": "enum", @@ -114775,7 +114764,7 @@ "name": "TranslogDurability", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L356-L371" + "specLocation": "indices/_types/IndexSettings.ts#L355-L370" }, { "kind": "interface", @@ -114811,7 +114800,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 7bf31b4677..f8238c16d8 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -9865,7 +9865,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.