-
I have two indexes for my website, one is for the marketing site, and the other is for the documentation. I have a search bar on the marketing site and when the user is typing something I would like to suggest results from both indexes. Is that possible? right now I get the results from the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 17 replies
-
I know how to search with two different indexes, but haven't figured it out how to get suggestions in search dropdown for two indexes. |
Beta Was this translation helpful? Give feedback.
-
You can follow this guide, depending on your exact use case: https://www.algolia.com/doc/guides/solutions/ecommerce/search/autocomplete/federated-search/ you call |
Beta Was this translation helpful? Give feedback.
You can follow this guide, depending on your exact use case: https://www.algolia.com/doc/guides/solutions/ecommerce/search/autocomplete/federated-search/
you call
getAlgoliaResults
multiple times, or with an array of queries. Then it should automatically render all results