Skip to content

Commit c468510

Browse files
committed
Add federated search code-sample
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.
1 parent 57abb9b commit c468510

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)