From e819896aeea1ffce94b1a909bee17c1db56836e0 Mon Sep 17 00:00:00 2001 From: pquentin <42327+pquentin@users.noreply.github.com> Date: Tue, 1 Jul 2025 04:19:13 +0000 Subject: [PATCH] Update rest-api-spec --- output/openapi/elasticsearch-openapi.json | 410 +++++++- .../elasticsearch-serverless-openapi.json | 307 +++++- output/schema/schema.json | 991 +++++++++++++----- output/schema/validation-errors.json | 6 - output/typescript/types.ts | 93 +- 5 files changed, 1476 insertions(+), 331 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index cabb3c651a..626a72acf3 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -65846,12 +65846,21 @@ { "$ref": "#/components/schemas/_types.analysis.ApostropheTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.ArabicStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.ArabicNormalizationTokenFilter" }, { "$ref": "#/components/schemas/_types.analysis.AsciiFoldingTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.BengaliNormalizationTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis.BrazilianStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.CjkBigramTokenFilter" }, @@ -65867,12 +65876,18 @@ { "$ref": "#/components/schemas/_types.analysis.ConditionTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.CzechStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.DecimalDigitTokenFilter" }, { "$ref": "#/components/schemas/_types.analysis.DelimitedPayloadTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.DutchStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.EdgeNGramTokenFilter" }, @@ -65885,9 +65900,15 @@ { "$ref": "#/components/schemas/_types.analysis.FlattenGraphTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.FrenchStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.GermanNormalizationTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.GermanStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.HindiNormalizationTokenFilter" }, @@ -65945,6 +65966,9 @@ { "$ref": "#/components/schemas/_types.analysis.PersianNormalizationTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.PersianStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.PorterStemTokenFilter" }, @@ -65957,6 +65981,9 @@ { "$ref": "#/components/schemas/_types.analysis.ReverseTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.RussianStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.ScandinavianFoldingTokenFilter" }, @@ -66069,6 +66096,27 @@ } } }, + "_types.analysis.ArabicStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "arabic_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.ArabicNormalizationTokenFilter": { "allOf": [ { @@ -66114,6 +66162,48 @@ } ] }, + "_types.analysis.BengaliNormalizationTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "bengali_normalization" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis.BrazilianStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brazilian_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.CjkBigramTokenFilter": { "allOf": [ { @@ -66270,6 +66360,27 @@ } ] }, + "_types.analysis.CzechStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "czech_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.DecimalDigitTokenFilter": { "allOf": [ { @@ -66327,6 +66438,27 @@ "identity" ] }, + "_types.analysis.DutchStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "dutch_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.EdgeNGramTokenFilter": { "allOf": [ { @@ -66454,6 +66586,27 @@ } ] }, + "_types.analysis.FrenchStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "french_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.GermanNormalizationTokenFilter": { "allOf": [ { @@ -66475,6 +66628,27 @@ } ] }, + "_types.analysis.GermanStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "german_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.HindiNormalizationTokenFilter": { "allOf": [ { @@ -67060,6 +67234,9 @@ "description": "If `true`, all substrings matching the pattern parameter’s regular expression are replaced. If `false`, the filter replaces only the first matching substring in each token. Defaults to `true`.", "type": "boolean" }, + "flags": { + "type": "string" + }, "pattern": { "description": "Regular expression, written in Java’s regular expression syntax. The filter replaces token substrings matching this pattern with the substring in the `replacement` parameter.", "type": "string" @@ -67097,6 +67274,27 @@ } ] }, + "_types.analysis.PersianStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "persian_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.PorterStemTokenFilter": { "allOf": [ { @@ -67185,6 +67383,27 @@ } ] }, + "_types.analysis.RussianStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "russian_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.ScandinavianFoldingTokenFilter": { "allOf": [ { @@ -67854,10 +68073,10 @@ "alternate": { "$ref": "#/components/schemas/_types.analysis.IcuCollationAlternate" }, - "case_first": { + "caseFirst": { "$ref": "#/components/schemas/_types.analysis.IcuCollationCaseFirst" }, - "case_level": { + "caseLevel": { "type": "boolean" }, "country": { @@ -67866,7 +68085,7 @@ "decomposition": { "$ref": "#/components/schemas/_types.analysis.IcuCollationDecomposition" }, - "hiragana_quaternary_mode": { + "hiraganaQuaternaryMode": { "type": "boolean" }, "language": { @@ -67881,7 +68100,7 @@ "strength": { "$ref": "#/components/schemas/_types.analysis.IcuCollationStrength" }, - "variable_top": { + "variableTop": { "type": "string" }, "variant": { @@ -68344,10 +68563,17 @@ "type": "number" }, "token_chars": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.analysis.TokenChar" - } + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis.TokenChar" + } + } + ] } }, "required": [ @@ -69243,6 +69469,9 @@ "allow_mmap": { "description": "You can restrict the use of the mmapfs and the related hybridfs store type via the setting node.store.allow_mmap.\nThis is a boolean setting indicating whether or not memory-mapping is allowed. The default is to allow it. This\nsetting is useful, for example, if you are in an environment where you can not control the ability to create a lot\nof memory maps so you need disable the ability to use memory-mapping.", "type": "boolean" + }, + "stats_refresh_interval": { + "$ref": "#/components/schemas/_types.Duration" } }, "required": [ @@ -70395,6 +70624,9 @@ { "$ref": "#/components/schemas/_types.mapping.PassthroughObjectProperty" }, + { + "$ref": "#/components/schemas/_types.mapping.RankVectorProperty" + }, { "$ref": "#/components/schemas/_types.mapping.SemanticTextProperty" }, @@ -71319,6 +71551,9 @@ "default_metric": { "type": "string" }, + "ignore_malformed": { + "type": "boolean" + }, "metrics": { "type": "array", "items": { @@ -71478,6 +71713,12 @@ "split_queries_on_whitespace": { "type": "boolean" }, + "time_series_dimensions": { + "type": "array", + "items": { + "type": "string" + } + }, "type": { "type": "string", "enum": [ @@ -71579,6 +71820,42 @@ } ] }, + "_types.mapping.RankVectorProperty": { + "description": "Technical preview", + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping.PropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "rank_vectors" + ] + }, + "element_type": { + "$ref": "#/components/schemas/_types.mapping.RankVectorElementType" + }, + "dims": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping.RankVectorElementType": { + "type": "string", + "enum": [ + "byte", + "float", + "bit" + ] + }, "_types.mapping.SemanticTextProperty": { "type": "object", "properties": { @@ -71641,6 +71918,9 @@ { "type": "object", "properties": { + "store": { + "type": "boolean" + }, "type": { "type": "string", "enum": [ @@ -71952,6 +72232,9 @@ "enum": [ "geo_point" ] + }, + "time_series_metric": { + "$ref": "#/components/schemas/_types.mapping.GeoPointMetricType" } }, "required": [ @@ -71960,6 +72243,14 @@ } ] }, + "_types.mapping.GeoPointMetricType": { + "type": "string", + "enum": [ + "gauge", + "counter", + "position" + ] + }, "_types.mapping.GeoShapeProperty": { "description": "The `geo_shape` data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles\nand polygons.", "allOf": [ @@ -92272,12 +92563,21 @@ "build_type": { "type": "string" }, + "component_versions": { + "type": "object", + "additionalProperties": { + "type": "number" + } + }, "host": { "$ref": "#/components/schemas/_types.Host" }, "http": { "$ref": "#/components/schemas/nodes.info.NodeInfoHttp" }, + "index_version": { + "$ref": "#/components/schemas/_types.VersionNumber" + }, "ip": { "$ref": "#/components/schemas/_types.Ip" }, @@ -92287,9 +92587,6 @@ "name": { "$ref": "#/components/schemas/_types.Name" }, - "network": { - "$ref": "#/components/schemas/nodes.info.NodeInfoNetwork" - }, "os": { "$ref": "#/components/schemas/nodes.info.NodeOperatingSystemInfo" }, @@ -92327,6 +92624,9 @@ "transport_address": { "$ref": "#/components/schemas/_types.TransportAddress" }, + "transport_version": { + "$ref": "#/components/schemas/_types.VersionNumber" + }, "version": { "$ref": "#/components/schemas/_types.VersionString" }, @@ -92344,6 +92644,9 @@ "additionalProperties": { "$ref": "#/components/schemas/nodes.info.NodeInfoAggregation" } + }, + "remote_cluster_server": { + "$ref": "#/components/schemas/nodes.info.RemoveClusterServer" } }, "required": [ @@ -92351,11 +92654,14 @@ "build_flavor", "build_hash", "build_type", + "component_versions", "host", + "index_version", "ip", "name", "roles", "transport_address", + "transport_version", "version" ] }, @@ -92496,40 +92802,6 @@ "non_heap_max_in_bytes" ] }, - "nodes.info.NodeInfoNetwork": { - "type": "object", - "properties": { - "primary_interface": { - "$ref": "#/components/schemas/nodes.info.NodeInfoNetworkInterface" - }, - "refresh_interval": { - "type": "number" - } - }, - "required": [ - "primary_interface", - "refresh_interval" - ] - }, - "nodes.info.NodeInfoNetworkInterface": { - "type": "object", - "properties": { - "address": { - "type": "string" - }, - "mac_address": { - "type": "string" - }, - "name": { - "$ref": "#/components/schemas/_types.Name" - } - }, - "required": [ - "address", - "mac_address", - "name" - ] - }, "nodes.info.NodeOperatingSystemInfo": { "type": "object", "properties": { @@ -92720,10 +92992,17 @@ "$ref": "#/components/schemas/nodes.info.NodeInfoSettingsClusterElection" }, "initial_master_nodes": { - "type": "array", - "items": { - "type": "string" - } + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] }, "deprecation_indexing": { "$ref": "#/components/schemas/nodes.info.DeprecationIndexing" @@ -92840,10 +93119,17 @@ "type": "object", "properties": { "seed_hosts": { - "type": "array", - "items": { - "type": "string" - } + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] }, "type": { "type": "string" @@ -93393,6 +93679,24 @@ "types" ] }, + "nodes.info.RemoveClusterServer": { + "type": "object", + "properties": { + "bound_address": { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.TransportAddress" + } + }, + "publish_address": { + "$ref": "#/components/schemas/_types.TransportAddress" + } + }, + "required": [ + "bound_address", + "publish_address" + ] + }, "_types.Password": { "type": "string" }, diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index b3d56ec4f6..e43a31da95 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -42568,12 +42568,21 @@ { "$ref": "#/components/schemas/_types.analysis.ApostropheTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.ArabicStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.ArabicNormalizationTokenFilter" }, { "$ref": "#/components/schemas/_types.analysis.AsciiFoldingTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.BengaliNormalizationTokenFilter" + }, + { + "$ref": "#/components/schemas/_types.analysis.BrazilianStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.CjkBigramTokenFilter" }, @@ -42589,12 +42598,18 @@ { "$ref": "#/components/schemas/_types.analysis.ConditionTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.CzechStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.DecimalDigitTokenFilter" }, { "$ref": "#/components/schemas/_types.analysis.DelimitedPayloadTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.DutchStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.EdgeNGramTokenFilter" }, @@ -42607,9 +42622,15 @@ { "$ref": "#/components/schemas/_types.analysis.FlattenGraphTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.FrenchStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.GermanNormalizationTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.GermanStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.HindiNormalizationTokenFilter" }, @@ -42667,6 +42688,9 @@ { "$ref": "#/components/schemas/_types.analysis.PersianNormalizationTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.PersianStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.PorterStemTokenFilter" }, @@ -42679,6 +42703,9 @@ { "$ref": "#/components/schemas/_types.analysis.ReverseTokenFilter" }, + { + "$ref": "#/components/schemas/_types.analysis.RussianStemTokenFilter" + }, { "$ref": "#/components/schemas/_types.analysis.ScandinavianFoldingTokenFilter" }, @@ -42791,6 +42818,27 @@ } } }, + "_types.analysis.ArabicStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "arabic_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.ArabicNormalizationTokenFilter": { "allOf": [ { @@ -42836,6 +42884,48 @@ } ] }, + "_types.analysis.BengaliNormalizationTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "bengali_normalization" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.analysis.BrazilianStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brazilian_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.CjkBigramTokenFilter": { "allOf": [ { @@ -42992,6 +43082,27 @@ } ] }, + "_types.analysis.CzechStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "czech_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.DecimalDigitTokenFilter": { "allOf": [ { @@ -43049,6 +43160,27 @@ "identity" ] }, + "_types.analysis.DutchStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "dutch_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.EdgeNGramTokenFilter": { "allOf": [ { @@ -43176,6 +43308,27 @@ } ] }, + "_types.analysis.FrenchStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "french_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.GermanNormalizationTokenFilter": { "allOf": [ { @@ -43197,6 +43350,27 @@ } ] }, + "_types.analysis.GermanStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "german_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.HindiNormalizationTokenFilter": { "allOf": [ { @@ -43782,6 +43956,9 @@ "description": "If `true`, all substrings matching the pattern parameter’s regular expression are replaced. If `false`, the filter replaces only the first matching substring in each token. Defaults to `true`.", "type": "boolean" }, + "flags": { + "type": "string" + }, "pattern": { "description": "Regular expression, written in Java’s regular expression syntax. The filter replaces token substrings matching this pattern with the substring in the `replacement` parameter.", "type": "string" @@ -43819,6 +43996,27 @@ } ] }, + "_types.analysis.PersianStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "persian_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.PorterStemTokenFilter": { "allOf": [ { @@ -43907,6 +44105,27 @@ } ] }, + "_types.analysis.RussianStemTokenFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/_types.analysis.TokenFilterBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "russian_stem" + ] + } + }, + "required": [ + "type" + ] + } + ] + }, "_types.analysis.ScandinavianFoldingTokenFilter": { "allOf": [ { @@ -44576,10 +44795,10 @@ "alternate": { "$ref": "#/components/schemas/_types.analysis.IcuCollationAlternate" }, - "case_first": { + "caseFirst": { "$ref": "#/components/schemas/_types.analysis.IcuCollationCaseFirst" }, - "case_level": { + "caseLevel": { "type": "boolean" }, "country": { @@ -44588,7 +44807,7 @@ "decomposition": { "$ref": "#/components/schemas/_types.analysis.IcuCollationDecomposition" }, - "hiragana_quaternary_mode": { + "hiraganaQuaternaryMode": { "type": "boolean" }, "language": { @@ -44603,7 +44822,7 @@ "strength": { "$ref": "#/components/schemas/_types.analysis.IcuCollationStrength" }, - "variable_top": { + "variableTop": { "type": "string" }, "variant": { @@ -45066,10 +45285,17 @@ "type": "number" }, "token_chars": { - "type": "array", - "items": { - "$ref": "#/components/schemas/_types.analysis.TokenChar" - } + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/_types.analysis.TokenChar" + } + } + ] } }, "required": [ @@ -45965,6 +46191,9 @@ "allow_mmap": { "description": "You can restrict the use of the mmapfs and the related hybridfs store type via the setting node.store.allow_mmap.\nThis is a boolean setting indicating whether or not memory-mapping is allowed. The default is to allow it. This\nsetting is useful, for example, if you are in an environment where you can not control the ability to create a lot\nof memory maps so you need disable the ability to use memory-mapping.", "type": "boolean" + }, + "stats_refresh_interval": { + "$ref": "#/components/schemas/_types.Duration" } }, "required": [ @@ -46287,6 +46516,9 @@ { "$ref": "#/components/schemas/_types.mapping.PassthroughObjectProperty" }, + { + "$ref": "#/components/schemas/_types.mapping.RankVectorProperty" + }, { "$ref": "#/components/schemas/_types.mapping.SemanticTextProperty" }, @@ -47211,6 +47443,9 @@ "default_metric": { "type": "string" }, + "ignore_malformed": { + "type": "boolean" + }, "metrics": { "type": "array", "items": { @@ -47370,6 +47605,12 @@ "split_queries_on_whitespace": { "type": "boolean" }, + "time_series_dimensions": { + "type": "array", + "items": { + "type": "string" + } + }, "type": { "type": "string", "enum": [ @@ -47471,6 +47712,42 @@ } ] }, + "_types.mapping.RankVectorProperty": { + "description": "Technical preview", + "allOf": [ + { + "$ref": "#/components/schemas/_types.mapping.PropertyBase" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "rank_vectors" + ] + }, + "element_type": { + "$ref": "#/components/schemas/_types.mapping.RankVectorElementType" + }, + "dims": { + "type": "number" + } + }, + "required": [ + "type" + ] + } + ] + }, + "_types.mapping.RankVectorElementType": { + "type": "string", + "enum": [ + "byte", + "float", + "bit" + ] + }, "_types.mapping.SemanticTextProperty": { "type": "object", "properties": { @@ -47533,6 +47810,9 @@ { "type": "object", "properties": { + "store": { + "type": "boolean" + }, "type": { "type": "string", "enum": [ @@ -47844,6 +48124,9 @@ "enum": [ "geo_point" ] + }, + "time_series_metric": { + "$ref": "#/components/schemas/_types.mapping.GeoPointMetricType" } }, "required": [ @@ -47852,6 +48135,14 @@ } ] }, + "_types.mapping.GeoPointMetricType": { + "type": "string", + "enum": [ + "gauge", + "counter", + "position" + ] + }, "_types.mapping.GeoShapeProperty": { "description": "The `geo_shape` data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles\nand polygons.", "allOf": [ diff --git a/output/schema/schema.json b/output/schema/schema.json index e4095bbcee..0f378d57ba 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -72118,7 +72118,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L450-L452" + "specLocation": "_types/analysis/token_filters.ts#L451-L453" }, { "kind": "interface", @@ -72196,7 +72196,31 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L454-L456" + "specLocation": "_types/analysis/token_filters.ts#L455-L457" + }, + { + "kind": "interface", + "inherits": { + "type": { + "name": "TokenFilterBase", + "namespace": "_types.analysis" + } + }, + "name": { + "name": "ArabicStemTokenFilter", + "namespace": "_types.analysis" + }, + "properties": [ + { + "name": "type", + "required": true, + "type": { + "kind": "literal_value", + "value": "arabic_stem" + } + } + ], + "specLocation": "_types/analysis/token_filters.ts#L547-L549" }, { "kind": "interface", @@ -72405,6 +72429,30 @@ ], "specLocation": "_types/analysis/analyzers.ts#L93-L98" }, + { + "kind": "interface", + "inherits": { + "type": { + "name": "TokenFilterBase", + "namespace": "_types.analysis" + } + }, + "name": { + "name": "BengaliNormalizationTokenFilter", + "namespace": "_types.analysis" + }, + "properties": [ + { + "name": "type", + "required": true, + "type": { + "kind": "literal_value", + "value": "bengali_normalization" + } + } + ], + "specLocation": "_types/analysis/token_filters.ts#L490-L492" + }, { "kind": "interface", "name": { @@ -72445,6 +72493,30 @@ ], "specLocation": "_types/analysis/analyzers.ts#L100-L104" }, + { + "kind": "interface", + "inherits": { + "type": { + "name": "TokenFilterBase", + "namespace": "_types.analysis" + } + }, + "name": { + "name": "BrazilianStemTokenFilter", + "namespace": "_types.analysis" + }, + "properties": [ + { + "name": "type", + "required": true, + "type": { + "kind": "literal_value", + "value": "brazilian_stem" + } + } + ], + "specLocation": "_types/analysis/token_filters.ts#L494-L496" + }, { "kind": "interface", "name": { @@ -72809,7 +72881,7 @@ "name": "CjkBigramIgnoredScript", "namespace": "_types.analysis" }, - "specLocation": "_types/analysis/token_filters.ts#L458-L463" + "specLocation": "_types/analysis/token_filters.ts#L459-L464" }, { "kind": "interface", @@ -72860,7 +72932,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L465-L471" + "specLocation": "_types/analysis/token_filters.ts#L466-L472" }, { "kind": "interface", @@ -72884,7 +72956,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L473-L475" + "specLocation": "_types/analysis/token_filters.ts#L474-L476" }, { "kind": "interface", @@ -72908,7 +72980,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L477-L479" + "specLocation": "_types/analysis/token_filters.ts#L478-L480" }, { "kind": "interface", @@ -73365,6 +73437,30 @@ ], "specLocation": "_types/analysis/analyzers.ts#L132-L137" }, + { + "kind": "interface", + "inherits": { + "type": { + "name": "TokenFilterBase", + "namespace": "_types.analysis" + } + }, + "name": { + "name": "CzechStemTokenFilter", + "namespace": "_types.analysis" + }, + "properties": [ + { + "name": "type", + "required": true, + "type": { + "kind": "literal_value", + "value": "czech_stem" + } + } + ], + "specLocation": "_types/analysis/token_filters.ts#L551-L553" + }, { "kind": "interface", "name": { @@ -73427,7 +73523,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L481-L483" + "specLocation": "_types/analysis/token_filters.ts#L482-L484" }, { "kind": "enum", @@ -73574,6 +73670,30 @@ ], "specLocation": "_types/analysis/analyzers.ts#L145-L150" }, + { + "kind": "interface", + "inherits": { + "type": { + "name": "TokenFilterBase", + "namespace": "_types.analysis" + } + }, + "name": { + "name": "DutchStemTokenFilter", + "namespace": "_types.analysis" + }, + "properties": [ + { + "name": "type", + "required": true, + "type": { + "kind": "literal_value", + "value": "dutch_stem" + } + } + ], + "specLocation": "_types/analysis/token_filters.ts#L559-L561" + }, { "kind": "enum", "members": [ @@ -73728,20 +73848,31 @@ { "name": "token_chars", "required": false, - "serverDefault": [], "type": { - "kind": "array_of", - "value": { - "kind": "instance_of", - "type": { - "name": "TokenChar", - "namespace": "_types.analysis" + "kind": "union_of", + "items": [ + { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + }, + { + "kind": "array_of", + "value": { + "kind": "instance_of", + "type": { + "name": "TokenChar", + "namespace": "_types.analysis" + } + } } - } + ] } } ], - "specLocation": "_types/analysis/tokenizers.ts#L48-L57" + "specLocation": "_types/analysis/tokenizers.ts#L48-L54" }, { "kind": "interface", @@ -74116,7 +74247,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L485-L487" + "specLocation": "_types/analysis/token_filters.ts#L486-L488" }, { "kind": "interface", @@ -74172,6 +74303,30 @@ ], "specLocation": "_types/analysis/analyzers.ts#L172-L177" }, + { + "kind": "interface", + "inherits": { + "type": { + "name": "TokenFilterBase", + "namespace": "_types.analysis" + } + }, + "name": { + "name": "FrenchStemTokenFilter", + "namespace": "_types.analysis" + }, + "properties": [ + { + "name": "type", + "required": true, + "type": { + "kind": "literal_value", + "value": "french_stem" + } + } + ], + "specLocation": "_types/analysis/token_filters.ts#L555-L557" + }, { "kind": "interface", "name": { @@ -74302,7 +74457,31 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L489-L491" + "specLocation": "_types/analysis/token_filters.ts#L498-L500" + }, + { + "kind": "interface", + "inherits": { + "type": { + "name": "TokenFilterBase", + "namespace": "_types.analysis" + } + }, + "name": { + "name": "GermanStemTokenFilter", + "namespace": "_types.analysis" + }, + "properties": [ + { + "name": "type", + "required": true, + "type": { + "kind": "literal_value", + "value": "german_stem" + } + } + ], + "specLocation": "_types/analysis/token_filters.ts#L563-L565" }, { "kind": "interface", @@ -74420,7 +74599,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L493-L495" + "specLocation": "_types/analysis/token_filters.ts#L502-L504" }, { "kind": "interface", @@ -74796,7 +74975,7 @@ } }, { - "name": "case_first", + "name": "caseFirst", "required": false, "type": { "kind": "instance_of", @@ -74807,7 +74986,7 @@ } }, { - "name": "case_level", + "name": "caseLevel", "required": false, "type": { "kind": "instance_of", @@ -74840,7 +75019,7 @@ } }, { - "name": "hiragana_quaternary_mode", + "name": "hiraganaQuaternaryMode", "required": false, "type": { "kind": "instance_of", @@ -74895,7 +75074,7 @@ } }, { - "name": "variable_top", + "name": "variableTop", "required": false, "type": { "kind": "instance_of", @@ -75200,7 +75379,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L497-L499" + "specLocation": "_types/analysis/token_filters.ts#L506-L508" }, { "kind": "interface", @@ -75695,7 +75874,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L501-L503" + "specLocation": "_types/analysis/token_filters.ts#L510-L512" }, { "kind": "interface", @@ -75731,7 +75910,7 @@ } } ], - "specLocation": "_types/analysis/tokenizers.ts#L68-L74" + "specLocation": "_types/analysis/tokenizers.ts#L65-L71" }, { "kind": "interface", @@ -76174,7 +76353,7 @@ } } ], - "specLocation": "_types/analysis/tokenizers.ts#L76-L78" + "specLocation": "_types/analysis/tokenizers.ts#L73-L75" }, { "kind": "interface", @@ -76382,7 +76561,7 @@ } } ], - "specLocation": "_types/analysis/tokenizers.ts#L80-L82" + "specLocation": "_types/analysis/tokenizers.ts#L77-L79" }, { "kind": "interface", @@ -76503,7 +76682,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L505-L516" + "specLocation": "_types/analysis/token_filters.ts#L514-L525" }, { "kind": "interface", @@ -76704,7 +76883,7 @@ } } ], - "specLocation": "_types/analysis/tokenizers.ts#L84-L93" + "specLocation": "_types/analysis/tokenizers.ts#L81-L90" }, { "kind": "interface", @@ -77096,7 +77275,7 @@ } } ], - "specLocation": "_types/analysis/tokenizers.ts#L95-L102" + "specLocation": "_types/analysis/tokenizers.ts#L92-L99" }, { "kind": "interface", @@ -77344,6 +77523,17 @@ } } }, + { + "name": "flags", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + }, { "description": "Regular expression, written in Java’s regular expression syntax. The filter replaces token substrings matching this pattern with the substring in the `replacement` parameter.", "name": "pattern", @@ -77369,7 +77559,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L382-L390" + "specLocation": "_types/analysis/token_filters.ts#L382-L391" }, { "kind": "interface", @@ -77426,7 +77616,7 @@ } } ], - "specLocation": "_types/analysis/tokenizers.ts#L104-L109" + "specLocation": "_types/analysis/tokenizers.ts#L101-L106" }, { "kind": "interface", @@ -77490,7 +77680,31 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L518-L520" + "specLocation": "_types/analysis/token_filters.ts#L527-L529" + }, + { + "kind": "interface", + "inherits": { + "type": { + "name": "TokenFilterBase", + "namespace": "_types.analysis" + } + }, + "name": { + "name": "PersianStemTokenFilter", + "namespace": "_types.analysis" + }, + "properties": [ + { + "name": "type", + "required": true, + "type": { + "kind": "literal_value", + "value": "persian_stem" + } + } + ], + "specLocation": "_types/analysis/token_filters.ts#L571-L573" }, { "kind": "enum", @@ -77746,7 +77960,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L392-L394" + "specLocation": "_types/analysis/token_filters.ts#L393-L395" }, { "kind": "interface", @@ -77836,7 +78050,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L396-L400" + "specLocation": "_types/analysis/token_filters.ts#L397-L401" }, { "kind": "interface", @@ -77860,7 +78074,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L402-L404" + "specLocation": "_types/analysis/token_filters.ts#L403-L405" }, { "kind": "interface", @@ -77884,7 +78098,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L406-L408" + "specLocation": "_types/analysis/token_filters.ts#L407-L409" }, { "kind": "interface", @@ -77994,6 +78208,30 @@ ], "specLocation": "_types/analysis/analyzers.ts#L275-L280" }, + { + "kind": "interface", + "inherits": { + "type": { + "name": "TokenFilterBase", + "namespace": "_types.analysis" + } + }, + "name": { + "name": "RussianStemTokenFilter", + "namespace": "_types.analysis" + }, + "properties": [ + { + "name": "type", + "required": true, + "type": { + "kind": "literal_value", + "value": "russian_stem" + } + } + ], + "specLocation": "_types/analysis/token_filters.ts#L567-L569" + }, { "kind": "interface", "inherits": { @@ -78016,7 +78254,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L522-L524" + "specLocation": "_types/analysis/token_filters.ts#L531-L533" }, { "kind": "interface", @@ -78040,7 +78278,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L526-L528" + "specLocation": "_types/analysis/token_filters.ts#L535-L537" }, { "kind": "interface", @@ -78118,7 +78356,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L530-L532" + "specLocation": "_types/analysis/token_filters.ts#L539-L541" }, { "kind": "interface", @@ -78300,7 +78538,7 @@ } } ], - "specLocation": "_types/analysis/tokenizers.ts#L116-L119" + "specLocation": "_types/analysis/tokenizers.ts#L113-L116" }, { "kind": "interface", @@ -78335,7 +78573,7 @@ } } ], - "specLocation": "_types/analysis/tokenizers.ts#L111-L114" + "specLocation": "_types/analysis/tokenizers.ts#L108-L111" }, { "kind": "interface", @@ -78517,7 +78755,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L410-L414" + "specLocation": "_types/analysis/token_filters.ts#L411-L415" }, { "kind": "interface", @@ -78595,7 +78833,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L534-L536" + "specLocation": "_types/analysis/token_filters.ts#L543-L545" }, { "kind": "interface", @@ -78740,7 +78978,7 @@ } } ], - "specLocation": "_types/analysis/tokenizers.ts#L121-L124" + "specLocation": "_types/analysis/tokenizers.ts#L118-L121" }, { "kind": "interface", @@ -78791,7 +79029,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L416-L422" + "specLocation": "_types/analysis/token_filters.ts#L417-L423" }, { "kind": "interface", @@ -78829,7 +79067,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L424-L428" + "specLocation": "_types/analysis/token_filters.ts#L425-L429" }, { "kind": "interface", @@ -79412,7 +79650,7 @@ } } ], - "specLocation": "_types/analysis/tokenizers.ts#L126-L128" + "specLocation": "_types/analysis/tokenizers.ts#L123-L125" }, { "kind": "enum", @@ -79440,7 +79678,7 @@ "name": "TokenChar", "namespace": "_types.analysis" }, - "specLocation": "_types/analysis/tokenizers.ts#L59-L66" + "specLocation": "_types/analysis/tokenizers.ts#L56-L63" }, { "kind": "type_alias", @@ -79454,7 +79692,7 @@ "name": "TokenFilter", "namespace": "_types.analysis" }, - "specLocation": "_types/analysis/token_filters.ts#L538-L543", + "specLocation": "_types/analysis/token_filters.ts#L575-L580", "type": { "kind": "union_of", "items": [ @@ -79502,7 +79740,7 @@ "name": "TokenFilterDefinition", "namespace": "_types.analysis" }, - "specLocation": "_types/analysis/token_filters.ts#L545-L614", + "specLocation": "_types/analysis/token_filters.ts#L582-L660", "type": { "kind": "union_of", "items": [ @@ -79513,6 +79751,13 @@ "namespace": "_types.analysis" } }, + { + "kind": "instance_of", + "type": { + "name": "ArabicStemTokenFilter", + "namespace": "_types.analysis" + } + }, { "kind": "instance_of", "type": { @@ -79527,6 +79772,20 @@ "namespace": "_types.analysis" } }, + { + "kind": "instance_of", + "type": { + "name": "BengaliNormalizationTokenFilter", + "namespace": "_types.analysis" + } + }, + { + "kind": "instance_of", + "type": { + "name": "BrazilianStemTokenFilter", + "namespace": "_types.analysis" + } + }, { "kind": "instance_of", "type": { @@ -79562,6 +79821,13 @@ "namespace": "_types.analysis" } }, + { + "kind": "instance_of", + "type": { + "name": "CzechStemTokenFilter", + "namespace": "_types.analysis" + } + }, { "kind": "instance_of", "type": { @@ -79576,6 +79842,13 @@ "namespace": "_types.analysis" } }, + { + "kind": "instance_of", + "type": { + "name": "DutchStemTokenFilter", + "namespace": "_types.analysis" + } + }, { "kind": "instance_of", "type": { @@ -79604,6 +79877,13 @@ "namespace": "_types.analysis" } }, + { + "kind": "instance_of", + "type": { + "name": "FrenchStemTokenFilter", + "namespace": "_types.analysis" + } + }, { "kind": "instance_of", "type": { @@ -79611,6 +79891,13 @@ "namespace": "_types.analysis" } }, + { + "kind": "instance_of", + "type": { + "name": "GermanStemTokenFilter", + "namespace": "_types.analysis" + } + }, { "kind": "instance_of", "type": { @@ -79744,6 +80031,13 @@ "namespace": "_types.analysis" } }, + { + "kind": "instance_of", + "type": { + "name": "PersianStemTokenFilter", + "namespace": "_types.analysis" + } + }, { "kind": "instance_of", "type": { @@ -79772,6 +80066,13 @@ "namespace": "_types.analysis" } }, + { + "kind": "instance_of", + "type": { + "name": "RussianStemTokenFilter", + "namespace": "_types.analysis" + } + }, { "kind": "instance_of", "type": { @@ -79981,7 +80282,7 @@ "name": "Tokenizer", "namespace": "_types.analysis" }, - "specLocation": "_types/analysis/tokenizers.ts#L140-L145", + "specLocation": "_types/analysis/tokenizers.ts#L137-L142", "type": { "kind": "union_of", "items": [ @@ -80029,7 +80330,7 @@ "name": "TokenizerDefinition", "namespace": "_types.analysis" }, - "specLocation": "_types/analysis/tokenizers.ts#L147-L170", + "specLocation": "_types/analysis/tokenizers.ts#L144-L167", "type": { "kind": "union_of", "items": [ @@ -80189,7 +80490,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L430-L432" + "specLocation": "_types/analysis/token_filters.ts#L431-L433" }, { "kind": "interface", @@ -80225,7 +80526,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L434-L438" + "specLocation": "_types/analysis/token_filters.ts#L435-L439" }, { "kind": "interface", @@ -80314,7 +80615,7 @@ } } ], - "specLocation": "_types/analysis/tokenizers.ts#L130-L133" + "specLocation": "_types/analysis/tokenizers.ts#L127-L130" }, { "kind": "interface", @@ -80350,7 +80651,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L440-L444" + "specLocation": "_types/analysis/token_filters.ts#L441-L445" }, { "kind": "interface", @@ -80374,7 +80675,7 @@ } } ], - "specLocation": "_types/analysis/token_filters.ts#L446-L448" + "specLocation": "_types/analysis/token_filters.ts#L447-L449" }, { "kind": "interface", @@ -80442,7 +80743,7 @@ } } ], - "specLocation": "_types/analysis/tokenizers.ts#L135-L138" + "specLocation": "_types/analysis/tokenizers.ts#L132-L135" }, { "kind": "interface", @@ -80735,6 +81036,17 @@ } } }, + { + "name": "ignore_malformed", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "name": "metrics", "required": true, @@ -80761,7 +81073,7 @@ } } ], - "specLocation": "_types/mapping/complex.ts#L59-L64" + "specLocation": "_types/mapping/complex.ts#L60-L66" }, { "kind": "interface", @@ -82320,7 +82632,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L335-L366" + "specLocation": "_types/mapping/core.ts#L345-L376" }, { "kind": "interface", @@ -82782,7 +83094,7 @@ "name": "FieldType", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/Property.ts#L191-L240" + "specLocation": "_types/mapping/Property.ts#L193-L242" }, { "kind": "interface", @@ -82896,6 +83208,20 @@ } } }, + { + "name": "time_series_dimensions", + "required": false, + "type": { + "kind": "array_of", + "value": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + } + }, { "name": "type", "required": true, @@ -82905,7 +83231,7 @@ } } ], - "specLocation": "_types/mapping/complex.ts#L26-L37" + "specLocation": "_types/mapping/complex.ts#L26-L38" }, { "kind": "interface", @@ -82990,7 +83316,26 @@ "name": "GeoOrientation", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/geo.ts#L34-L39" + "specLocation": "_types/mapping/geo.ts#L41-L46" + }, + { + "kind": "enum", + "members": [ + { + "name": "gauge" + }, + { + "name": "counter" + }, + { + "name": "position" + } + ], + "name": { + "name": "GeoPointMetricType", + "namespace": "_types.mapping" + }, + "specLocation": "_types/mapping/geo.ts#L35-L39" }, { "kind": "interface", @@ -83078,9 +83423,20 @@ "kind": "literal_value", "value": "geo_point" } + }, + { + "name": "time_series_metric", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "GeoPointMetricType", + "namespace": "_types.mapping" + } + } } ], - "specLocation": "_types/mapping/geo.ts#L24-L32" + "specLocation": "_types/mapping/geo.ts#L24-L33" }, { "kind": "interface", @@ -83173,7 +83529,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L41-L55" + "specLocation": "_types/mapping/geo.ts#L48-L62" }, { "kind": "enum", @@ -83189,7 +83545,7 @@ "name": "GeoStrategy", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/geo.ts#L57-L60" + "specLocation": "_types/mapping/geo.ts#L64-L67" }, { "kind": "interface", @@ -83504,7 +83860,7 @@ "name": "IndexOptions", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/core.ts#L291-L296" + "specLocation": "_types/mapping/core.ts#L301-L306" }, { "kind": "interface", @@ -84086,7 +84442,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L264-L289" + "specLocation": "_types/mapping/core.ts#L274-L299" }, { "kind": "enum", @@ -84183,7 +84539,7 @@ } } ], - "specLocation": "_types/mapping/complex.ts#L39-L44" + "specLocation": "_types/mapping/complex.ts#L40-L45" }, { "kind": "interface", @@ -84352,7 +84708,7 @@ } } ], - "specLocation": "_types/mapping/complex.ts#L46-L50" + "specLocation": "_types/mapping/complex.ts#L47-L51" }, { "kind": "enum", @@ -84425,7 +84781,7 @@ } } ], - "specLocation": "_types/mapping/complex.ts#L52-L57" + "specLocation": "_types/mapping/complex.ts#L53-L58" }, { "kind": "interface", @@ -84506,7 +84862,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L67-L72" + "specLocation": "_types/mapping/geo.ts#L74-L79" }, { "kind": "type_alias", @@ -84514,7 +84870,7 @@ "name": "Property", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/Property.ts#L119-L189", + "specLocation": "_types/mapping/Property.ts#L120-L191", "type": { "kind": "union_of", "items": [ @@ -84665,6 +85021,13 @@ "namespace": "_types.mapping" } }, + { + "kind": "instance_of", + "type": { + "name": "RankVectorProperty", + "namespace": "_types.mapping" + } + }, { "kind": "instance_of", "type": { @@ -84994,7 +85357,7 @@ } } ], - "specLocation": "_types/mapping/Property.ts#L86-L97" + "specLocation": "_types/mapping/Property.ts#L87-L98" }, { "kind": "interface", @@ -85115,6 +85478,72 @@ ], "specLocation": "_types/mapping/core.ts#L211-L214" }, + { + "kind": "enum", + "members": [ + { + "name": "byte" + }, + { + "name": "float" + }, + { + "name": "bit" + } + ], + "name": { + "name": "RankVectorElementType", + "namespace": "_types.mapping" + }, + "specLocation": "_types/mapping/core.ts#L378-L382" + }, + { + "kind": "interface", + "description": "Technical preview", + "inherits": { + "type": { + "name": "PropertyBase", + "namespace": "_types.mapping" + } + }, + "name": { + "name": "RankVectorProperty", + "namespace": "_types.mapping" + }, + "properties": [ + { + "name": "type", + "required": true, + "type": { + "kind": "literal_value", + "value": "rank_vectors" + } + }, + { + "name": "element_type", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "RankVectorElementType", + "namespace": "_types.mapping" + } + } + }, + { + "name": "dims", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } + } + ], + "specLocation": "_types/mapping/core.ts#L216-L223" + }, { "kind": "interface", "name": { @@ -85536,7 +85965,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L245-L256" + "specLocation": "_types/mapping/core.ts#L255-L266" }, { "kind": "interface", @@ -85613,7 +86042,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L220-L243" + "specLocation": "_types/mapping/core.ts#L230-L253" }, { "kind": "interface", @@ -85684,7 +86113,7 @@ } } ], - "specLocation": "_types/mapping/geo.ts#L74-L86" + "specLocation": "_types/mapping/geo.ts#L81-L93" }, { "kind": "interface", @@ -85857,6 +86286,17 @@ "namespace": "_types.mapping" }, "properties": [ + { + "name": "store", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "name": "type", "required": true, @@ -85866,7 +86306,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L216-L218" + "specLocation": "_types/mapping/core.ts#L225-L228" }, { "kind": "enum", @@ -85981,7 +86421,7 @@ "name": "SyntheticSourceKeepEnum", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/Property.ts#L99-L117" + "specLocation": "_types/mapping/Property.ts#L100-L118" }, { "kind": "enum", @@ -86044,7 +86484,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L298-L301" + "specLocation": "_types/mapping/core.ts#L308-L311" }, { "kind": "interface", @@ -86257,7 +86697,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L303-L320" + "specLocation": "_types/mapping/core.ts#L313-L330" }, { "kind": "enum", @@ -86664,7 +87104,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L322-L324" + "specLocation": "_types/mapping/core.ts#L332-L334" }, { "kind": "interface", @@ -86705,7 +87145,7 @@ } } ], - "specLocation": "_types/mapping/core.ts#L326-L333" + "specLocation": "_types/mapping/core.ts#L336-L343" }, { "kind": "interface", @@ -143933,7 +144373,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L577-L579" + "specLocation": "indices/_types/IndexSettings.ts#L579-L581" }, { "kind": "interface", @@ -143955,7 +144395,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L581-L588" + "specLocation": "indices/_types/IndexSettings.ts#L583-L590" }, { "kind": "interface", @@ -144009,7 +144449,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L590-L595" + "specLocation": "indices/_types/IndexSettings.ts#L592-L597" }, { "kind": "interface", @@ -144033,7 +144473,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L597-L604" + "specLocation": "indices/_types/IndexSettings.ts#L599-L606" }, { "kind": "enum", @@ -145319,9 +145759,21 @@ "namespace": "_builtins" } } + }, + { + "description": "How often store statistics are refreshed", + "name": "stats_refresh_interval", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } } ], - "specLocation": "indices/_types/IndexSettings.ts#L536-L545" + "specLocation": "indices/_types/IndexSettings.ts#L536-L547" }, { "kind": "enum", @@ -145348,7 +145800,7 @@ "name": "StorageType", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L547-L575" + "specLocation": "indices/_types/IndexSettings.ts#L549-L577" }, { "kind": "interface", @@ -151510,6 +151962,10 @@ } } ], + "meta": { + "description": "The index aliases", + "fieldname": "aliases" + }, "type": { "name": "AdditionalProperties", "namespace": "_spec_utils" @@ -151544,7 +152000,7 @@ } } ], - "specLocation": "indices/get_alias/_types/response.ts#L28-L33" + "specLocation": "indices/get_alias/_types/response.ts#L28-L36" }, { "kind": "interface", @@ -214818,7 +215274,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L144-L146" + "specLocation": "nodes/info/types.ts#L154-L156" }, { "kind": "interface", @@ -214883,6 +215339,28 @@ } } }, + { + "name": "component_versions", + "required": true, + "type": { + "kind": "dictionary_of", + "key": { + "kind": "instance_of", + "type": { + "name": "Name", + "namespace": "_types" + } + }, + "singleKey": false, + "value": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } + } + }, { "description": "The node’s host name.", "name": "host", @@ -214906,6 +215384,17 @@ } } }, + { + "name": "index_version", + "required": true, + "type": { + "kind": "instance_of", + "type": { + "name": "VersionNumber", + "namespace": "_types" + } + } + }, { "description": "The node’s IP address.", "name": "ip", @@ -214941,17 +215430,6 @@ } } }, - { - "name": "network", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "NodeInfoNetwork", - "namespace": "nodes.info" - } - } - }, { "name": "os", "required": false, @@ -215081,6 +215559,17 @@ } } }, + { + "name": "transport_version", + "required": true, + "type": { + "kind": "instance_of", + "type": { + "name": "VersionNumber", + "namespace": "_types" + } + } + }, { "description": "Elasticsearch version running on this node.", "name": "version", @@ -215139,9 +215628,20 @@ } } } + }, + { + "name": "remote_cluster_server", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "RemoveClusterServer", + "namespace": "nodes.info" + } + } } ], - "specLocation": "nodes/info/types.ts#L31-L67" + "specLocation": "nodes/info/types.ts#L32-L72" }, { "kind": "interface", @@ -215162,7 +215662,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L184-L186" + "specLocation": "nodes/info/types.ts#L194-L196" }, { "kind": "interface", @@ -215186,7 +215686,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L235-L237" + "specLocation": "nodes/info/types.ts#L250-L252" }, { "kind": "interface", @@ -215207,7 +215707,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L204-L206" + "specLocation": "nodes/info/types.ts#L214-L216" }, { "kind": "interface", @@ -215228,7 +215728,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L188-L190" + "specLocation": "nodes/info/types.ts#L198-L200" }, { "kind": "interface", @@ -215268,14 +215768,26 @@ "name": "seed_hosts", "required": false, "type": { - "kind": "array_of", - "value": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" + "kind": "union_of", + "items": [ + { + "kind": "array_of", + "value": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + }, + { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } } - } + ] } }, { @@ -215304,7 +215816,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L173-L182" + "specLocation": "nodes/info/types.ts#L183-L192" }, { "kind": "interface", @@ -215361,7 +215873,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L311-L316" + "specLocation": "nodes/info/types.ts#L326-L331" }, { "kind": "interface", @@ -215385,7 +215897,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L227-L229" + "specLocation": "nodes/info/types.ts#L242-L244" }, { "kind": "interface", @@ -215406,7 +215918,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L128-L130" + "specLocation": "nodes/info/types.ts#L138-L140" }, { "kind": "interface", @@ -215427,7 +215939,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L124-L126" + "specLocation": "nodes/info/types.ts#L134-L136" }, { "kind": "interface", @@ -215448,7 +215960,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L231-L233" + "specLocation": "nodes/info/types.ts#L246-L248" }, { "kind": "interface", @@ -215568,7 +216080,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L318-L329" + "specLocation": "nodes/info/types.ts#L333-L344" }, { "kind": "interface", @@ -215600,82 +216112,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L331-L334" - }, - { - "kind": "interface", - "name": { - "name": "NodeInfoNetwork", - "namespace": "nodes.info" - }, - "properties": [ - { - "name": "primary_interface", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "NodeInfoNetworkInterface", - "namespace": "nodes.info" - } - } - }, - { - "name": "refresh_interval", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "integer", - "namespace": "_types" - } - } - } - ], - "specLocation": "nodes/info/types.ts#L336-L339" - }, - { - "kind": "interface", - "name": { - "name": "NodeInfoNetworkInterface", - "namespace": "nodes.info" - }, - "properties": [ - { - "name": "address", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } - }, - { - "name": "mac_address", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } - }, - { - "name": "name", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "Name", - "namespace": "_types" - } - } - } - ], - "specLocation": "nodes/info/types.ts#L341-L345" + "specLocation": "nodes/info/types.ts#L346-L349" }, { "kind": "interface", @@ -215773,7 +216210,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L347-L356" + "specLocation": "nodes/info/types.ts#L351-L360" }, { "kind": "interface", @@ -215845,7 +216282,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L158-L163" + "specLocation": "nodes/info/types.ts#L168-L173" }, { "kind": "interface", @@ -215866,7 +216303,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L165-L167" + "specLocation": "nodes/info/types.ts#L175-L177" }, { "kind": "interface", @@ -215887,7 +216324,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L169-L171" + "specLocation": "nodes/info/types.ts#L179-L181" }, { "kind": "interface", @@ -215919,7 +216356,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L289-L292" + "specLocation": "nodes/info/types.ts#L304-L307" }, { "kind": "interface", @@ -215940,7 +216377,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L294-L296" + "specLocation": "nodes/info/types.ts#L309-L311" }, { "kind": "interface", @@ -215961,7 +216398,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L298-L300" + "specLocation": "nodes/info/types.ts#L313-L315" }, { "kind": "interface", @@ -216136,7 +216573,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L69-L85" + "specLocation": "nodes/info/types.ts#L79-L95" }, { "kind": "interface", @@ -216182,14 +216619,26 @@ "name": "initial_master_nodes", "required": false, "type": { - "kind": "array_of", - "value": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" + "kind": "union_of", + "items": [ + { + "kind": "array_of", + "value": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + }, + { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } } - } + ] } }, { @@ -216210,7 +216659,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L132-L142" + "specLocation": "nodes/info/types.ts#L142-L152" }, { "kind": "interface", @@ -216231,7 +216680,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L148-L150" + "specLocation": "nodes/info/types.ts#L158-L160" }, { "kind": "interface", @@ -216309,7 +216758,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L192-L197" + "specLocation": "nodes/info/types.ts#L202-L207" }, { "kind": "interface", @@ -216331,7 +216780,7 @@ } ], "shortcutProperty": "default", - "specLocation": "nodes/info/types.ts#L199-L202" + "specLocation": "nodes/info/types.ts#L209-L212" }, { "kind": "interface", @@ -216715,7 +217164,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L87-L122" + "specLocation": "nodes/info/types.ts#L97-L132" }, { "kind": "interface", @@ -216751,7 +217200,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L223-L225" + "specLocation": "nodes/info/types.ts#L238-L240" }, { "kind": "interface", @@ -216801,7 +217250,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L152-L156" + "specLocation": "nodes/info/types.ts#L162-L166" }, { "kind": "interface", @@ -216842,9 +217291,35 @@ "namespace": "nodes.info" } } + }, + { + "availability": { + "stack": { + "visibility": "private" + } + }, + "description": "Only used in unit tests", + "name": "ignore_deserialization_errors", + "required": false, + "type": { + "kind": "instance_of", + "generics": [ + { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + ], + "type": { + "name": "Stringified", + "namespace": "_spec_utils" + } + } } ], - "specLocation": "nodes/info/types.ts#L208-L212" + "specLocation": "nodes/info/types.ts#L218-L227" }, { "kind": "interface", @@ -216865,7 +217340,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L219-L221" + "specLocation": "nodes/info/types.ts#L234-L236" }, { "kind": "interface", @@ -216887,7 +217362,7 @@ } ], "shortcutProperty": "default", - "specLocation": "nodes/info/types.ts#L214-L217" + "specLocation": "nodes/info/types.ts#L229-L232" }, { "kind": "interface", @@ -216944,7 +217419,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L358-L362" + "specLocation": "nodes/info/types.ts#L362-L366" }, { "kind": "interface", @@ -217005,7 +217480,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L239-L244" + "specLocation": "nodes/info/types.ts#L254-L259" }, { "kind": "interface", @@ -217026,7 +217501,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L281-L283" + "specLocation": "nodes/info/types.ts#L296-L298" }, { "kind": "interface", @@ -217047,7 +217522,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L285-L287" + "specLocation": "nodes/info/types.ts#L300-L302" }, { "kind": "interface", @@ -217068,7 +217543,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L253-L255" + "specLocation": "nodes/info/types.ts#L268-L270" }, { "kind": "interface", @@ -217122,7 +217597,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L246-L251" + "specLocation": "nodes/info/types.ts#L261-L266" }, { "kind": "interface", @@ -217154,7 +217629,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L261-L264" + "specLocation": "nodes/info/types.ts#L276-L279" }, { "kind": "interface", @@ -217230,7 +217705,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L266-L270" + "specLocation": "nodes/info/types.ts#L281-L285" }, { "kind": "interface", @@ -217262,7 +217737,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L276-L279" + "specLocation": "nodes/info/types.ts#L291-L294" }, { "kind": "interface", @@ -217283,7 +217758,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L272-L274" + "specLocation": "nodes/info/types.ts#L287-L289" }, { "kind": "interface", @@ -217315,7 +217790,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L257-L259" + "specLocation": "nodes/info/types.ts#L272-L274" }, { "kind": "interface", @@ -217439,9 +217914,6 @@ } }, { - "aliases": [ - "bundled_jdk" - ], "name": "using_bundled_jdk", "required": true, "type": { @@ -217490,7 +217962,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L364-L378" + "specLocation": "nodes/info/types.ts#L368-L381" }, { "kind": "interface", @@ -217625,7 +218097,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L380-L397" + "specLocation": "nodes/info/types.ts#L383-L400" }, { "kind": "interface", @@ -217680,7 +218152,7 @@ } } ], - "specLocation": "nodes/info/types.ts#L399-L406" + "specLocation": "nodes/info/types.ts#L402-L409" }, { "kind": "interface", @@ -217756,7 +218228,42 @@ } } ], - "specLocation": "nodes/info/types.ts#L302-L309" + "specLocation": "nodes/info/types.ts#L317-L324" + }, + { + "kind": "interface", + "name": { + "name": "RemoveClusterServer", + "namespace": "nodes.info" + }, + "properties": [ + { + "name": "bound_address", + "required": true, + "type": { + "kind": "array_of", + "value": { + "kind": "instance_of", + "type": { + "name": "TransportAddress", + "namespace": "_types" + } + } + } + }, + { + "name": "publish_address", + "required": true, + "type": { + "kind": "instance_of", + "type": { + "name": "TransportAddress", + "namespace": "_types" + } + } + } + ], + "specLocation": "nodes/info/types.ts#L74-L77" }, { "kind": "request", diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index e9b82aef0b..829c2c8dc3 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -55,12 +55,6 @@ ], "response": [] }, - "indices.get_alias": { - "request": [], - "response": [ - "interface definition indices.get_alias._types:NotFoundAliases / Behaviors - AdditionalProperties behavior for type 'indices.get_alias._types:NotFoundAliases' requires a 'behavior_meta' decorator with exactly 2 arguments (fieldname, description)" - ] - }, "ingest.get_ip_location_database": { "request": [ "Request: query parameter 'master_timeout' does not exist in the json spec" diff --git a/output/typescript/types.ts b/output/typescript/types.ts index b9c9713c23..8746dcd8f9 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -4516,6 +4516,10 @@ export interface AnalysisArabicNormalizationTokenFilter extends AnalysisTokenFil type: 'arabic_normalization' } +export interface AnalysisArabicStemTokenFilter extends AnalysisTokenFilterBase { + type: 'arabic_stem' +} + export interface AnalysisArmenianAnalyzer { type: 'armenian' stopwords?: AnalysisStopWords @@ -4542,12 +4546,20 @@ export interface AnalysisBengaliAnalyzer { stem_exclusion?: string[] } +export interface AnalysisBengaliNormalizationTokenFilter extends AnalysisTokenFilterBase { + type: 'bengali_normalization' +} + export interface AnalysisBrazilianAnalyzer { type: 'brazilian' stopwords?: AnalysisStopWords stopwords_path?: string } +export interface AnalysisBrazilianStemTokenFilter extends AnalysisTokenFilterBase { + type: 'brazilian_stem' +} + export interface AnalysisBulgarianAnalyzer { type: 'bulgarian' stopwords?: AnalysisStopWords @@ -4654,6 +4666,10 @@ export interface AnalysisCzechAnalyzer { stem_exclusion?: string[] } +export interface AnalysisCzechStemTokenFilter extends AnalysisTokenFilterBase { + type: 'czech_stem' +} + export interface AnalysisDanishAnalyzer { type: 'danish' stopwords?: AnalysisStopWords @@ -4683,6 +4699,10 @@ export interface AnalysisDutchAnalyzer { stem_exclusion?: string[] } +export interface AnalysisDutchStemTokenFilter extends AnalysisTokenFilterBase { + type: 'dutch_stem' +} + export type AnalysisEdgeNGramSide = 'front' | 'back' export interface AnalysisEdgeNGramTokenFilter extends AnalysisTokenFilterBase { @@ -4698,7 +4718,7 @@ export interface AnalysisEdgeNGramTokenizer extends AnalysisTokenizerBase { custom_token_chars?: string max_gram?: integer min_gram?: integer - token_chars?: AnalysisTokenChar[] + token_chars?: string | AnalysisTokenChar[] } export interface AnalysisElisionTokenFilter extends AnalysisTokenFilterBase { @@ -4754,6 +4774,10 @@ export interface AnalysisFrenchAnalyzer { stem_exclusion?: string[] } +export interface AnalysisFrenchStemTokenFilter extends AnalysisTokenFilterBase { + type: 'french_stem' +} + export interface AnalysisGalicianAnalyzer { type: 'galician' stopwords?: AnalysisStopWords @@ -4772,6 +4796,10 @@ export interface AnalysisGermanNormalizationTokenFilter extends AnalysisTokenFil type: 'german_normalization' } +export interface AnalysisGermanStemTokenFilter extends AnalysisTokenFilterBase { + type: 'german_stem' +} + export interface AnalysisGreekAnalyzer { type: 'greek' stopwords?: AnalysisStopWords @@ -4835,16 +4863,16 @@ export type AnalysisIcuCollationStrength = 'primary' | 'secondary' | 'tertiary' export interface AnalysisIcuCollationTokenFilter extends AnalysisTokenFilterBase { type: 'icu_collation' alternate?: AnalysisIcuCollationAlternate - case_first?: AnalysisIcuCollationCaseFirst - case_level?: boolean + caseFirst?: AnalysisIcuCollationCaseFirst + caseLevel?: boolean country?: string decomposition?: AnalysisIcuCollationDecomposition - hiragana_quaternary_mode?: boolean + hiraganaQuaternaryMode?: boolean language?: string numeric?: boolean rules?: string strength?: AnalysisIcuCollationStrength - variable_top?: string + variableTop?: string variant?: string } @@ -5140,6 +5168,7 @@ export interface AnalysisPatternReplaceCharFilter extends AnalysisCharFilterBase export interface AnalysisPatternReplaceTokenFilter extends AnalysisTokenFilterBase { type: 'pattern_replace' all?: boolean + flags?: string pattern: string replacement?: string } @@ -5161,6 +5190,10 @@ export interface AnalysisPersianNormalizationTokenFilter extends AnalysisTokenFi type: 'persian_normalization' } +export interface AnalysisPersianStemTokenFilter extends AnalysisTokenFilterBase { + type: 'persian_stem' +} + export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff' export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish' @@ -5217,6 +5250,10 @@ export interface AnalysisRussianAnalyzer { stem_exclusion?: string[] } +export interface AnalysisRussianStemTokenFilter extends AnalysisTokenFilterBase { + type: 'russian_stem' +} + export interface AnalysisScandinavianFoldingTokenFilter extends AnalysisTokenFilterBase { type: 'scandinavian_folding' } @@ -5382,7 +5419,7 @@ export interface AnalysisTokenFilterBase { version?: VersionString } -export type AnalysisTokenFilterDefinition = AnalysisApostropheTokenFilter | AnalysisArabicNormalizationTokenFilter | AnalysisAsciiFoldingTokenFilter | AnalysisCjkBigramTokenFilter | AnalysisCjkWidthTokenFilter | AnalysisClassicTokenFilter | AnalysisCommonGramsTokenFilter | AnalysisConditionTokenFilter | AnalysisDecimalDigitTokenFilter | AnalysisDelimitedPayloadTokenFilter | AnalysisEdgeNGramTokenFilter | AnalysisElisionTokenFilter | AnalysisFingerprintTokenFilter | AnalysisFlattenGraphTokenFilter | AnalysisGermanNormalizationTokenFilter | AnalysisHindiNormalizationTokenFilter | AnalysisHunspellTokenFilter | AnalysisHyphenationDecompounderTokenFilter | AnalysisIndicNormalizationTokenFilter | AnalysisKeepTypesTokenFilter | AnalysisKeepWordsTokenFilter | AnalysisKeywordMarkerTokenFilter | AnalysisKeywordRepeatTokenFilter | AnalysisKStemTokenFilter | AnalysisLengthTokenFilter | AnalysisLimitTokenCountTokenFilter | AnalysisLowercaseTokenFilter | AnalysisMinHashTokenFilter | AnalysisMultiplexerTokenFilter | AnalysisNGramTokenFilter | AnalysisNoriPartOfSpeechTokenFilter | AnalysisPatternCaptureTokenFilter | AnalysisPatternReplaceTokenFilter | AnalysisPersianNormalizationTokenFilter | AnalysisPorterStemTokenFilter | AnalysisPredicateTokenFilter | AnalysisRemoveDuplicatesTokenFilter | AnalysisReverseTokenFilter | AnalysisScandinavianFoldingTokenFilter | AnalysisScandinavianNormalizationTokenFilter | AnalysisSerbianNormalizationTokenFilter | AnalysisShingleTokenFilter | AnalysisSnowballTokenFilter | AnalysisSoraniNormalizationTokenFilter | AnalysisStemmerOverrideTokenFilter | AnalysisStemmerTokenFilter | AnalysisStopTokenFilter | AnalysisSynonymGraphTokenFilter | AnalysisSynonymTokenFilter | AnalysisTrimTokenFilter | AnalysisTruncateTokenFilter | AnalysisUniqueTokenFilter | AnalysisUppercaseTokenFilter | AnalysisWordDelimiterGraphTokenFilter | AnalysisWordDelimiterTokenFilter | AnalysisJaStopTokenFilter | AnalysisKuromojiStemmerTokenFilter | AnalysisKuromojiReadingFormTokenFilter | AnalysisKuromojiPartOfSpeechTokenFilter | AnalysisIcuCollationTokenFilter | AnalysisIcuFoldingTokenFilter | AnalysisIcuNormalizationTokenFilter | AnalysisIcuTransformTokenFilter | AnalysisPhoneticTokenFilter | AnalysisDictionaryDecompounderTokenFilter +export type AnalysisTokenFilterDefinition = AnalysisApostropheTokenFilter | AnalysisArabicStemTokenFilter | AnalysisArabicNormalizationTokenFilter | AnalysisAsciiFoldingTokenFilter | AnalysisBengaliNormalizationTokenFilter | AnalysisBrazilianStemTokenFilter | AnalysisCjkBigramTokenFilter | AnalysisCjkWidthTokenFilter | AnalysisClassicTokenFilter | AnalysisCommonGramsTokenFilter | AnalysisConditionTokenFilter | AnalysisCzechStemTokenFilter | AnalysisDecimalDigitTokenFilter | AnalysisDelimitedPayloadTokenFilter | AnalysisDutchStemTokenFilter | AnalysisEdgeNGramTokenFilter | AnalysisElisionTokenFilter | AnalysisFingerprintTokenFilter | AnalysisFlattenGraphTokenFilter | AnalysisFrenchStemTokenFilter | AnalysisGermanNormalizationTokenFilter | AnalysisGermanStemTokenFilter | AnalysisHindiNormalizationTokenFilter | AnalysisHunspellTokenFilter | AnalysisHyphenationDecompounderTokenFilter | AnalysisIndicNormalizationTokenFilter | AnalysisKeepTypesTokenFilter | AnalysisKeepWordsTokenFilter | AnalysisKeywordMarkerTokenFilter | AnalysisKeywordRepeatTokenFilter | AnalysisKStemTokenFilter | AnalysisLengthTokenFilter | AnalysisLimitTokenCountTokenFilter | AnalysisLowercaseTokenFilter | AnalysisMinHashTokenFilter | AnalysisMultiplexerTokenFilter | AnalysisNGramTokenFilter | AnalysisNoriPartOfSpeechTokenFilter | AnalysisPatternCaptureTokenFilter | AnalysisPatternReplaceTokenFilter | AnalysisPersianNormalizationTokenFilter | AnalysisPersianStemTokenFilter | AnalysisPorterStemTokenFilter | AnalysisPredicateTokenFilter | AnalysisRemoveDuplicatesTokenFilter | AnalysisReverseTokenFilter | AnalysisRussianStemTokenFilter | AnalysisScandinavianFoldingTokenFilter | AnalysisScandinavianNormalizationTokenFilter | AnalysisSerbianNormalizationTokenFilter | AnalysisShingleTokenFilter | AnalysisSnowballTokenFilter | AnalysisSoraniNormalizationTokenFilter | AnalysisStemmerOverrideTokenFilter | AnalysisStemmerTokenFilter | AnalysisStopTokenFilter | AnalysisSynonymGraphTokenFilter | AnalysisSynonymTokenFilter | AnalysisTrimTokenFilter | AnalysisTruncateTokenFilter | AnalysisUniqueTokenFilter | AnalysisUppercaseTokenFilter | AnalysisWordDelimiterGraphTokenFilter | AnalysisWordDelimiterTokenFilter | AnalysisJaStopTokenFilter | AnalysisKuromojiStemmerTokenFilter | AnalysisKuromojiReadingFormTokenFilter | AnalysisKuromojiPartOfSpeechTokenFilter | AnalysisIcuCollationTokenFilter | AnalysisIcuFoldingTokenFilter | AnalysisIcuNormalizationTokenFilter | AnalysisIcuTransformTokenFilter | AnalysisPhoneticTokenFilter | AnalysisDictionaryDecompounderTokenFilter export type AnalysisTokenizer = string | AnalysisTokenizerDefinition @@ -5461,6 +5498,7 @@ export interface AnalysisWordDelimiterTokenFilterBase extends AnalysisTokenFilte export interface MappingAggregateMetricDoubleProperty extends MappingPropertyBase { type: 'aggregate_metric_double' default_metric: string + ignore_malformed?: boolean metrics: string[] time_series_metric?: MappingTimeSeriesMetricType } @@ -5676,6 +5714,7 @@ export interface MappingFlattenedProperty extends MappingPropertyBase { null_value?: string similarity?: string split_queries_on_whitespace?: boolean + time_series_dimensions?: string[] type: 'flattened' } @@ -5690,6 +5729,8 @@ export interface MappingFloatRangeProperty extends MappingRangePropertyBase { export type MappingGeoOrientation = 'right' | 'RIGHT' | 'counterclockwise' | 'ccw' | 'left' | 'LEFT' | 'clockwise' | 'cw' +export type MappingGeoPointMetricType = 'gauge' | 'counter' | 'position' + export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase { ignore_malformed?: boolean ignore_z_value?: boolean @@ -5698,6 +5739,7 @@ export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase { on_script_error?: MappingOnScriptError script?: Script | ScriptSource type: 'geo_point' + time_series_metric?: MappingGeoPointMetricType } export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase { @@ -5860,7 +5902,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase { type: 'point' } -export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingPassthroughObjectProperty | MappingSemanticTextProperty | MappingSparseVectorProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingCountedKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty | MappingIcuCollationProperty +export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingPassthroughObjectProperty | MappingRankVectorProperty | MappingSemanticTextProperty | MappingSparseVectorProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingCountedKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty | MappingIcuCollationProperty export interface MappingPropertyBase { meta?: Record @@ -5887,6 +5929,14 @@ export interface MappingRankFeaturesProperty extends MappingPropertyBase { type: 'rank_features' } +export type MappingRankVectorElementType = 'byte' | 'float' | 'bit' + +export interface MappingRankVectorProperty extends MappingPropertyBase { + type: 'rank_vectors' + element_type?: MappingRankVectorElementType + dims?: integer +} + export interface MappingRoutingField { required: boolean } @@ -5967,6 +6017,7 @@ export interface MappingSourceField { export type MappingSourceFieldMode = 'disabled' | 'stored' | 'synthetic' export interface MappingSparseVectorProperty extends MappingPropertyBase { + store?: boolean type: 'sparse_vector' } @@ -11914,6 +11965,7 @@ export type IndicesSourceMode = 'disabled' | 'stored' | 'synthetic' export interface IndicesStorage { type: IndicesStorageType allow_mmap?: boolean + stats_refresh_interval?: Duration } export type IndicesStorageType = 'fs' | 'niofs' | 'mmapfs' | 'hybridfs'| string @@ -18420,12 +18472,13 @@ export interface NodesInfoNodeInfo { build_flavor: string build_hash: string build_type: string + component_versions: Record host: Host http?: NodesInfoNodeInfoHttp + index_version: VersionNumber ip: Ip jvm?: NodesInfoNodeJvmInfo name: Name - network?: NodesInfoNodeInfoNetwork os?: NodesInfoNodeOperatingSystemInfo plugins?: PluginStats[] process?: NodesInfoNodeProcessInfo @@ -18436,10 +18489,12 @@ export interface NodesInfoNodeInfo { total_indexing_buffer_in_bytes?: ByteSize transport?: NodesInfoNodeInfoTransport transport_address: TransportAddress + transport_version: VersionNumber version: VersionString modules?: PluginStats[] ingest?: NodesInfoNodeInfoIngest aggregations?: Record + remote_cluster_server?: NodesInfoRemoveClusterServer } export interface NodesInfoNodeInfoAction { @@ -18459,7 +18514,7 @@ export interface NodesInfoNodeInfoClient { } export interface NodesInfoNodeInfoDiscoverKeys { - seed_hosts?: string[] + seed_hosts?: string[] | string type?: string seed_providers?: string[] } @@ -18507,17 +18562,6 @@ export interface NodesInfoNodeInfoMemory { total_in_bytes: long } -export interface NodesInfoNodeInfoNetwork { - primary_interface: NodesInfoNodeInfoNetworkInterface - refresh_interval: integer -} - -export interface NodesInfoNodeInfoNetworkInterface { - address: string - mac_address: string - name: Name -} - export interface NodesInfoNodeInfoOSCPU { cache_size: string cache_size_in_bytes: integer @@ -18579,7 +18623,7 @@ export interface NodesInfoNodeInfoSettingsCluster { name: Name routing?: IndicesIndexRouting election: NodesInfoNodeInfoSettingsClusterElection - initial_master_nodes?: string[] + initial_master_nodes?: string[] | string deprecation_indexing?: NodesInfoDeprecationIndexing } @@ -18649,6 +18693,7 @@ export interface NodesInfoNodeInfoSettingsTransport { type: NodesInfoNodeInfoSettingsTransportType | string 'type.default'?: string features?: NodesInfoNodeInfoSettingsTransportFeatures + ignore_deserialization_errors?: SpecUtilsStringified } export interface NodesInfoNodeInfoSettingsTransportFeatures { @@ -18726,7 +18771,6 @@ export interface NodesInfoNodeJvmInfo { vm_vendor: string vm_version: VersionString using_bundled_jdk: boolean - bundled_jdk: boolean using_compressed_ordinary_object_pointers?: boolean | string input_arguments: string[] } @@ -18759,6 +18803,11 @@ export interface NodesInfoNodeThreadPoolInfo { type: string } +export interface NodesInfoRemoveClusterServer { + bound_address: TransportAddress[] + publish_address: TransportAddress +} + export interface NodesInfoRequest extends RequestBase { node_id?: NodeIds metric?: Metrics