From 569c1ad9a8eb2cf1384ab79139dbba93e0abb857 Mon Sep 17 00:00:00 2001 From: Rami <72725910+ramikg@users.noreply.github.com> Date: Tue, 19 Aug 2025 13:59:06 +0300 Subject: [PATCH] Add `sort` to DeleteByQueryRequest's body (#5143) (cherry picked from commit 380cde264abb10a286174f9710c4330b28d78550) --- .../_global/delete_by_query/DeleteByQueryRequest.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/_global/delete_by_query/DeleteByQueryRequest.ts b/specification/_global/delete_by_query/DeleteByQueryRequest.ts index 3c01f4b691..7d21c9abfe 100644 --- a/specification/_global/delete_by_query/DeleteByQueryRequest.ts +++ b/specification/_global/delete_by_query/DeleteByQueryRequest.ts @@ -31,6 +31,7 @@ import { float, long } from '@_types/Numeric' import { QueryContainer } from '@_types/query_dsl/abstractions' import { Operator } from '@_types/query_dsl/Operator' import { SlicedScroll } from '@_types/SlicedScroll' +import { Sort } from '@_types/sort' import { Duration } from '@_types/Time' /** @@ -310,5 +311,9 @@ export interface Request extends RequestBase { * Slice the request manually using the provided slice ID and total number of slices. */ slice?: SlicedScroll + /** + * A sort object that specifies the order of deleted documents. + */ + sort?: Sort } }