Scout Extended & Replica Indexes

I’m just playing around with Scout Extended for Laravel, using an aggregator to combine multiple models. It works very nicely. Thanks.

One thing I can’t figure out is whether it supports replicas out of the box? In my case, I want to have the option to sort results by price ASC or DESC and some other attributes too. So, as far as I understand, I need a replica index for each possible sort and direction.

Using scout extended, how does one dynamically choose the index at the time of making the search request? Thanks.

Don’t worry! - just found the within method.

1 Like

Looks like you just found the answer,
Thanks!