diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index eefbfd70b8..f66431854a 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -35680,26 +35680,6 @@ "sort": { "$ref": "#/components/schemas/indices._types:IndexSegmentSort" }, - "number_of_shards": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "number_of_replicas": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, "number_of_routing_shards": { "type": "number" }, diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 0df2ee9393..8a3cecd22e 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -96758,7 +96758,7 @@ "name": "IndexCheckOnStartup", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L264-L271" + "specLocation": "indices/_types/IndexSettings.ts#L270-L277" }, { "kind": "enum", @@ -96894,7 +96894,7 @@ "name": "SettingsSimilarity", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L172-L184", + "specLocation": "indices/_types/IndexSettings.ts#L178-L190", "type": { "items": [ { @@ -97011,7 +97011,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L190-L195" + "specLocation": "indices/_types/IndexSettings.ts#L196-L201" }, { "kind": "interface", @@ -97029,7 +97029,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L186-L188" + "specLocation": "indices/_types/IndexSettings.ts#L192-L194" }, { "kind": "interface", @@ -97058,7 +97058,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L197-L200" + "specLocation": "indices/_types/IndexSettings.ts#L203-L206" }, { "kind": "interface", @@ -97109,7 +97109,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L202-L207" + "specLocation": "indices/_types/IndexSettings.ts#L208-L213" }, { "kind": "interface", @@ -97160,7 +97160,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L209-L214" + "specLocation": "indices/_types/IndexSettings.ts#L215-L220" }, { "kind": "interface", @@ -97189,7 +97189,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L216-L219" + "specLocation": "indices/_types/IndexSettings.ts#L222-L225" }, { "kind": "interface", @@ -97218,7 +97218,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L221-L224" + "specLocation": "indices/_types/IndexSettings.ts#L227-L230" }, { "kind": "interface", @@ -97258,7 +97258,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L226-L230" + "specLocation": "indices/_types/IndexSettings.ts#L232-L236" }, { "kind": "enum", @@ -97277,7 +97277,7 @@ "name": "SourceMode", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L503-L507" + "specLocation": "indices/_types/IndexSettings.ts#L509-L513" }, { "isOpen": true, @@ -97304,7 +97304,7 @@ "name": "StorageType", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L539-L567" + "specLocation": "indices/_types/IndexSettings.ts#L545-L573" }, { "kind": "enum", @@ -97328,7 +97328,7 @@ "name": "TranslogDurability", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L373-L388" + "specLocation": "indices/_types/IndexSettings.ts#L379-L394" }, { "kind": "enum", @@ -115589,54 +115589,6 @@ } } }, - { - "name": "number_of_shards", - "required": false, - "serverDefault": "1", - "type": { - "items": [ - { - "kind": "instance_of", - "type": { - "name": "integer", - "namespace": "_types" - } - }, - { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } - ], - "kind": "union_of" - } - }, - { - "name": "number_of_replicas", - "required": false, - "serverDefault": "0", - "type": { - "items": [ - { - "kind": "instance_of", - "type": { - "name": "integer", - "namespace": "_types" - } - }, - { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } - ], - "kind": "union_of" - } - }, { "name": "number_of_routing_shards", "required": false, @@ -116296,7 +116248,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L70-L170" + "specLocation": "indices/_types/IndexSettings.ts#L70-L176" }, { "kind": "interface", @@ -116472,7 +116424,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L340-L342" + "specLocation": "indices/_types/IndexSettings.ts#L346-L348" }, { "kind": "interface", @@ -116522,7 +116474,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L344-L347" + "specLocation": "indices/_types/IndexSettings.ts#L350-L353" }, { "kind": "interface", @@ -116554,7 +116506,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L242-L245" + "specLocation": "indices/_types/IndexSettings.ts#L248-L251" }, { "kind": "interface", @@ -116576,7 +116528,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L247-L250" + "specLocation": "indices/_types/IndexSettings.ts#L253-L256" }, { "kind": "interface", @@ -116630,7 +116582,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L509-L514" + "specLocation": "indices/_types/IndexSettings.ts#L515-L520" }, { "kind": "interface", @@ -116662,7 +116614,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L516-L519" + "specLocation": "indices/_types/IndexSettings.ts#L522-L525" }, { "kind": "interface", @@ -116716,7 +116668,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L521-L526" + "specLocation": "indices/_types/IndexSettings.ts#L527-L532" }, { "kind": "interface", @@ -116826,7 +116778,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L256-L262" + "specLocation": "indices/_types/IndexSettings.ts#L262-L268" }, { "kind": "interface", @@ -116857,7 +116809,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L237-L240" + "specLocation": "indices/_types/IndexSettings.ts#L243-L246" }, { "kind": "interface", @@ -116879,7 +116831,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L232-L235" + "specLocation": "indices/_types/IndexSettings.ts#L238-L241" }, { "kind": "interface", @@ -117190,7 +117142,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L278-L317" + "specLocation": "indices/_types/IndexSettings.ts#L284-L323" }, { "kind": "interface", @@ -117212,7 +117164,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L319-L325" + "specLocation": "indices/_types/IndexSettings.ts#L325-L331" }, { "kind": "interface", @@ -117244,7 +117196,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L273-L276" + "specLocation": "indices/_types/IndexSettings.ts#L279-L282" }, { "kind": "interface", @@ -117304,7 +117256,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L349-L371" + "specLocation": "indices/_types/IndexSettings.ts#L355-L377" }, { "kind": "interface", @@ -117340,7 +117292,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L390-L409" + "specLocation": "indices/_types/IndexSettings.ts#L396-L415" }, { "kind": "interface", @@ -117370,7 +117322,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L252-L254" + "specLocation": "indices/_types/IndexSettings.ts#L258-L260" }, { "kind": "interface", @@ -117490,7 +117442,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L327-L333" + "specLocation": "indices/_types/IndexSettings.ts#L333-L339" }, { "kind": "interface", @@ -117522,7 +117474,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L335-L338" + "specLocation": "indices/_types/IndexSettings.ts#L341-L344" }, { "kind": "interface", @@ -117543,7 +117495,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L411-L413" + "specLocation": "indices/_types/IndexSettings.ts#L417-L419" }, { "kind": "interface", @@ -117564,7 +117516,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L415-L417" + "specLocation": "indices/_types/IndexSettings.ts#L421-L423" }, { "description": "Mapping Limit Settings", @@ -117688,7 +117640,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L419-L433" + "specLocation": "indices/_types/IndexSettings.ts#L425-L439" }, { "kind": "interface", @@ -117748,7 +117700,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L435-L452" + "specLocation": "indices/_types/IndexSettings.ts#L441-L458" }, { "kind": "interface", @@ -117771,7 +117723,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L454-L461" + "specLocation": "indices/_types/IndexSettings.ts#L460-L467" }, { "kind": "interface", @@ -117794,7 +117746,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L463-L471" + "specLocation": "indices/_types/IndexSettings.ts#L469-L477" }, { "kind": "interface", @@ -117817,7 +117769,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L473-L480" + "specLocation": "indices/_types/IndexSettings.ts#L479-L486" }, { "kind": "interface", @@ -117839,7 +117791,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L482-L489" + "specLocation": "indices/_types/IndexSettings.ts#L488-L495" }, { "kind": "interface", @@ -117861,7 +117813,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L491-L497" + "specLocation": "indices/_types/IndexSettings.ts#L497-L503" }, { "kind": "interface", @@ -117882,7 +117834,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L499-L501" + "specLocation": "indices/_types/IndexSettings.ts#L505-L507" }, { "kind": "interface", @@ -117936,7 +117888,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L582-L587" + "specLocation": "indices/_types/IndexSettings.ts#L588-L593" }, { "kind": "interface", @@ -117960,7 +117912,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L589-L596" + "specLocation": "indices/_types/IndexSettings.ts#L595-L602" }, { "kind": "interface", @@ -117981,7 +117933,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L569-L571" + "specLocation": "indices/_types/IndexSettings.ts#L575-L577" }, { "kind": "interface", @@ -118003,7 +117955,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L573-L580" + "specLocation": "indices/_types/IndexSettings.ts#L579-L586" }, { "kind": "interface", @@ -118036,7 +117988,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L528-L537" + "specLocation": "indices/_types/IndexSettings.ts#L534-L543" }, { "kind": "interface", diff --git a/output/schema/schema.json b/output/schema/schema.json index 9cc9180909..e8a17a7107 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -128391,7 +128391,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L415-L417" + "specLocation": "indices/_types/IndexSettings.ts#L421-L423" }, { "kind": "interface", @@ -129136,7 +129136,7 @@ "name": "IndexCheckOnStartup", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L264-L271" + "specLocation": "indices/_types/IndexSettings.ts#L270-L277" }, { "kind": "interface", @@ -129582,7 +129582,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L256-L262" + "specLocation": "indices/_types/IndexSettings.ts#L262-L268" }, { "kind": "interface", @@ -129691,6 +129691,9 @@ } }, { + "availability": { + "stack": {} + }, "name": "number_of_shards", "required": false, "serverDefault": "1", @@ -129715,6 +129718,9 @@ } }, { + "availability": { + "stack": {} + }, "name": "number_of_replicas", "required": false, "serverDefault": "0", @@ -130397,7 +130403,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L70-L170" + "specLocation": "indices/_types/IndexSettings.ts#L70-L176" }, { "kind": "interface", @@ -130517,7 +130523,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L327-L333" + "specLocation": "indices/_types/IndexSettings.ts#L333-L339" }, { "kind": "interface", @@ -130635,7 +130641,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L278-L317" + "specLocation": "indices/_types/IndexSettings.ts#L284-L323" }, { "kind": "interface", @@ -130657,7 +130663,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L319-L325" + "specLocation": "indices/_types/IndexSettings.ts#L325-L331" }, { "kind": "interface", @@ -130689,7 +130695,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L335-L338" + "specLocation": "indices/_types/IndexSettings.ts#L341-L344" }, { "kind": "interface", @@ -131078,7 +131084,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L273-L276" + "specLocation": "indices/_types/IndexSettings.ts#L279-L282" }, { "kind": "interface", @@ -131099,7 +131105,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L569-L571" + "specLocation": "indices/_types/IndexSettings.ts#L575-L577" }, { "kind": "interface", @@ -131121,7 +131127,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L573-L580" + "specLocation": "indices/_types/IndexSettings.ts#L579-L586" }, { "kind": "interface", @@ -131175,7 +131181,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L582-L587" + "specLocation": "indices/_types/IndexSettings.ts#L588-L593" }, { "kind": "interface", @@ -131199,7 +131205,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L589-L596" + "specLocation": "indices/_types/IndexSettings.ts#L595-L602" }, { "kind": "enum", @@ -131345,7 +131351,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L419-L433" + "specLocation": "indices/_types/IndexSettings.ts#L425-L439" }, { "kind": "interface", @@ -131368,7 +131374,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L454-L461" + "specLocation": "indices/_types/IndexSettings.ts#L460-L467" }, { "kind": "interface", @@ -131390,7 +131396,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L491-L497" + "specLocation": "indices/_types/IndexSettings.ts#L497-L503" }, { "kind": "interface", @@ -131412,7 +131418,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L482-L489" + "specLocation": "indices/_types/IndexSettings.ts#L488-L495" }, { "kind": "interface", @@ -131435,7 +131441,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L463-L471" + "specLocation": "indices/_types/IndexSettings.ts#L469-L477" }, { "kind": "interface", @@ -131458,7 +131464,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L473-L480" + "specLocation": "indices/_types/IndexSettings.ts#L479-L486" }, { "kind": "interface", @@ -131479,7 +131485,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L499-L501" + "specLocation": "indices/_types/IndexSettings.ts#L505-L507" }, { "kind": "interface", @@ -131539,7 +131545,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L435-L452" + "specLocation": "indices/_types/IndexSettings.ts#L441-L458" }, { "kind": "interface", @@ -131560,7 +131566,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L340-L342" + "specLocation": "indices/_types/IndexSettings.ts#L346-L348" }, { "kind": "interface", @@ -131610,7 +131616,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L344-L347" + "specLocation": "indices/_types/IndexSettings.ts#L350-L353" }, { "kind": "interface", @@ -131668,7 +131674,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L411-L413" + "specLocation": "indices/_types/IndexSettings.ts#L417-L419" }, { "kind": "interface", @@ -131711,7 +131717,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L247-L250" + "specLocation": "indices/_types/IndexSettings.ts#L253-L256" }, { "kind": "enum", @@ -131804,7 +131810,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L237-L240" + "specLocation": "indices/_types/IndexSettings.ts#L243-L246" }, { "kind": "interface", @@ -131826,7 +131832,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L232-L235" + "specLocation": "indices/_types/IndexSettings.ts#L238-L241" }, { "kind": "interface", @@ -131856,7 +131862,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L252-L254" + "specLocation": "indices/_types/IndexSettings.ts#L258-L260" }, { "kind": "interface", @@ -131888,7 +131894,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L242-L245" + "specLocation": "indices/_types/IndexSettings.ts#L248-L251" }, { "kind": "type_alias", @@ -131896,7 +131902,7 @@ "name": "SettingsSimilarity", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L172-L184", + "specLocation": "indices/_types/IndexSettings.ts#L178-L190", "type": { "kind": "union_of", "items": [ @@ -132013,7 +132019,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L190-L195" + "specLocation": "indices/_types/IndexSettings.ts#L196-L201" }, { "kind": "interface", @@ -132031,7 +132037,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L186-L188" + "specLocation": "indices/_types/IndexSettings.ts#L192-L194" }, { "kind": "interface", @@ -132060,7 +132066,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L197-L200" + "specLocation": "indices/_types/IndexSettings.ts#L203-L206" }, { "kind": "interface", @@ -132111,7 +132117,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L202-L207" + "specLocation": "indices/_types/IndexSettings.ts#L208-L213" }, { "kind": "interface", @@ -132162,7 +132168,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L209-L214" + "specLocation": "indices/_types/IndexSettings.ts#L215-L220" }, { "kind": "interface", @@ -132191,7 +132197,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L216-L219" + "specLocation": "indices/_types/IndexSettings.ts#L222-L225" }, { "kind": "interface", @@ -132220,7 +132226,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L221-L224" + "specLocation": "indices/_types/IndexSettings.ts#L227-L230" }, { "kind": "interface", @@ -132260,7 +132266,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L226-L230" + "specLocation": "indices/_types/IndexSettings.ts#L232-L236" }, { "kind": "interface", @@ -132314,7 +132320,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L509-L514" + "specLocation": "indices/_types/IndexSettings.ts#L515-L520" }, { "kind": "interface", @@ -132368,7 +132374,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L521-L526" + "specLocation": "indices/_types/IndexSettings.ts#L527-L532" }, { "kind": "interface", @@ -132400,7 +132406,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L516-L519" + "specLocation": "indices/_types/IndexSettings.ts#L522-L525" }, { "kind": "interface", @@ -132454,7 +132460,7 @@ "name": "SourceMode", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L503-L507" + "specLocation": "indices/_types/IndexSettings.ts#L509-L513" }, { "kind": "interface", @@ -132487,7 +132493,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L528-L537" + "specLocation": "indices/_types/IndexSettings.ts#L534-L543" }, { "kind": "enum", @@ -132514,7 +132520,7 @@ "name": "StorageType", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L539-L567" + "specLocation": "indices/_types/IndexSettings.ts#L545-L573" }, { "kind": "interface", @@ -132671,7 +132677,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L349-L371" + "specLocation": "indices/_types/IndexSettings.ts#L355-L377" }, { "kind": "enum", @@ -132695,7 +132701,7 @@ "name": "TranslogDurability", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L373-L388" + "specLocation": "indices/_types/IndexSettings.ts#L379-L394" }, { "kind": "interface", @@ -132731,7 +132737,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L390-L409" + "specLocation": "indices/_types/IndexSettings.ts#L396-L415" }, { "kind": "enum", diff --git a/specification/indices/_types/IndexSettings.ts b/specification/indices/_types/IndexSettings.ts index 03bd00bbad..723dbbe3f7 100644 --- a/specification/indices/_types/IndexSettings.ts +++ b/specification/indices/_types/IndexSettings.ts @@ -80,9 +80,15 @@ export class IndexSettings routing_path?: string | string[] soft_deletes?: SoftDeletes sort?: IndexSegmentSort - /** @server_default 1 */ + /** + * @server_default 1 + * @availability stack + * */ number_of_shards?: integer | string // TODO: should be only int - /** @server_default 0 */ + /** + * @server_default 0 + * @availability stack + * */ number_of_replicas?: integer | string // TODO: should be only int number_of_routing_shards?: integer /** @server_default false */