diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index e9ad3b198a..3213da4d4d 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -57850,9 +57850,6 @@ { "$ref": "#/components/schemas/_types.analysis:KeywordAnalyzer" }, - { - "$ref": "#/components/schemas/_types.analysis:LanguageAnalyzer" - }, { "$ref": "#/components/schemas/_types.analysis:NoriAnalyzer" }, @@ -58092,79 +58089,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 5e780027c5..0295fc22a8 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -36377,9 +36377,6 @@ { "$ref": "#/components/schemas/_types.analysis:KeywordAnalyzer" }, - { - "$ref": "#/components/schemas/_types.analysis:LanguageAnalyzer" - }, { "$ref": "#/components/schemas/_types.analysis:NoriAnalyzer" }, @@ -36619,79 +36616,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 28bc544d46..9181821efc 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -79707,7 +79707,7 @@ "name": "Analyzer", "namespace": "_types.analysis" }, - "specLocation": "_types/analysis/analyzers.ts#L437-L491", + "specLocation": "_types/analysis/analyzers.ts#L427-L480", "type": { "items": [ { @@ -79731,13 +79731,6 @@ "namespace": "_types.analysis" } }, - { - "kind": "instance_of", - "type": { - "name": "LanguageAnalyzer", - "namespace": "_types.analysis" - } - }, { "kind": "instance_of", "type": { @@ -80289,198 +80282,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": { @@ -80548,7 +80349,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L333-L340" + "specLocation": "_types/analysis/analyzers.ts#L323-L330" }, { "kind": "enum", @@ -80663,7 +80464,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L342-L375" + "specLocation": "_types/analysis/analyzers.ts#L332-L365" }, { "kind": "interface", @@ -80696,7 +80497,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L377-L381" + "specLocation": "_types/analysis/analyzers.ts#L367-L371" }, { "kind": "interface", @@ -80752,7 +80553,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L392-L412" + "specLocation": "_types/analysis/analyzers.ts#L382-L402" }, { "kind": "interface", @@ -80810,7 +80611,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L414-L429" + "specLocation": "_types/analysis/analyzers.ts#L404-L419" }, { "kind": "interface", @@ -80843,7 +80644,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L431-L435" + "specLocation": "_types/analysis/analyzers.ts#L421-L425" }, { "kind": "interface", @@ -81032,7 +80833,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L384-L390" + "specLocation": "_types/analysis/analyzers.ts#L374-L380" }, { "kind": "enum", @@ -81108,7 +80909,7 @@ "name": "SnowballLanguage", "namespace": "_types.analysis" }, - "specLocation": "_types/analysis/languages.ts#L57-L80" + "specLocation": "_types/analysis/languages.ts#L20-L43" }, { "kind": "interface", @@ -81162,7 +80963,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L82-L87" + "specLocation": "_types/analysis/analyzers.ts#L72-L77" }, { "kind": "interface", @@ -81216,7 +81017,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L89-L94" + "specLocation": "_types/analysis/analyzers.ts#L79-L84" }, { "kind": "interface", @@ -81270,7 +81071,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L96-L101" + "specLocation": "_types/analysis/analyzers.ts#L86-L91" }, { "kind": "interface", @@ -81324,7 +81125,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L103-L108" + "specLocation": "_types/analysis/analyzers.ts#L93-L98" }, { "kind": "interface", @@ -81364,7 +81165,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L110-L114" + "specLocation": "_types/analysis/analyzers.ts#L100-L104" }, { "kind": "interface", @@ -81418,7 +81219,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L116-L121" + "specLocation": "_types/analysis/analyzers.ts#L106-L111" }, { "kind": "interface", @@ -81472,7 +81273,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L123-L128" + "specLocation": "_types/analysis/analyzers.ts#L113-L118" }, { "kind": "interface", @@ -81512,7 +81313,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L130-L134" + "specLocation": "_types/analysis/analyzers.ts#L120-L124" }, { "kind": "interface", @@ -81552,7 +81353,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L136-L140" + "specLocation": "_types/analysis/analyzers.ts#L126-L130" }, { "kind": "interface", @@ -81606,7 +81407,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L142-L147" + "specLocation": "_types/analysis/analyzers.ts#L132-L137" }, { "kind": "interface", @@ -81646,7 +81447,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L149-L153" + "specLocation": "_types/analysis/analyzers.ts#L139-L143" }, { "kind": "interface", @@ -81700,7 +81501,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L155-L160" + "specLocation": "_types/analysis/analyzers.ts#L145-L150" }, { "kind": "interface", @@ -81754,7 +81555,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L162-L167" + "specLocation": "_types/analysis/analyzers.ts#L152-L157" }, { "kind": "interface", @@ -81794,7 +81595,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L169-L173" + "specLocation": "_types/analysis/analyzers.ts#L159-L163" }, { "kind": "interface", @@ -81848,7 +81649,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L175-L180" + "specLocation": "_types/analysis/analyzers.ts#L165-L170" }, { "kind": "interface", @@ -81902,7 +81703,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L182-L187" + "specLocation": "_types/analysis/analyzers.ts#L172-L177" }, { "kind": "interface", @@ -81956,7 +81757,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L189-L194" + "specLocation": "_types/analysis/analyzers.ts#L179-L184" }, { "kind": "interface", @@ -82010,7 +81811,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L196-L201" + "specLocation": "_types/analysis/analyzers.ts#L186-L191" }, { "kind": "interface", @@ -82050,7 +81851,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L203-L207" + "specLocation": "_types/analysis/analyzers.ts#L193-L197" }, { "kind": "interface", @@ -82104,7 +81905,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L209-L214" + "specLocation": "_types/analysis/analyzers.ts#L199-L204" }, { "kind": "interface", @@ -82158,7 +81959,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L216-L221" + "specLocation": "_types/analysis/analyzers.ts#L206-L211" }, { "kind": "interface", @@ -82212,7 +82013,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L223-L228" + "specLocation": "_types/analysis/analyzers.ts#L213-L218" }, { "kind": "interface", @@ -82266,7 +82067,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L230-L235" + "specLocation": "_types/analysis/analyzers.ts#L220-L225" }, { "kind": "interface", @@ -82320,7 +82121,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L237-L242" + "specLocation": "_types/analysis/analyzers.ts#L227-L232" }, { "kind": "interface", @@ -82374,7 +82175,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L244-L249" + "specLocation": "_types/analysis/analyzers.ts#L234-L239" }, { "kind": "interface", @@ -82428,7 +82229,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L251-L256" + "specLocation": "_types/analysis/analyzers.ts#L241-L246" }, { "kind": "interface", @@ -82482,7 +82283,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L258-L263" + "specLocation": "_types/analysis/analyzers.ts#L248-L253" }, { "kind": "interface", @@ -82522,7 +82323,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L265-L269" + "specLocation": "_types/analysis/analyzers.ts#L255-L259" }, { "kind": "interface", @@ -82576,7 +82377,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L271-L276" + "specLocation": "_types/analysis/analyzers.ts#L261-L266" }, { "kind": "interface", @@ -82630,7 +82431,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L278-L283" + "specLocation": "_types/analysis/analyzers.ts#L268-L273" }, { "kind": "interface", @@ -82684,7 +82485,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L285-L290" + "specLocation": "_types/analysis/analyzers.ts#L275-L280" }, { "kind": "interface", @@ -82738,7 +82539,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L292-L297" + "specLocation": "_types/analysis/analyzers.ts#L282-L287" }, { "kind": "interface", @@ -82792,7 +82593,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L299-L304" + "specLocation": "_types/analysis/analyzers.ts#L289-L294" }, { "kind": "interface", @@ -82846,7 +82647,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L306-L311" + "specLocation": "_types/analysis/analyzers.ts#L296-L301" }, { "kind": "interface", @@ -82900,7 +82701,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L313-L318" + "specLocation": "_types/analysis/analyzers.ts#L303-L308" }, { "kind": "interface", @@ -82954,7 +82755,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L320-L325" + "specLocation": "_types/analysis/analyzers.ts#L310-L315" }, { "kind": "interface", @@ -82994,7 +82795,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 15b7d638a6..2c78039785 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -66922,7 +66922,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": [ @@ -66947,13 +66947,6 @@ "namespace": "_types.analysis" } }, - { - "kind": "instance_of", - "type": { - "name": "LanguageAnalyzer", - "namespace": "_types.analysis" - } - }, { "kind": "instance_of", "type": { @@ -67337,7 +67330,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L82-L87" + "specLocation": "_types/analysis/analyzers.ts#L72-L77" }, { "kind": "interface", @@ -67391,7 +67384,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L89-L94" + "specLocation": "_types/analysis/analyzers.ts#L79-L84" }, { "kind": "interface", @@ -67489,7 +67482,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L96-L101" + "specLocation": "_types/analysis/analyzers.ts#L86-L91" }, { "kind": "interface", @@ -67543,7 +67536,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L103-L108" + "specLocation": "_types/analysis/analyzers.ts#L93-L98" }, { "kind": "interface", @@ -67583,7 +67576,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L110-L114" + "specLocation": "_types/analysis/analyzers.ts#L100-L104" }, { "kind": "interface", @@ -67637,7 +67630,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L116-L121" + "specLocation": "_types/analysis/analyzers.ts#L106-L111" }, { "kind": "interface", @@ -67691,7 +67684,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L123-L128" + "specLocation": "_types/analysis/analyzers.ts#L113-L118" }, { "kind": "type_alias", @@ -67887,7 +67880,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L130-L134" + "specLocation": "_types/analysis/analyzers.ts#L120-L124" }, { "kind": "interface", @@ -67927,7 +67920,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L136-L140" + "specLocation": "_types/analysis/analyzers.ts#L126-L130" }, { "kind": "interface", @@ -68381,7 +68374,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L142-L147" + "specLocation": "_types/analysis/analyzers.ts#L132-L137" }, { "kind": "interface", @@ -68421,7 +68414,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L149-L153" + "specLocation": "_types/analysis/analyzers.ts#L139-L143" }, { "kind": "enum", @@ -68564,7 +68557,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L155-L160" + "specLocation": "_types/analysis/analyzers.ts#L145-L150" }, { "kind": "enum", @@ -68852,7 +68845,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L162-L167" + "specLocation": "_types/analysis/analyzers.ts#L152-L157" }, { "kind": "interface", @@ -68892,7 +68885,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L169-L173" + "specLocation": "_types/analysis/analyzers.ts#L159-L163" }, { "kind": "interface", @@ -69075,7 +69068,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L175-L180" + "specLocation": "_types/analysis/analyzers.ts#L165-L170" }, { "kind": "interface", @@ -69129,7 +69122,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L182-L187" + "specLocation": "_types/analysis/analyzers.ts#L172-L177" }, { "kind": "interface", @@ -69183,7 +69176,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L189-L194" + "specLocation": "_types/analysis/analyzers.ts#L179-L184" }, { "kind": "interface", @@ -69237,7 +69230,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L196-L201" + "specLocation": "_types/analysis/analyzers.ts#L186-L191" }, { "kind": "interface", @@ -69277,7 +69270,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L203-L207" + "specLocation": "_types/analysis/analyzers.ts#L193-L197" }, { "kind": "interface", @@ -69331,7 +69324,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L209-L214" + "specLocation": "_types/analysis/analyzers.ts#L199-L204" }, { "kind": "interface", @@ -69423,7 +69416,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L216-L221" + "specLocation": "_types/analysis/analyzers.ts#L206-L211" }, { "kind": "interface", @@ -70086,7 +70079,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L223-L228" + "specLocation": "_types/analysis/analyzers.ts#L213-L218" }, { "kind": "interface", @@ -70140,7 +70133,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L230-L235" + "specLocation": "_types/analysis/analyzers.ts#L220-L225" }, { "kind": "interface", @@ -70194,7 +70187,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L237-L242" + "specLocation": "_types/analysis/analyzers.ts#L227-L232" }, { "kind": "interface", @@ -70814,198 +70807,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": { @@ -71058,7 +70859,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L244-L249" + "specLocation": "_types/analysis/analyzers.ts#L234-L239" }, { "kind": "interface", @@ -71237,7 +71038,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L251-L256" + "specLocation": "_types/analysis/analyzers.ts#L241-L246" }, { "kind": "interface", @@ -71628,7 +71429,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L333-L340" + "specLocation": "_types/analysis/analyzers.ts#L323-L330" }, { "kind": "enum", @@ -71844,7 +71645,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L258-L263" + "specLocation": "_types/analysis/analyzers.ts#L248-L253" }, { "kind": "interface", @@ -72046,7 +71847,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L342-L375" + "specLocation": "_types/analysis/analyzers.ts#L332-L365" }, { "kind": "interface", @@ -72326,7 +72127,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L265-L269" + "specLocation": "_types/analysis/analyzers.ts#L255-L259" }, { "kind": "enum", @@ -72636,7 +72437,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L271-L276" + "specLocation": "_types/analysis/analyzers.ts#L261-L266" }, { "kind": "interface", @@ -72773,7 +72574,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L278-L283" + "specLocation": "_types/analysis/analyzers.ts#L268-L273" }, { "kind": "interface", @@ -72827,7 +72628,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L285-L290" + "specLocation": "_types/analysis/analyzers.ts#L275-L280" }, { "kind": "interface", @@ -72881,7 +72682,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L292-L297" + "specLocation": "_types/analysis/analyzers.ts#L282-L287" }, { "kind": "interface", @@ -73028,7 +72829,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L377-L381" + "specLocation": "_types/analysis/analyzers.ts#L367-L371" }, { "kind": "interface", @@ -73153,7 +72954,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L384-L390" + "specLocation": "_types/analysis/analyzers.ts#L374-L380" }, { "kind": "enum", @@ -73229,7 +73030,7 @@ "name": "SnowballLanguage", "namespace": "_types.analysis" }, - "specLocation": "_types/analysis/languages.ts#L57-L80" + "specLocation": "_types/analysis/languages.ts#L20-L43" }, { "kind": "interface", @@ -73318,7 +73119,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L299-L304" + "specLocation": "_types/analysis/analyzers.ts#L289-L294" }, { "kind": "interface", @@ -73372,7 +73173,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L306-L311" + "specLocation": "_types/analysis/analyzers.ts#L296-L301" }, { "kind": "interface", @@ -73428,7 +73229,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L392-L412" + "specLocation": "_types/analysis/analyzers.ts#L382-L402" }, { "kind": "interface", @@ -73608,7 +73409,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L414-L429" + "specLocation": "_types/analysis/analyzers.ts#L404-L419" }, { "kind": "interface", @@ -73761,7 +73562,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L313-L318" + "specLocation": "_types/analysis/analyzers.ts#L303-L308" }, { "kind": "enum", @@ -74047,7 +73848,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L327-L331" + "specLocation": "_types/analysis/analyzers.ts#L317-L321" }, { "kind": "interface", @@ -74811,7 +74612,7 @@ } } ], - "specLocation": "_types/analysis/analyzers.ts#L320-L325" + "specLocation": "_types/analysis/analyzers.ts#L310-L315" }, { "kind": "interface", @@ -74938,7 +74739,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 ff6ab16b0d..8a3aad66b1 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,