diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index a65665ed17..9b8cea87ce 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -57845,9 +57845,6 @@ { "$ref": "#/components/schemas/_types.analysis:KeywordAnalyzer" }, - { - "$ref": "#/components/schemas/_types.analysis:LanguageAnalyzer" - }, { "$ref": "#/components/schemas/_types.analysis:NoriAnalyzer" }, @@ -58087,79 +58084,6 @@ "type" ] }, - "_types.analysis:LanguageAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "language" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "language": { - "$ref": "#/components/schemas/_types.analysis:Language" - }, - "stem_exclusion": { - "type": "array", - "items": { - "type": "string" - } - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - }, - "stopwords_path": { - "type": "string" - } - }, - "required": [ - "type", - "language", - "stem_exclusion" - ] - }, - "_types.analysis:Language": { - "type": "string", - "enum": [ - "Arabic", - "Armenian", - "Basque", - "Brazilian", - "Bulgarian", - "Catalan", - "Chinese", - "Cjk", - "Czech", - "Danish", - "Dutch", - "English", - "Estonian", - "Finnish", - "French", - "Galician", - "German", - "Greek", - "Hindi", - "Hungarian", - "Indonesian", - "Irish", - "Italian", - "Latvian", - "Norwegian", - "Persian", - "Portuguese", - "Romanian", - "Russian", - "Sorani", - "Spanish", - "Swedish", - "Turkish", - "Thai" - ] - }, "_types.analysis:NoriAnalyzer": { "type": "object", "properties": { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 6f52756de7..da08b3dfb0 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -36378,9 +36378,6 @@ { "$ref": "#/components/schemas/_types.analysis:KeywordAnalyzer" }, - { - "$ref": "#/components/schemas/_types.analysis:LanguageAnalyzer" - }, { "$ref": "#/components/schemas/_types.analysis:NoriAnalyzer" }, @@ -36620,79 +36617,6 @@ "type" ] }, - "_types.analysis:LanguageAnalyzer": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "language" - ] - }, - "version": { - "$ref": "#/components/schemas/_types:VersionString" - }, - "language": { - "$ref": "#/components/schemas/_types.analysis:Language" - }, - "stem_exclusion": { - "type": "array", - "items": { - "type": "string" - } - }, - "stopwords": { - "$ref": "#/components/schemas/_types.analysis:StopWords" - }, - "stopwords_path": { - "type": "string" - } - }, - "required": [ - "type", - "language", - "stem_exclusion" - ] - }, - "_types.analysis:Language": { - "type": "string", - "enum": [ - "Arabic", - "Armenian", - "Basque", - "Brazilian", - "Bulgarian", - "Catalan", - "Chinese", - "Cjk", - "Czech", - "Danish", - "Dutch", - "English", - "Estonian", - "Finnish", - "French", - "Galician", - "German", - "Greek", - "Hindi", - "Hungarian", - "Indonesian", - "Irish", - "Italian", - "Latvian", - "Norwegian", - "Persian", - "Portuguese", - "Romanian", - "Russian", - "Sorani", - "Spanish", - "Swedish", - "Turkish", - "Thai" - ] - }, "_types.analysis:NoriAnalyzer": { "type": "object", "properties": { diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 3b59ba1cf9..5621257ce9 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -79852,7 +79852,7 @@ "name": "Analyzer", "namespace": "_types.analysis" }, - "specLocation": "_types/analysis/analyzers.ts#L437-L491", + "specLocation": "_types/analysis/analyzers.ts#L427-L480", "type": { "items": [ { @@ -79876,13 +79876,6 @@ "namespace": "_types.analysis" } }, - { - "kind": "instance_of", - "type": { - "name": "LanguageAnalyzer", - "namespace": "_types.analysis" - } - }, { "kind": "instance_of", "type": { @@ -80434,198 +80427,6 @@ ], "specLocation": "_types/analysis/analyzers.ts#L66-L70" }, - { - "kind": "interface", - "name": { - "name": "LanguageAnalyzer", - "namespace": "_types.analysis" - }, - "properties": [ - { - "name": "type", - "required": true, - "type": { - "kind": "literal_value", - "value": "language" - } - }, - { - "deprecation": { - "description": "", - "version": "7.14.0" - }, - "name": "version", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "VersionString", - "namespace": "_types" - } - } - }, - { - "name": "language", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "Language", - "namespace": "_types.analysis" - } - } - }, - { - "name": "stem_exclusion", - "required": true, - "type": { - "kind": "array_of", - "value": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } - } - }, - { - "name": "stopwords", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "StopWords", - "namespace": "_types.analysis" - } - } - }, - { - "name": "stopwords_path", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } - } - ], - "specLocation": "_types/analysis/analyzers.ts#L72-L80" - }, - { - "kind": "enum", - "members": [ - { - "name": "Arabic" - }, - { - "name": "Armenian" - }, - { - "name": "Basque" - }, - { - "name": "Brazilian" - }, - { - "name": "Bulgarian" - }, - { - "name": "Catalan" - }, - { - "name": "Chinese" - }, - { - "name": "Cjk" - }, - { - "name": "Czech" - }, - { - "name": "Danish" - }, - { - "name": "Dutch" - }, - { - "name": "English" - }, - { - "name": "Estonian" - }, - { - "name": "Finnish" - }, - { - "name": "French" - }, - { - "name": "Galician" - }, - { - "name": "German" - }, - { - "name": "Greek" - }, - { - "name": "Hindi" - }, - { - "name": "Hungarian" - }, - { - "name": "Indonesian" - }, - { - "name": "Irish" - }, - { - "name": "Italian" - }, - { - "name": "Latvian" - }, - { - "name": "Norwegian" - }, - { - "name": "Persian" - }, - { - "name": "Portuguese" - }, - { - "name": "Romanian" - }, - { - "name": "Russian" - }, - { - "name": "Sorani" - }, - { - "name": "Spanish" - }, - { - "name": "Swedish" - }, - { - "name": "Turkish" - }, - { - "name": "Thai" - } - ], - "name": { - "name": "Language", - "namespace": "_types.analysis" - }, - "specLocation": "_types/analysis/languages.ts#L20-L55" - }, { "kind": "interface", "name": { @@ -80693,7 +80494,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L333-L340" + "specLocation": "_types/analysis/analyzers.ts#L323-L330" }, { "kind": "enum", @@ -80808,7 +80609,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L342-L375" + "specLocation": "_types/analysis/analyzers.ts#L332-L365" }, { "kind": "interface", @@ -80841,7 +80642,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L377-L381" + "specLocation": "_types/analysis/analyzers.ts#L367-L371" }, { "kind": "interface", @@ -80897,7 +80698,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L392-L412" + "specLocation": "_types/analysis/analyzers.ts#L382-L402" }, { "kind": "interface", @@ -80955,7 +80756,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L414-L429" + "specLocation": "_types/analysis/analyzers.ts#L404-L419" }, { "kind": "interface", @@ -80988,7 +80789,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L431-L435" + "specLocation": "_types/analysis/analyzers.ts#L421-L425" }, { "kind": "interface", @@ -81177,7 +80978,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L384-L390" + "specLocation": "_types/analysis/analyzers.ts#L374-L380" }, { "kind": "enum", @@ -81253,7 +81054,7 @@ "name": "SnowballLanguage", "namespace": "_types.analysis" }, - "specLocation": "_types/analysis/languages.ts#L57-L80" + "specLocation": "_types/analysis/languages.ts#L20-L43" }, { "kind": "interface", @@ -81307,7 +81108,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L82-L87" + "specLocation": "_types/analysis/analyzers.ts#L72-L77" }, { "kind": "interface", @@ -81361,7 +81162,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L89-L94" + "specLocation": "_types/analysis/analyzers.ts#L79-L84" }, { "kind": "interface", @@ -81415,7 +81216,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L96-L101" + "specLocation": "_types/analysis/analyzers.ts#L86-L91" }, { "kind": "interface", @@ -81469,7 +81270,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L103-L108" + "specLocation": "_types/analysis/analyzers.ts#L93-L98" }, { "kind": "interface", @@ -81509,7 +81310,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L110-L114" + "specLocation": "_types/analysis/analyzers.ts#L100-L104" }, { "kind": "interface", @@ -81563,7 +81364,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L116-L121" + "specLocation": "_types/analysis/analyzers.ts#L106-L111" }, { "kind": "interface", @@ -81617,7 +81418,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L123-L128" + "specLocation": "_types/analysis/analyzers.ts#L113-L118" }, { "kind": "interface", @@ -81657,7 +81458,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L130-L134" + "specLocation": "_types/analysis/analyzers.ts#L120-L124" }, { "kind": "interface", @@ -81697,7 +81498,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L136-L140" + "specLocation": "_types/analysis/analyzers.ts#L126-L130" }, { "kind": "interface", @@ -81751,7 +81552,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L142-L147" + "specLocation": "_types/analysis/analyzers.ts#L132-L137" }, { "kind": "interface", @@ -81791,7 +81592,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L149-L153" + "specLocation": "_types/analysis/analyzers.ts#L139-L143" }, { "kind": "interface", @@ -81845,7 +81646,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L155-L160" + "specLocation": "_types/analysis/analyzers.ts#L145-L150" }, { "kind": "interface", @@ -81899,7 +81700,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L162-L167" + "specLocation": "_types/analysis/analyzers.ts#L152-L157" }, { "kind": "interface", @@ -81939,7 +81740,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L169-L173" + "specLocation": "_types/analysis/analyzers.ts#L159-L163" }, { "kind": "interface", @@ -81993,7 +81794,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L175-L180" + "specLocation": "_types/analysis/analyzers.ts#L165-L170" }, { "kind": "interface", @@ -82047,7 +81848,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L182-L187" + "specLocation": "_types/analysis/analyzers.ts#L172-L177" }, { "kind": "interface", @@ -82101,7 +81902,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L189-L194" + "specLocation": "_types/analysis/analyzers.ts#L179-L184" }, { "kind": "interface", @@ -82155,7 +81956,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L196-L201" + "specLocation": "_types/analysis/analyzers.ts#L186-L191" }, { "kind": "interface", @@ -82195,7 +81996,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L203-L207" + "specLocation": "_types/analysis/analyzers.ts#L193-L197" }, { "kind": "interface", @@ -82249,7 +82050,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L209-L214" + "specLocation": "_types/analysis/analyzers.ts#L199-L204" }, { "kind": "interface", @@ -82303,7 +82104,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L216-L221" + "specLocation": "_types/analysis/analyzers.ts#L206-L211" }, { "kind": "interface", @@ -82357,7 +82158,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L223-L228" + "specLocation": "_types/analysis/analyzers.ts#L213-L218" }, { "kind": "interface", @@ -82411,7 +82212,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L230-L235" + "specLocation": "_types/analysis/analyzers.ts#L220-L225" }, { "kind": "interface", @@ -82465,7 +82266,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L237-L242" + "specLocation": "_types/analysis/analyzers.ts#L227-L232" }, { "kind": "interface", @@ -82519,7 +82320,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L244-L249" + "specLocation": "_types/analysis/analyzers.ts#L234-L239" }, { "kind": "interface", @@ -82573,7 +82374,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L251-L256" + "specLocation": "_types/analysis/analyzers.ts#L241-L246" }, { "kind": "interface", @@ -82627,7 +82428,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L258-L263" + "specLocation": "_types/analysis/analyzers.ts#L248-L253" }, { "kind": "interface", @@ -82667,7 +82468,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L265-L269" + "specLocation": "_types/analysis/analyzers.ts#L255-L259" }, { "kind": "interface", @@ -82721,7 +82522,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L271-L276" + "specLocation": "_types/analysis/analyzers.ts#L261-L266" }, { "kind": "interface", @@ -82775,7 +82576,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L278-L283" + "specLocation": "_types/analysis/analyzers.ts#L268-L273" }, { "kind": "interface", @@ -82829,7 +82630,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L285-L290" + "specLocation": "_types/analysis/analyzers.ts#L275-L280" }, { "kind": "interface", @@ -82883,7 +82684,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L292-L297" + "specLocation": "_types/analysis/analyzers.ts#L282-L287" }, { "kind": "interface", @@ -82937,7 +82738,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L299-L304" + "specLocation": "_types/analysis/analyzers.ts#L289-L294" }, { "kind": "interface", @@ -82991,7 +82792,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L306-L311" + "specLocation": "_types/analysis/analyzers.ts#L296-L301" }, { "kind": "interface", @@ -83045,7 +82846,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L313-L318" + "specLocation": "_types/analysis/analyzers.ts#L303-L308" }, { "kind": "interface", @@ -83099,7 +82900,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L320-L325" + "specLocation": "_types/analysis/analyzers.ts#L310-L315" }, { "kind": "interface", @@ -83139,7 +82940,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L327-L331" + "specLocation": "_types/analysis/analyzers.ts#L317-L321" }, { "codegenNames": [ diff --git a/output/schema/schema.json b/output/schema/schema.json index 578dbd44dc..9503018aae 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -66926,7 +66926,7 @@ "name": "Analyzer", "namespace": "_types.analysis" }, - "specLocation": "_types/analysis/analyzers.ts#L437-L491", + "specLocation": "_types/analysis/analyzers.ts#L427-L480", "type": { "kind": "union_of", "items": [ @@ -66951,13 +66951,6 @@ "namespace": "_types.analysis" } }, - { - "kind": "instance_of", - "type": { - "name": "LanguageAnalyzer", - "namespace": "_types.analysis" - } - }, { "kind": "instance_of", "type": { @@ -67341,7 +67334,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L82-L87" + "specLocation": "_types/analysis/analyzers.ts#L72-L77" }, { "kind": "interface", @@ -67395,7 +67388,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L89-L94" + "specLocation": "_types/analysis/analyzers.ts#L79-L84" }, { "kind": "interface", @@ -67493,7 +67486,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L96-L101" + "specLocation": "_types/analysis/analyzers.ts#L86-L91" }, { "kind": "interface", @@ -67547,7 +67540,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L103-L108" + "specLocation": "_types/analysis/analyzers.ts#L93-L98" }, { "kind": "interface", @@ -67587,7 +67580,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L110-L114" + "specLocation": "_types/analysis/analyzers.ts#L100-L104" }, { "kind": "interface", @@ -67641,7 +67634,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L116-L121" + "specLocation": "_types/analysis/analyzers.ts#L106-L111" }, { "kind": "interface", @@ -67695,7 +67688,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L123-L128" + "specLocation": "_types/analysis/analyzers.ts#L113-L118" }, { "kind": "type_alias", @@ -67891,7 +67884,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L130-L134" + "specLocation": "_types/analysis/analyzers.ts#L120-L124" }, { "kind": "interface", @@ -67931,7 +67924,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L136-L140" + "specLocation": "_types/analysis/analyzers.ts#L126-L130" }, { "kind": "interface", @@ -68385,7 +68378,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L142-L147" + "specLocation": "_types/analysis/analyzers.ts#L132-L137" }, { "kind": "interface", @@ -68425,7 +68418,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L149-L153" + "specLocation": "_types/analysis/analyzers.ts#L139-L143" }, { "kind": "enum", @@ -68568,7 +68561,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L155-L160" + "specLocation": "_types/analysis/analyzers.ts#L145-L150" }, { "kind": "enum", @@ -68856,7 +68849,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L162-L167" + "specLocation": "_types/analysis/analyzers.ts#L152-L157" }, { "kind": "interface", @@ -68896,7 +68889,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L169-L173" + "specLocation": "_types/analysis/analyzers.ts#L159-L163" }, { "kind": "interface", @@ -69079,7 +69072,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L175-L180" + "specLocation": "_types/analysis/analyzers.ts#L165-L170" }, { "kind": "interface", @@ -69133,7 +69126,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L182-L187" + "specLocation": "_types/analysis/analyzers.ts#L172-L177" }, { "kind": "interface", @@ -69187,7 +69180,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L189-L194" + "specLocation": "_types/analysis/analyzers.ts#L179-L184" }, { "kind": "interface", @@ -69241,7 +69234,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L196-L201" + "specLocation": "_types/analysis/analyzers.ts#L186-L191" }, { "kind": "interface", @@ -69281,7 +69274,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L203-L207" + "specLocation": "_types/analysis/analyzers.ts#L193-L197" }, { "kind": "interface", @@ -69335,7 +69328,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L209-L214" + "specLocation": "_types/analysis/analyzers.ts#L199-L204" }, { "kind": "interface", @@ -69427,7 +69420,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L216-L221" + "specLocation": "_types/analysis/analyzers.ts#L206-L211" }, { "kind": "interface", @@ -70090,7 +70083,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L223-L228" + "specLocation": "_types/analysis/analyzers.ts#L213-L218" }, { "kind": "interface", @@ -70144,7 +70137,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L230-L235" + "specLocation": "_types/analysis/analyzers.ts#L220-L225" }, { "kind": "interface", @@ -70198,7 +70191,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L237-L242" + "specLocation": "_types/analysis/analyzers.ts#L227-L232" }, { "kind": "interface", @@ -70818,198 +70811,6 @@ ], "specLocation": "_types/analysis/kuromoji-plugin.ts#L58-L67" }, - { - "kind": "enum", - "members": [ - { - "name": "Arabic" - }, - { - "name": "Armenian" - }, - { - "name": "Basque" - }, - { - "name": "Brazilian" - }, - { - "name": "Bulgarian" - }, - { - "name": "Catalan" - }, - { - "name": "Chinese" - }, - { - "name": "Cjk" - }, - { - "name": "Czech" - }, - { - "name": "Danish" - }, - { - "name": "Dutch" - }, - { - "name": "English" - }, - { - "name": "Estonian" - }, - { - "name": "Finnish" - }, - { - "name": "French" - }, - { - "name": "Galician" - }, - { - "name": "German" - }, - { - "name": "Greek" - }, - { - "name": "Hindi" - }, - { - "name": "Hungarian" - }, - { - "name": "Indonesian" - }, - { - "name": "Irish" - }, - { - "name": "Italian" - }, - { - "name": "Latvian" - }, - { - "name": "Norwegian" - }, - { - "name": "Persian" - }, - { - "name": "Portuguese" - }, - { - "name": "Romanian" - }, - { - "name": "Russian" - }, - { - "name": "Sorani" - }, - { - "name": "Spanish" - }, - { - "name": "Swedish" - }, - { - "name": "Turkish" - }, - { - "name": "Thai" - } - ], - "name": { - "name": "Language", - "namespace": "_types.analysis" - }, - "specLocation": "_types/analysis/languages.ts#L20-L55" - }, - { - "kind": "interface", - "name": { - "name": "LanguageAnalyzer", - "namespace": "_types.analysis" - }, - "properties": [ - { - "name": "type", - "required": true, - "type": { - "kind": "literal_value", - "value": "language" - } - }, - { - "deprecation": { - "description": "", - "version": "7.14.0" - }, - "name": "version", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "VersionString", - "namespace": "_types" - } - } - }, - { - "name": "language", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "Language", - "namespace": "_types.analysis" - } - } - }, - { - "name": "stem_exclusion", - "required": true, - "type": { - "kind": "array_of", - "value": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } - } - }, - { - "name": "stopwords", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "StopWords", - "namespace": "_types.analysis" - } - } - }, - { - "name": "stopwords_path", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } - } - ], - "specLocation": "_types/analysis/analyzers.ts#L72-L80" - }, { "kind": "interface", "name": { @@ -71062,7 +70863,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L244-L249" + "specLocation": "_types/analysis/analyzers.ts#L234-L239" }, { "kind": "interface", @@ -71241,7 +71042,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L251-L256" + "specLocation": "_types/analysis/analyzers.ts#L241-L246" }, { "kind": "interface", @@ -71632,7 +71433,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L333-L340" + "specLocation": "_types/analysis/analyzers.ts#L323-L330" }, { "kind": "enum", @@ -71848,7 +71649,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L258-L263" + "specLocation": "_types/analysis/analyzers.ts#L248-L253" }, { "kind": "interface", @@ -72050,7 +71851,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L342-L375" + "specLocation": "_types/analysis/analyzers.ts#L332-L365" }, { "kind": "interface", @@ -72330,7 +72131,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L265-L269" + "specLocation": "_types/analysis/analyzers.ts#L255-L259" }, { "kind": "enum", @@ -72640,7 +72441,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L271-L276" + "specLocation": "_types/analysis/analyzers.ts#L261-L266" }, { "kind": "interface", @@ -72777,7 +72578,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L278-L283" + "specLocation": "_types/analysis/analyzers.ts#L268-L273" }, { "kind": "interface", @@ -72831,7 +72632,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L285-L290" + "specLocation": "_types/analysis/analyzers.ts#L275-L280" }, { "kind": "interface", @@ -72885,7 +72686,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L292-L297" + "specLocation": "_types/analysis/analyzers.ts#L282-L287" }, { "kind": "interface", @@ -73032,7 +72833,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L377-L381" + "specLocation": "_types/analysis/analyzers.ts#L367-L371" }, { "kind": "interface", @@ -73157,7 +72958,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L384-L390" + "specLocation": "_types/analysis/analyzers.ts#L374-L380" }, { "kind": "enum", @@ -73233,7 +73034,7 @@ "name": "SnowballLanguage", "namespace": "_types.analysis" }, - "specLocation": "_types/analysis/languages.ts#L57-L80" + "specLocation": "_types/analysis/languages.ts#L20-L43" }, { "kind": "interface", @@ -73322,7 +73123,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L299-L304" + "specLocation": "_types/analysis/analyzers.ts#L289-L294" }, { "kind": "interface", @@ -73376,7 +73177,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L306-L311" + "specLocation": "_types/analysis/analyzers.ts#L296-L301" }, { "kind": "interface", @@ -73432,7 +73233,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L392-L412" + "specLocation": "_types/analysis/analyzers.ts#L382-L402" }, { "kind": "interface", @@ -73612,7 +73413,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L414-L429" + "specLocation": "_types/analysis/analyzers.ts#L404-L419" }, { "kind": "interface", @@ -73765,7 +73566,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L313-L318" + "specLocation": "_types/analysis/analyzers.ts#L303-L308" }, { "kind": "enum", @@ -74051,7 +73852,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L327-L331" + "specLocation": "_types/analysis/analyzers.ts#L317-L321" }, { "kind": "interface", @@ -74815,7 +74616,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L320-L325" + "specLocation": "_types/analysis/analyzers.ts#L310-L315" }, { "kind": "interface", @@ -74942,7 +74743,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L431-L435" + "specLocation": "_types/analysis/analyzers.ts#L421-L425" }, { "kind": "interface", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 308527fa61..0b14cf8242 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -4468,7 +4468,7 @@ export interface AggregationsWeightedAverageValue { export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase { } -export type AnalysisAnalyzer = AnalysisCustomAnalyzer | AnalysisFingerprintAnalyzer | AnalysisKeywordAnalyzer | AnalysisLanguageAnalyzer | AnalysisNoriAnalyzer | AnalysisPatternAnalyzer | AnalysisSimpleAnalyzer | AnalysisStandardAnalyzer | AnalysisStopAnalyzer | AnalysisWhitespaceAnalyzer | AnalysisIcuAnalyzer | AnalysisKuromojiAnalyzer | AnalysisSnowballAnalyzer | AnalysisArabicAnalyzer | AnalysisArmenianAnalyzer | AnalysisBasqueAnalyzer | AnalysisBengaliAnalyzer | AnalysisBrazilianAnalyzer | AnalysisBulgarianAnalyzer | AnalysisCatalanAnalyzer | AnalysisChineseAnalyzer | AnalysisCjkAnalyzer | AnalysisCzechAnalyzer | AnalysisDanishAnalyzer | AnalysisDutchAnalyzer | AnalysisEnglishAnalyzer | AnalysisEstonianAnalyzer | AnalysisFinnishAnalyzer | AnalysisFrenchAnalyzer | AnalysisGalicianAnalyzer | AnalysisGermanAnalyzer | AnalysisGreekAnalyzer | AnalysisHindiAnalyzer | AnalysisHungarianAnalyzer | AnalysisIndonesianAnalyzer | AnalysisIrishAnalyzer | AnalysisItalianAnalyzer | AnalysisLatvianAnalyzer | AnalysisLithuanianAnalyzer | AnalysisNorwegianAnalyzer | AnalysisPersianAnalyzer | AnalysisPortugueseAnalyzer | AnalysisRomanianAnalyzer | AnalysisRussianAnalyzer | AnalysisSerbianAnalyzer | AnalysisSoraniAnalyzer | AnalysisSpanishAnalyzer | AnalysisSwedishAnalyzer | AnalysisTurkishAnalyzer | AnalysisThaiAnalyzer +export type AnalysisAnalyzer = AnalysisCustomAnalyzer | AnalysisFingerprintAnalyzer | AnalysisKeywordAnalyzer | AnalysisNoriAnalyzer | AnalysisPatternAnalyzer | AnalysisSimpleAnalyzer | AnalysisStandardAnalyzer | AnalysisStopAnalyzer | AnalysisWhitespaceAnalyzer | AnalysisIcuAnalyzer | AnalysisKuromojiAnalyzer | AnalysisSnowballAnalyzer | AnalysisArabicAnalyzer | AnalysisArmenianAnalyzer | AnalysisBasqueAnalyzer | AnalysisBengaliAnalyzer | AnalysisBrazilianAnalyzer | AnalysisBulgarianAnalyzer | AnalysisCatalanAnalyzer | AnalysisChineseAnalyzer | AnalysisCjkAnalyzer | AnalysisCzechAnalyzer | AnalysisDanishAnalyzer | AnalysisDutchAnalyzer | AnalysisEnglishAnalyzer | AnalysisEstonianAnalyzer | AnalysisFinnishAnalyzer | AnalysisFrenchAnalyzer | AnalysisGalicianAnalyzer | AnalysisGermanAnalyzer | AnalysisGreekAnalyzer | AnalysisHindiAnalyzer | AnalysisHungarianAnalyzer | AnalysisIndonesianAnalyzer | AnalysisIrishAnalyzer | AnalysisItalianAnalyzer | AnalysisLatvianAnalyzer | AnalysisLithuanianAnalyzer | AnalysisNorwegianAnalyzer | AnalysisPersianAnalyzer | AnalysisPortugueseAnalyzer | AnalysisRomanianAnalyzer | AnalysisRussianAnalyzer | AnalysisSerbianAnalyzer | AnalysisSoraniAnalyzer | AnalysisSpanishAnalyzer | AnalysisSwedishAnalyzer | AnalysisTurkishAnalyzer | AnalysisThaiAnalyzer export interface AnalysisArabicAnalyzer { type: 'arabic' @@ -4904,17 +4904,6 @@ export interface AnalysisKuromojiTokenizer extends AnalysisTokenizerBase { discard_compound_token?: boolean } -export type AnalysisLanguage = 'Arabic' | 'Armenian' | 'Basque' | 'Brazilian' | 'Bulgarian' | 'Catalan' | 'Chinese' | 'Cjk' | 'Czech' | 'Danish' | 'Dutch' | 'English' | 'Estonian' | 'Finnish' | 'French' | 'Galician' | 'German' | 'Greek' | 'Hindi' | 'Hungarian' | 'Indonesian' | 'Irish' | 'Italian' | 'Latvian' | 'Norwegian' | 'Persian' | 'Portuguese' | 'Romanian' | 'Russian' | 'Sorani' | 'Spanish' | 'Swedish' | 'Turkish' | 'Thai' - -export interface AnalysisLanguageAnalyzer { - type: 'language' - version?: VersionString - language: AnalysisLanguage - stem_exclusion: string[] - stopwords?: AnalysisStopWords - stopwords_path?: string -} - export interface AnalysisLatvianAnalyzer { type: 'latvian' stopwords?: AnalysisStopWords diff --git a/specification/_types/analysis/analyzers.ts b/specification/_types/analysis/analyzers.ts index 592ad25304..be757527e7 100644 --- a/specification/_types/analysis/analyzers.ts +++ b/specification/_types/analysis/analyzers.ts @@ -21,7 +21,7 @@ import { VersionString } from '@_types/common' import { integer } from '@_types/Numeric' import { IcuAnalyzer } from './icu-plugin' import { KuromojiAnalyzer } from './kuromoji-plugin' -import { Language, SnowballLanguage } from './languages' +import { SnowballLanguage } from './languages' import { NoriDecompoundMode } from './nori-plugin' import { StopWords } from './StopWords' @@ -69,16 +69,6 @@ export class KeywordAnalyzer { version?: VersionString } -export class LanguageAnalyzer { - type: 'language' - /** @deprecated 7.14.0 */ - version?: VersionString - language: Language - stem_exclusion: string[] - stopwords?: StopWords - stopwords_path?: string -} - export class ArabicAnalyzer { type: 'arabic' stopwords?: StopWords @@ -442,7 +432,6 @@ export type Analyzer = | CustomAnalyzer | FingerprintAnalyzer | KeywordAnalyzer - | LanguageAnalyzer | NoriAnalyzer | PatternAnalyzer | SimpleAnalyzer diff --git a/specification/_types/analysis/languages.ts b/specification/_types/analysis/languages.ts index 44a46b9bcb..427848a45d 100644 --- a/specification/_types/analysis/languages.ts +++ b/specification/_types/analysis/languages.ts @@ -17,43 +17,6 @@ * under the License. */ -export enum Language { - Arabic, - Armenian, - Basque, - Brazilian, - Bulgarian, - Catalan, - Chinese, - Cjk, - Czech, - Danish, - Dutch, - English, - Estonian, - Finnish, - French, - Galician, - German, - Greek, - Hindi, - Hungarian, - Indonesian, - Irish, - Italian, - Latvian, - Norwegian, - Persian, - Portuguese, - Romanian, - Russian, - Sorani, - Spanish, - Swedish, - Turkish, - Thai -} - export enum SnowballLanguage { Armenian, Basque,