Closed johnnynotsolucky closed 1 year ago
Thanks @johnnynotsolucky, I'll have a look and if all goes well this should be included in the next release!
Looks good, merged and ready for release. Waiting for a couple of other things but this should be out Sunday at the latest!
Thanks again!
This is now out in 3.3.0.
Resolves #114
This PR adds a flag on
ScoutIndex
to flag an index as a replica which prevents it from being sync'd by the plugin.Replica indices can be configured by adding them to the
indices
property in config like you would a regular index with the exception of setting the flag using->replicaIndex(true)
.This roughly follows how Algolia recommends configuring replicas in code: https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/sort-by-attribute/#example-relevant-sort-with-a-virtual-replica
Updated utilities view: