Files
elasticsearch-js/docs/reference/api/StandardRetriever.md
2025-05-27 15:30:21 -05:00

10 lines
671 B
Markdown

## Interface `StandardRetriever`
| Name | Type | Description |
| - | - | - |
| `collapse` | [SearchFieldCollapse](./SearchFieldCollapse.md) | Collapses the top documents by a specified key into a single top document per key. |
| `query` | [QueryDslQueryContainer](./QueryDslQueryContainer.md) | Defines a query to retrieve a set of top documents. |
| `search_after` | [SortResults](./SortResults.md) | Defines a search after object parameter used for pagination. |
| `sort` | [Sort](./Sort.md) | A sort object that that specifies the order of matching documents. |
| `terminate_after` | [integer](./integer.md) | Maximum number of documents to collect for each shard. |