Skip to content

Commit

Permalink
Add federated search code sample
Browse files Browse the repository at this point in the history
  • Loading branch information
ellnix committed Jan 30, 2025
1 parent 367bba5 commit 8580598
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 @@ -712,3 +712,8 @@ distinct_attribute_guide_distinct_parameter_1: |-
client.index('products').search('white shirt', {
distinct: 'sku'
})
multi_search_federated_1: |-
client.multi_search(
queries: [{ index_uid: 'movies', q: 'batman' }, { index_uid: 'comics', q: 'batman' }],
federation: {}
)

0 comments on commit 8580598

Please sign in to comment.