diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 40ef5aa13f..5e780027c5 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -35679,26 +35679,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 101ed082e7..28bc544d46 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -96613,7 +96613,7 @@ "name": "IndexCheckOnStartup", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L264-L271" + "specLocation": "indices/_types/IndexSettings.ts#L270-L277" }, { "kind": "enum", @@ -96749,7 +96749,7 @@ "name": "SettingsSimilarity", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L172-L184", + "specLocation": "indices/_types/IndexSettings.ts#L178-L190", "type": { "items": [ { @@ -96866,7 +96866,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L190-L195" + "specLocation": "indices/_types/IndexSettings.ts#L196-L201" }, { "kind": "interface", @@ -96884,7 +96884,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L186-L188" + "specLocation": "indices/_types/IndexSettings.ts#L192-L194" }, { "kind": "interface", @@ -96913,7 +96913,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L197-L200" + "specLocation": "indices/_types/IndexSettings.ts#L203-L206" }, { "kind": "interface", @@ -96964,7 +96964,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L202-L207" + "specLocation": "indices/_types/IndexSettings.ts#L208-L213" }, { "kind": "interface", @@ -97015,7 +97015,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L209-L214" + "specLocation": "indices/_types/IndexSettings.ts#L215-L220" }, { "kind": "interface", @@ -97044,7 +97044,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L216-L219" + "specLocation": "indices/_types/IndexSettings.ts#L222-L225" }, { "kind": "interface", @@ -97073,7 +97073,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L221-L224" + "specLocation": "indices/_types/IndexSettings.ts#L227-L230" }, { "kind": "interface", @@ -97113,7 +97113,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L226-L230" + "specLocation": "indices/_types/IndexSettings.ts#L232-L236" }, { "kind": "enum", @@ -97132,7 +97132,7 @@ "name": "SourceMode", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L503-L507" + "specLocation": "indices/_types/IndexSettings.ts#L509-L513" }, { "isOpen": true, @@ -97159,7 +97159,7 @@ "name": "StorageType", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L539-L567" + "specLocation": "indices/_types/IndexSettings.ts#L545-L573" }, { "kind": "enum", @@ -97183,7 +97183,7 @@ "name": "TranslogDurability", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L373-L388" + "specLocation": "indices/_types/IndexSettings.ts#L379-L394" }, { "kind": "enum", @@ -115418,54 +115418,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, @@ -116125,7 +116077,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L70-L170" + "specLocation": "indices/_types/IndexSettings.ts#L70-L176" }, { "kind": "interface", @@ -116301,7 +116253,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L340-L342" + "specLocation": "indices/_types/IndexSettings.ts#L346-L348" }, { "kind": "interface", @@ -116351,7 +116303,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L344-L347" + "specLocation": "indices/_types/IndexSettings.ts#L350-L353" }, { "kind": "interface", @@ -116383,7 +116335,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L242-L245" + "specLocation": "indices/_types/IndexSettings.ts#L248-L251" }, { "kind": "interface", @@ -116405,7 +116357,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L247-L250" + "specLocation": "indices/_types/IndexSettings.ts#L253-L256" }, { "kind": "interface", @@ -116459,7 +116411,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L509-L514" + "specLocation": "indices/_types/IndexSettings.ts#L515-L520" }, { "kind": "interface", @@ -116491,7 +116443,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L516-L519" + "specLocation": "indices/_types/IndexSettings.ts#L522-L525" }, { "kind": "interface", @@ -116545,7 +116497,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L521-L526" + "specLocation": "indices/_types/IndexSettings.ts#L527-L532" }, { "kind": "interface", @@ -116655,7 +116607,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L256-L262" + "specLocation": "indices/_types/IndexSettings.ts#L262-L268" }, { "kind": "interface", @@ -116686,7 +116638,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L237-L240" + "specLocation": "indices/_types/IndexSettings.ts#L243-L246" }, { "kind": "interface", @@ -116708,7 +116660,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L232-L235" + "specLocation": "indices/_types/IndexSettings.ts#L238-L241" }, { "kind": "interface", @@ -117019,7 +116971,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L278-L317" + "specLocation": "indices/_types/IndexSettings.ts#L284-L323" }, { "kind": "interface", @@ -117041,7 +116993,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L319-L325" + "specLocation": "indices/_types/IndexSettings.ts#L325-L331" }, { "kind": "interface", @@ -117073,7 +117025,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L273-L276" + "specLocation": "indices/_types/IndexSettings.ts#L279-L282" }, { "kind": "interface", @@ -117133,7 +117085,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L349-L371" + "specLocation": "indices/_types/IndexSettings.ts#L355-L377" }, { "kind": "interface", @@ -117169,7 +117121,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L390-L409" + "specLocation": "indices/_types/IndexSettings.ts#L396-L415" }, { "kind": "interface", @@ -117199,7 +117151,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L252-L254" + "specLocation": "indices/_types/IndexSettings.ts#L258-L260" }, { "kind": "interface", @@ -117319,7 +117271,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L327-L333" + "specLocation": "indices/_types/IndexSettings.ts#L333-L339" }, { "kind": "interface", @@ -117351,7 +117303,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L335-L338" + "specLocation": "indices/_types/IndexSettings.ts#L341-L344" }, { "kind": "interface", @@ -117372,7 +117324,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L411-L413" + "specLocation": "indices/_types/IndexSettings.ts#L417-L419" }, { "kind": "interface", @@ -117393,7 +117345,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L415-L417" + "specLocation": "indices/_types/IndexSettings.ts#L421-L423" }, { "description": "Mapping Limit Settings", @@ -117517,7 +117469,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L419-L433" + "specLocation": "indices/_types/IndexSettings.ts#L425-L439" }, { "kind": "interface", @@ -117577,7 +117529,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L435-L452" + "specLocation": "indices/_types/IndexSettings.ts#L441-L458" }, { "kind": "interface", @@ -117600,7 +117552,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L454-L461" + "specLocation": "indices/_types/IndexSettings.ts#L460-L467" }, { "kind": "interface", @@ -117623,7 +117575,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L463-L471" + "specLocation": "indices/_types/IndexSettings.ts#L469-L477" }, { "kind": "interface", @@ -117646,7 +117598,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L473-L480" + "specLocation": "indices/_types/IndexSettings.ts#L479-L486" }, { "kind": "interface", @@ -117668,7 +117620,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L482-L489" + "specLocation": "indices/_types/IndexSettings.ts#L488-L495" }, { "kind": "interface", @@ -117690,7 +117642,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L491-L497" + "specLocation": "indices/_types/IndexSettings.ts#L497-L503" }, { "kind": "interface", @@ -117711,7 +117663,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L499-L501" + "specLocation": "indices/_types/IndexSettings.ts#L505-L507" }, { "kind": "interface", @@ -117765,7 +117717,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L582-L587" + "specLocation": "indices/_types/IndexSettings.ts#L588-L593" }, { "kind": "interface", @@ -117789,7 +117741,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L589-L596" + "specLocation": "indices/_types/IndexSettings.ts#L595-L602" }, { "kind": "interface", @@ -117810,7 +117762,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L569-L571" + "specLocation": "indices/_types/IndexSettings.ts#L575-L577" }, { "kind": "interface", @@ -117832,7 +117784,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L573-L580" + "specLocation": "indices/_types/IndexSettings.ts#L579-L586" }, { "kind": "interface", @@ -117865,7 +117817,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 45370dcb4d..9303e22abf 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -128387,7 +128387,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L415-L417" + "specLocation": "indices/_types/IndexSettings.ts#L421-L423" }, { "kind": "interface", @@ -129132,7 +129132,7 @@ "name": "IndexCheckOnStartup", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L264-L271" + "specLocation": "indices/_types/IndexSettings.ts#L270-L277" }, { "kind": "interface", @@ -129578,7 +129578,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L256-L262" + "specLocation": "indices/_types/IndexSettings.ts#L262-L268" }, { "kind": "interface", @@ -129687,6 +129687,9 @@ } }, { + "availability": { + "stack": {} + }, "name": "number_of_shards", "required": false, "serverDefault": "1", @@ -129711,6 +129714,9 @@ } }, { + "availability": { + "stack": {} + }, "name": "number_of_replicas", "required": false, "serverDefault": "0", @@ -130393,7 +130399,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L70-L170" + "specLocation": "indices/_types/IndexSettings.ts#L70-L176" }, { "kind": "interface", @@ -130513,7 +130519,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L327-L333" + "specLocation": "indices/_types/IndexSettings.ts#L333-L339" }, { "kind": "interface", @@ -130631,7 +130637,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L278-L317" + "specLocation": "indices/_types/IndexSettings.ts#L284-L323" }, { "kind": "interface", @@ -130653,7 +130659,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L319-L325" + "specLocation": "indices/_types/IndexSettings.ts#L325-L331" }, { "kind": "interface", @@ -130685,7 +130691,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L335-L338" + "specLocation": "indices/_types/IndexSettings.ts#L341-L344" }, { "kind": "interface", @@ -131074,7 +131080,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L273-L276" + "specLocation": "indices/_types/IndexSettings.ts#L279-L282" }, { "kind": "interface", @@ -131095,7 +131101,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L569-L571" + "specLocation": "indices/_types/IndexSettings.ts#L575-L577" }, { "kind": "interface", @@ -131117,7 +131123,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L573-L580" + "specLocation": "indices/_types/IndexSettings.ts#L579-L586" }, { "kind": "interface", @@ -131171,7 +131177,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L582-L587" + "specLocation": "indices/_types/IndexSettings.ts#L588-L593" }, { "kind": "interface", @@ -131195,7 +131201,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L589-L596" + "specLocation": "indices/_types/IndexSettings.ts#L595-L602" }, { "kind": "enum", @@ -131341,7 +131347,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L419-L433" + "specLocation": "indices/_types/IndexSettings.ts#L425-L439" }, { "kind": "interface", @@ -131364,7 +131370,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L454-L461" + "specLocation": "indices/_types/IndexSettings.ts#L460-L467" }, { "kind": "interface", @@ -131386,7 +131392,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L491-L497" + "specLocation": "indices/_types/IndexSettings.ts#L497-L503" }, { "kind": "interface", @@ -131408,7 +131414,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L482-L489" + "specLocation": "indices/_types/IndexSettings.ts#L488-L495" }, { "kind": "interface", @@ -131431,7 +131437,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L463-L471" + "specLocation": "indices/_types/IndexSettings.ts#L469-L477" }, { "kind": "interface", @@ -131454,7 +131460,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L473-L480" + "specLocation": "indices/_types/IndexSettings.ts#L479-L486" }, { "kind": "interface", @@ -131475,7 +131481,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L499-L501" + "specLocation": "indices/_types/IndexSettings.ts#L505-L507" }, { "kind": "interface", @@ -131535,7 +131541,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L435-L452" + "specLocation": "indices/_types/IndexSettings.ts#L441-L458" }, { "kind": "interface", @@ -131556,7 +131562,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L340-L342" + "specLocation": "indices/_types/IndexSettings.ts#L346-L348" }, { "kind": "interface", @@ -131606,7 +131612,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L344-L347" + "specLocation": "indices/_types/IndexSettings.ts#L350-L353" }, { "kind": "interface", @@ -131664,7 +131670,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L411-L413" + "specLocation": "indices/_types/IndexSettings.ts#L417-L419" }, { "kind": "interface", @@ -131707,7 +131713,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L247-L250" + "specLocation": "indices/_types/IndexSettings.ts#L253-L256" }, { "kind": "enum", @@ -131800,7 +131806,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L237-L240" + "specLocation": "indices/_types/IndexSettings.ts#L243-L246" }, { "kind": "interface", @@ -131822,7 +131828,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L232-L235" + "specLocation": "indices/_types/IndexSettings.ts#L238-L241" }, { "kind": "interface", @@ -131852,7 +131858,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L252-L254" + "specLocation": "indices/_types/IndexSettings.ts#L258-L260" }, { "kind": "interface", @@ -131884,7 +131890,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L242-L245" + "specLocation": "indices/_types/IndexSettings.ts#L248-L251" }, { "kind": "type_alias", @@ -131892,7 +131898,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": [ @@ -132009,7 +132015,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L190-L195" + "specLocation": "indices/_types/IndexSettings.ts#L196-L201" }, { "kind": "interface", @@ -132027,7 +132033,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L186-L188" + "specLocation": "indices/_types/IndexSettings.ts#L192-L194" }, { "kind": "interface", @@ -132056,7 +132062,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L197-L200" + "specLocation": "indices/_types/IndexSettings.ts#L203-L206" }, { "kind": "interface", @@ -132107,7 +132113,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L202-L207" + "specLocation": "indices/_types/IndexSettings.ts#L208-L213" }, { "kind": "interface", @@ -132158,7 +132164,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L209-L214" + "specLocation": "indices/_types/IndexSettings.ts#L215-L220" }, { "kind": "interface", @@ -132187,7 +132193,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L216-L219" + "specLocation": "indices/_types/IndexSettings.ts#L222-L225" }, { "kind": "interface", @@ -132216,7 +132222,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L221-L224" + "specLocation": "indices/_types/IndexSettings.ts#L227-L230" }, { "kind": "interface", @@ -132256,7 +132262,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L226-L230" + "specLocation": "indices/_types/IndexSettings.ts#L232-L236" }, { "kind": "interface", @@ -132310,7 +132316,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L509-L514" + "specLocation": "indices/_types/IndexSettings.ts#L515-L520" }, { "kind": "interface", @@ -132364,7 +132370,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L521-L526" + "specLocation": "indices/_types/IndexSettings.ts#L527-L532" }, { "kind": "interface", @@ -132396,7 +132402,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L516-L519" + "specLocation": "indices/_types/IndexSettings.ts#L522-L525" }, { "kind": "interface", @@ -132450,7 +132456,7 @@ "name": "SourceMode", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L503-L507" + "specLocation": "indices/_types/IndexSettings.ts#L509-L513" }, { "kind": "interface", @@ -132483,7 +132489,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L528-L537" + "specLocation": "indices/_types/IndexSettings.ts#L534-L543" }, { "kind": "enum", @@ -132510,7 +132516,7 @@ "name": "StorageType", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L539-L567" + "specLocation": "indices/_types/IndexSettings.ts#L545-L573" }, { "kind": "interface", @@ -132667,7 +132673,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L349-L371" + "specLocation": "indices/_types/IndexSettings.ts#L355-L377" }, { "kind": "enum", @@ -132691,7 +132697,7 @@ "name": "TranslogDurability", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L373-L388" + "specLocation": "indices/_types/IndexSettings.ts#L379-L394" }, { "kind": "interface", @@ -132727,7 +132733,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 */