I am using Vue Instantsearch with multiple indices.
The query takes place in a ais-search-box
component, looking through two indices simultaneously and displaying the results in an ais-autocomplete
component.
This works well, however I can't find a way to assign each index a respective ais-configure
component and therefore have to use the same filter for both indices.
As you might imagine, with both indices containing different properties, this does not work as expected.
The docs mention this:
Since these are two dedicated indices, you can apply different parameters and widgets to the search. You can do it by passing different parameters to
ais-configure
, or mounting different widgets in each of theais-index
components. (source: https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/multi-index-search/vue/)
It seems unclear how one would "pass different parameters to ais-configure
"?
Could anyone please provide an example?