|
1
|
type: object |
|
2
|
description: How a search query's results are paginated and sorted. |
|
3
|
x-schemaName: SearchPagination |
|
4
|
properties: |
|
5
|
skip: |
|
6
|
type: number |
|
7
|
title: skip |
|
8
|
description: >- |
|
9
|
The number of documents to skip before the returned hits. It's mutually |
|
10
|
exclusive with `cursor`. |
|
11
|
take: |
|
12
|
type: number |
|
13
|
title: take |
|
14
|
description: The maximum number of hits to return. |
|
15
|
order: |
|
16
|
type: object |
|
17
|
description: >- |
|
18
|
The fields to sort the hits by, keyed by each field's dotted path. The |
|
19
|
reserved `_score` key sorts by relevance. |
|
20
|
cursor: |
|
21
|
type: string |
|
22
|
title: cursor |
|
23
|
description: >- |
|
24
|
An opaque provider cursor, as returned in a previous result's |
|
25
|
`metadata.next_cursor`. It's mutually exclusive with `skip`. |