From 0b7e43b5863619447905cd095269dcb757650171 Mon Sep 17 00:00:00 2001 From: dblock Date: Tue, 3 Sep 2024 18:00:51 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20opensear?= =?UTF-8?q?ch-project/opensearch-api-specification@147e77e366bb4bdc090d89e?= =?UTF-8?q?086182b4e7a24fe08=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- opensearch-openapi.yaml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/opensearch-openapi.yaml b/opensearch-openapi.yaml index 0abbed25..3917068f 100644 --- a/opensearch-openapi.yaml +++ b/opensearch-openapi.yaml @@ -38406,10 +38406,27 @@ components: type: boolean required: - value + _common.query_dsl:Terms: + oneOf: + - type: array + items: + type: string + - type: object + properties: + index: + $ref: '#/components/schemas/_common:IndexName' + id: + $ref: '#/components/schemas/_common:Id' + path: + $ref: '#/components/schemas/_common:Field' + routing: + $ref: '#/components/schemas/_common:Routing' + additionalProperties: true + description: Object for fetching terms. _common.query_dsl:TermsQuery: - allOf: + anyOf: - $ref: '#/components/schemas/_common.query_dsl:QueryBase' - - type: object + - $ref: '#/components/schemas/_common.query_dsl:Terms' _common.query_dsl:TermsSetQuery: allOf: - $ref: '#/components/schemas/_common.query_dsl:QueryBase' @@ -38420,10 +38437,7 @@ components: minimum_should_match_script: $ref: '#/components/schemas/_common:Script' terms: - description: Array of terms you wish to find in the provided field. - type: array - items: - type: string + $ref: '#/components/schemas/_common.query_dsl:Terms' required: - terms _common.query_dsl:TextExpansionQuery: