Replies: 4 comments 21 replies
-
What would the use case be of having that many hits displayed at the same time? does every index have only one hit displayed? |
Beta Was this translation helpful? Give feedback.
-
Makes sense thanks! Another question - I want to make a refinement list for these queries. For context, each index I'm searching through belongs to a "product" - there can be multiple indices under one product. How can I create a refinement list of products without fetching the list products beforehand? I tried creating a refinement list but it only ever displayed the product of the first index and not the rest. I was trying to do something like below but it wasnt working.
|
Beta Was this translation helpful? Give feedback.
-
@Haroenv two questions:
Are there any sandbox demos with an example of this already? |
Beta Was this translation helpful? Give feedback.
-
Hi @Haroenv thanks so much for all of your help so far! Since I am doing multi indexing with quite a few indices there will be times when or two of the indices cannot be found or was not indexed correctly so it won't work on instant search. How can I check or validate the indices before running or while running the instant search app? I have checked all of the indices right now but I tried running it with an index that I know doesn't work and it broke my whole site and wouldn't load anything. How can I prevent that? I tried fetching the current working indices from Algolia but that requires using the Admin API key which is not possible in this case (const { items: existingIndices } = await client.listIndices();) so how can I validate indices without it breaking my instantsearch app? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
My question is similar to this previous question: "Showing one set of hits with multiple indexes #4490" except now I know that mutli index querying exists in instantsearch.js. I'm just wondering if there is a way to use instantsearch with more than just a few indices (~100+) and display them under one hit instead of each index having its own hits widget.
Beta Was this translation helpful? Give feedback.
All reactions