Skip to content

Commit 57c6eb1

Browse files
authored
Add sort to DeleteByQueryRequest's body
1 parent cf6cfbd commit 57c6eb1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

specification/_global/delete_by_query/DeleteByQueryRequest.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,9 @@ export interface Request extends RequestBase {
257257
*/
258258
slices?: Slices
259259
/**
260-
* A sort object that specifies the order of deleted documents.
260+
* A comma-separated list of `<field>:<direction>` pairs.
261261
*/
262-
sort?: Sort
262+
sort?: string[]
263263
/**
264264
* The specific `tag` of the request for logging and statistical purposes.
265265
*/
@@ -311,5 +311,9 @@ export interface Request extends RequestBase {
311311
* Slice the request manually using the provided slice ID and total number of slices.
312312
*/
313313
slice?: SlicedScroll
314+
/**
315+
* A sort object that specifies the order of deleted documents.
316+
*/
317+
sort?: Sort
314318
}
315319
}

0 commit comments

Comments
 (0)