21 lines
1.2 KiB
Markdown
21 lines
1.2 KiB
Markdown
# `SearchInnerHits` [interface-SearchInnerHits]
|
|
|
|
| Name | Type | Description |
|
|
| - | - | - |
|
|
| `_source` | [SearchSourceConfig](./SearchSourceConfig.md) | |
|
|
| `collapse` | [SearchFieldCollapse](./SearchFieldCollapse.md) | |
|
|
| `docvalue_fields` | ([QueryDslFieldAndFormat](./QueryDslFieldAndFormat.md) | [Field](./Field.md))[] | |
|
|
| `explain` | boolean | |
|
|
| `fields` | [Field](./Field.md)[] | |
|
|
| `from` | [integer](./integer.md) | Inner hit starting document offset. |
|
|
| `highlight` | [SearchHighlight](./SearchHighlight.md) | |
|
|
| `ignore_unmapped` | boolean | |
|
|
| `name` | [Name](./Name.md) | The name for the particular inner hit definition in the response. Useful when a search request contains multiple inner hits. |
|
|
| `script_fields` | Record<[Field](./Field.md), [ScriptField](./ScriptField.md)> | |
|
|
| `seq_no_primary_term` | boolean | |
|
|
| `size` | [integer](./integer.md) | The maximum number of hits to return per `inner_hits`. |
|
|
| `sort` | [Sort](./Sort.md) | How the inner hits should be sorted per `inner_hits`. By default, inner hits are sorted by score. |
|
|
| `stored_fields` | [Fields](./Fields.md) | |
|
|
| `track_scores` | boolean | |
|
|
| `version` | boolean | |
|