My algolia search has 3 types of results and when I search it shows all of the relevant results. Now I want the results to only show one result of the first type, two results of the second type, then show all other results. How to achieve this by Vue?
Hi there !
If I understand correctly your problem, you want to search across multiple indices from one widget. This is indeed possible and you can find out how to do that in the following link :
Then you can play with the
hitsPerPage parameter to display the correct number of results per index.
I hope this helps !
Hi, Vincent, thanks for your reply.
Unfortunately, in my site, all the items were saved by the same index value, maybe using the different index for the different item type is a good idea.