diff --git a/compiler/package-lock.json b/compiler/package-lock.json index 193fc019e9..321b835fea 100644 --- a/compiler/package-lock.json +++ b/compiler/package-lock.json @@ -33,6 +33,7 @@ } }, "../compiler-rs/compiler-wasm-lib/pkg": { + "name": "compiler-wasm-lib", "version": "0.1.0" }, "node_modules/@babel/code-frame": { diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 851c32709f..c222db477c 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -74158,10 +74158,7 @@ }, "required": [ "type", - "encoder", - "languageset", - "name_type", - "rule_type" + "encoder" ] } ] diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 9ccf9e4ad2..cbc891245f 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -48320,10 +48320,7 @@ }, "required": [ "type", - "encoder", - "languageset", - "name_type", - "rule_type" + "encoder" ] } ] diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 52158a7a0a..72ee3b2a39 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -83402,7 +83402,7 @@ }, { "name": "languageset", - "required": true, + "required": false, "type": { "items": [ { @@ -83439,7 +83439,7 @@ }, { "name": "name_type", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -83461,7 +83461,7 @@ }, { "name": "rule_type", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { diff --git a/output/schema/schema.json b/output/schema/schema.json index 2078f77146..725ef42651 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -67849,7 +67849,7 @@ }, { "name": "languageset", - "required": true, + "required": false, "type": { "kind": "union_of", "items": [ @@ -67886,7 +67886,7 @@ }, { "name": "name_type", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -67908,7 +67908,7 @@ }, { "name": "rule_type", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index fb2ee45e73..9244dbcb29 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -4905,11 +4905,11 @@ export type AnalysisPhoneticRuleType = 'approx' | 'exact' export interface AnalysisPhoneticTokenFilter extends AnalysisTokenFilterBase { type: 'phonetic' encoder: AnalysisPhoneticEncoder - languageset: AnalysisPhoneticLanguage | AnalysisPhoneticLanguage[] + languageset?: AnalysisPhoneticLanguage | AnalysisPhoneticLanguage[] max_code_len?: integer - name_type: AnalysisPhoneticNameType + name_type?: AnalysisPhoneticNameType replace?: boolean - rule_type: AnalysisPhoneticRuleType + rule_type?: AnalysisPhoneticRuleType } export interface AnalysisPorterStemTokenFilter extends AnalysisTokenFilterBase { diff --git a/specification/_types/analysis/phonetic-plugin.ts b/specification/_types/analysis/phonetic-plugin.ts index 127b1c4b18..582dc9561d 100644 --- a/specification/_types/analysis/phonetic-plugin.ts +++ b/specification/_types/analysis/phonetic-plugin.ts @@ -64,9 +64,9 @@ export enum PhoneticRuleType { export class PhoneticTokenFilter extends TokenFilterBase { type: 'phonetic' encoder: PhoneticEncoder - languageset: PhoneticLanguage | PhoneticLanguage[] + languageset?: PhoneticLanguage | PhoneticLanguage[] max_code_len?: integer - name_type: PhoneticNameType + name_type?: PhoneticNameType replace?: boolean - rule_type: PhoneticRuleType + rule_type?: PhoneticRuleType }