Skip to content

Commit

Permalink
Merge #1064
Browse files Browse the repository at this point in the history
1064: Add federated search code-sample r=sanders41 a=ellnix

There is a code sample at https://www.meilisearch.com/docs/reference/api/multi_search#federated-multi-search which most integrations don't seem to have.

Noticed this today and reported on integration-guides: meilisearch/integration-guides#313

Co-authored-by: ellnix <[email protected]>
  • Loading branch information
meili-bors[bot] and ellnix authored Jan 23, 2025
2 parents 57abb9b + c468510 commit 9f32932
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -742,3 +742,8 @@ update_localized_attribute_settings_1: |-
])
reset_localized_attribute_settings_1: |-
client.index('INDEX_NAME').reset_localized_attributes()
multi_search_federated_1: |-
client.multi_search(
[{"indexUid": "movies", "q": "batman"}, {"indexUid": "comics", "q": "batman"}],
{}
)

0 comments on commit 9f32932

Please sign in to comment.