diff --git a/output/schema/schema.json b/output/schema/schema.json index 0085a8e441..598fa8e769 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -79876,33 +79876,6 @@ "specLocation": "_types/query_dsl/term.ts#L264-L266" }, { - "attachedBehaviors": [ - "AdditionalProperty" - ], - "behaviors": [ - { - "generics": [ - { - "kind": "instance_of", - "type": { - "name": "Field", - "namespace": "_types" - } - }, - { - "kind": "instance_of", - "type": { - "name": "FieldValue", - "namespace": "_types" - } - } - ], - "type": { - "name": "AdditionalProperty", - "namespace": "_spec_utils" - } - } - ], "inherits": { "type": { "name": "QueryBase", @@ -79951,7 +79924,7 @@ } } ], - "specLocation": "_types/query_dsl/WeightedTokensQuery.ts#L27-L35" + "specLocation": "_types/query_dsl/WeightedTokensQuery.ts#L27-L34" }, { "inherits": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 45d7038b99..3e949e4ff1 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -6097,12 +6097,10 @@ export interface QueryDslTypeQuery extends QueryDslQueryBase { value: string } -export interface QueryDslWeightedTokensQueryKeys extends QueryDslQueryBase { +export interface QueryDslWeightedTokensQuery extends QueryDslQueryBase { tokens: Record pruning_config?: QueryDslTokenPruningConfig } -export type QueryDslWeightedTokensQuery = QueryDslWeightedTokensQueryKeys - & { [property: string]: FieldValue | Record | QueryDslTokenPruningConfig | float | string } export interface QueryDslWildcardQuery extends QueryDslQueryBase { case_insensitive?: boolean diff --git a/specification/_types/query_dsl/WeightedTokensQuery.ts b/specification/_types/query_dsl/WeightedTokensQuery.ts index 13263a072b..52883a91fe 100644 --- a/specification/_types/query_dsl/WeightedTokensQuery.ts +++ b/specification/_types/query_dsl/WeightedTokensQuery.ts @@ -26,7 +26,6 @@ import { float } from '@_types/Numeric' export class WeightedTokensQuery extends QueryBase - implements AdditionalProperty { /** The tokens representing this query */ tokens: Dictionary