Multi-word Search in React Instantsearch
TLDR Gines was facing issues with multi-word searches in React Instantsearch. Kishore Nallan suggested using a
multi_search request and merging the results client-side.
Sep 28, 2022 (15 months ago)
I need to search for several words at the same time, is this possible? (I am using react instantsearch)
For example: if I search for "php" I get 15 results, and if I search for "games" I get 10 results, but if I search for "games php" I only get 1 result, when what I want is to get the sum of both results. Thanks!
Kishore Nallan11:33 AM
multi_searchrequest to run the queries at the same time. But you have to merge the results in the client side.
Indexed 3011 threads (79% resolved)
Identical Multiple Requests Issue and Solution
Maaz brought up the issue of duplicate requests for the same data. Jason suggested using the react-instantsearch to control the search queries, thus optimizing request usage.
Conducting Multi-index Searches in Apps
KARTHICK asked how to send multiple indexNames in a single search client. Kishore Nallan and Jason guided them to use multi search and the `<Index>` component. Jason also provided advice on displaying dynamic recommendations.
Using Search Query Parameters with React-InstantSearch-Dom
KARTHICK asked if it's possible to send a search query through query parameters with react-instantsearch-dom. Jason provided a helpful resource.