Skip to content

Commit

Permalink
address reviewer feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
guimachiavelli committed Oct 7, 2024
1 parent 037c3e9 commit 64b8f99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions learn/multi_search/multi_search_vs_federated_search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ This article defines multi-search and federated search and then describes the di

## What is multi-search?

Multi-search, also called multi-index search, is a search operation that queries two or more indexes at the same time. Meilisearch then returns a separate list results for each index. Use the `/multi-search` route to perform multi-searches.
Multi-search, also called multi-index search, is a search operation that makes multiple queries at the same time. These queries may target different indexes. Meilisearch then returns a separate list results for each query. Use the `/multi-search` route to perform multi-searches.

Multi-search favors discovery scenarios, where users might not have a clear idea of what they need and searches might have many valid results.

## What is federated search?

Federated search is a type of multi-index search. This operation also queries multiple indexes, but returns a single list with the most relevant results from all queried indexes. Use the `/multi-search` route and specify a non-null value for `federation` to perform a federated search.
Federated search is a type of multi-index search. This operation also makes multiple search requests at the same time, but returns a single list with the most relevant results from all queries. Use the `/multi-search` route and specify a non-null value for `federation` to perform a federated search.

Federated search favors scenarios where users have a clear idea of what they need and expect a single best top result.

## Use cases

Because multi-search groups results by index, it is often useful when the origin and type of document contain information relevant to your users. For example, a person searching for `shygirl` in a music streaming application is likely to appreciate seeing separate results for matching artists, albums, and individual tracks.
Because multi-search groups results by query, it is often useful when the origin and type of document contain information relevant to your users. For example, a person searching for `shygirl` in a music streaming application is likely to appreciate seeing separate results for matching artists, albums, and individual tracks.

Federated search is a better approach when the source of the information is not relevant to your users. For example, a person searching for a client's email in a CRM application is unlikely to care whether this email comes from chat logs, support tickets, or other data sources.
2 changes: 1 addition & 1 deletion learn/multi_search/performing_federated_search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: In this tutorial you will see how to perform a query searching mult

# Using multi-search to perform a federated search

Meilisearch allows you to search in multiple indexes at the same time with the `/multi-search` endpoint. A federated search is a multi-index search that returns results across multiple indexes in a single list.
Meilisearch allows you to make multiple search requests at the same time with the `/multi-search` endpoint. A federated search is a multi-search that returns results from multiple queries in a single list.

In this tutorial you will see how to create separate indexes containing different types of data from a CRM application. You will then perform a query searching all these indexes at the same time to obtain a single list of results.

Expand Down

0 comments on commit 64b8f99

Please sign in to comment.