Skip to content

Commit cf6cfbd

Browse files
authored
Use Sort object in "delete by query"
1 parent e64428b commit cf6cfbd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

specification/_global/delete_by_query/DeleteByQueryRequest.ts

Lines changed: 3 additions & 2 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
/**
@@ -256,9 +257,9 @@ export interface Request extends RequestBase {
256257
*/
257258
slices?: Slices
258259
/**
259-
* A comma-separated list of `<field>:<direction>` pairs.
260+
* A sort object that specifies the order of deleted documents.
260261
*/
261-
sort?: string[]
262+
sort?: Sort
262263
/**
263264
* The specific `tag` of the request for logging and statistical purposes.
264265
*/

0 commit comments

Comments
 (0)