-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v1.10.0] Federated search #609
Comments
@brunoocasali https://docs.rs/meilisearch-sdk/latest/meilisearch_sdk/search/struct.MultiSearchResponse.html pub struct MultiSearchResponse<T> {
pub results: Vec<SearchResults<T>>,
} => adding an (serde-untagged) Enum in its place would be Breaking. Alternatively, should I add another method next to pub async fn execute_multi_search_query<T: 'static + DeserializeOwned + Send + Sync>(
&self,
body: &MultiSearchQuery<'_, '_, Http>,
) -> Result<MultiSearchResponse<T>, Error> { For example with this signature pub async fn execute_federated_multi_search_query<T: 'static + DeserializeOwned + Send + Sync>(
&self,
body: &MultiSearchQuery<'_, '_, Http>,
federationOptions: TODO,
) -> Result<MultiSearchResponse<T>, Error> { |
Following this central issue
Explanation of the feature
Pass new search parameters to
multiSearch
method to get one single list of resultEnsure the queries passed can accept the
federationOptions
search parameterNo need to handle the case of errors, Meilisearch does it
Usage: https://meilisearch.notion.site/v1-10-federated-search-698dfe36ab6b4668b044f735fb40f0b2?pvs=74
TODO
federation
to themultiSearch
methodfederationOptions
The text was updated successfully, but these errors were encountered: