From a4d953bd753744d3dc871eac0a198e6f4d1ef23d Mon Sep 17 00:00:00 2001 From: Laura Trotta <153528055+l-trotta@users.noreply.github.com> Date: Thu, 21 Aug 2025 14:30:59 +0200 Subject: [PATCH] Revert "Add `sort` to DeleteByQueryRequest's body (#5143)" (#5172) This reverts commit 380cde264abb10a286174f9710c4330b28d78550. (cherry picked from commit 00fe735e3344c29b6fd5bfedf51e64746ccb2e72) --- .../_global/delete_by_query/DeleteByQueryRequest.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/specification/_global/delete_by_query/DeleteByQueryRequest.ts b/specification/_global/delete_by_query/DeleteByQueryRequest.ts index 7d21c9abfe..3c01f4b691 100644 --- a/specification/_global/delete_by_query/DeleteByQueryRequest.ts +++ b/specification/_global/delete_by_query/DeleteByQueryRequest.ts @@ -31,7 +31,6 @@ 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' /** @@ -311,9 +310,5 @@ 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 } }