Files
elasticsearch-js/docs/reference/api/SearchPhraseSuggestCollate.md
2025-05-28 10:02:30 -05:00

8 lines
487 B
Markdown

# `SearchPhraseSuggestCollate` [interface-SearchPhraseSuggestCollate]
| Name | Type | Description |
| - | - | - |
| `params` | Record<string, any> | Parameters to use if the query is templated. |
| `prune` | boolean | Returns all suggestions with an extra `collate_match` option indicating whether the generated phrase matched any document. |
| `query` | [SearchPhraseSuggestCollateQuery](./SearchPhraseSuggestCollateQuery.md) | A collate query that is run once for every suggestion. |