Skip to content

Commit 9f32932

Browse files
Merge #1064
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]>
2 parents 57abb9b + c468510 commit 9f32932

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.code-samples.meilisearch.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,3 +742,8 @@ update_localized_attribute_settings_1: |-
742742
])
743743
reset_localized_attribute_settings_1: |-
744744
client.index('INDEX_NAME').reset_localized_attributes()
745+
multi_search_federated_1: |-
746+
client.multi_search(
747+
[{"indexUid": "movies", "q": "batman"}, {"indexUid": "comics", "q": "batman"}],
748+
{}
749+
)

0 commit comments

Comments
 (0)