From 830eb780709edee2c55690b364ca3be5113f336c Mon Sep 17 00:00:00 2001 From: Tejashribambal19 Date: Fri, 10 Jul 2026 13:45:24 +0530 Subject: [PATCH] Allow indexed_shape-only geo and xy shape queries --- spec/schemas/_common.query_dsl.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/spec/schemas/_common.query_dsl.yaml b/spec/schemas/_common.query_dsl.yaml index 9bd0b6ea0..56d58a4a7 100644 --- a/spec/schemas/_common.query_dsl.yaml +++ b/spec/schemas/_common.query_dsl.yaml @@ -806,8 +806,7 @@ components: $ref: '#/components/schemas/GeoShape' relation: $ref: '_common.yaml#/components/schemas/GeoShapeRelation' - required: - - shape + GeoShapeQuery: allOf: - $ref: '#/components/schemas/QueryBase' @@ -2260,8 +2259,7 @@ components: $ref: '#/components/schemas/XyShape' relation: $ref: '_common.yaml#/components/schemas/GeoShapeRelation' - required: - - shape + XyShapeQuery: x-version-added: '2.4' allOf: