Raw
1 type: object
2 description: The pagination and timing details of a search result.
3 x-schemaName: SearchResultMetadata
4 required:
5 - skip
6 - take
7 - count
8 properties:
9 skip:
10 type: number
11 title: skip
12 description: The number of documents skipped before the returned hits.
13 take:
14 type: number
15 title: take
16 description: The maximum number of hits returned.
17 count:
18 type: number
19 title: count
20 description: >-
21 The total number of matching documents. Most providers only estimate it,
22 and it's `null` when the query sets its `count` strategy to `none`.
23 next_cursor:
24 type: string
25 title: next_cursor
26 description: >-
27 The cursor to pass in the next query's pagination to retrieve the next
28 page, on providers that paginate with cursors.
29 query:
30 type: string
31 title: query
32 description: The free-text query that the result was computed for.
33 processing_time_ms:
34 type: number
35 title: processing_time_ms
36 description: How long the search engine took to run the query, in milliseconds.