Skip to content

Commit

Permalink
Update _search-plugins/collapse-search.md
Browse files Browse the repository at this point in the history
Co-authored-by: Melissa Vagi <[email protected]>
Signed-off-by: leanneeliatra <[email protected]>
  • Loading branch information
leanneeliatra and vagimeli authored Aug 30, 2024
1 parent 856b6c6 commit ad12cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _search-plugins/collapse-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ GET /bakery-items/_search

### Multiple inner hits for each collapsed hit

To obtain several groups of inner hits for each collapsed result, you can set different criteria for each group. For example, you could request the three least expensive items and the three most recent items for every bakery item.
To obtain several groups of inner hits for each collapsed result, you can set different criteria for each group. For example, you could request the three lowest priced items and the three most recent items for every bakery item.

```json
GET /bakery-items/_search
Expand Down

0 comments on commit ad12cd8

Please sign in to comment.