Skip to content

Commit 696a13a

Browse files
Add sort to DeleteByQueryRequest's body (#5143) (#5158)
(cherry picked from commit 380cde2) Co-authored-by: Rami <72725910+ramikg@users.noreply.github.com>
1 parent dbdc495 commit 696a13a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

specification/_global/delete_by_query/DeleteByQueryRequest.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import { float, long } from '@_types/Numeric'
3131
import { QueryContainer } from '@_types/query_dsl/abstractions'
3232
import { Operator } from '@_types/query_dsl/Operator'
3333
import { SlicedScroll } from '@_types/SlicedScroll'
34+
import { Sort } from '@_types/sort'
3435
import { Duration } from '@_types/Time'
3536

3637
/**
@@ -310,5 +311,9 @@ export interface Request extends RequestBase {
310311
* Slice the request manually using the provided slice ID and total number of slices.
311312
*/
312313
slice?: SlicedScroll
314+
/**
315+
* A sort object that specifies the order of deleted documents.
316+
*/
317+
sort?: Sort
313318
}
314319
}

0 commit comments

Comments
 (0)