- Type:
list<string>
- Default:
[]
(no replicas) - Scope:
settings
- Deprecated name:
slaves
- Alternative sorting strategies
- Multiple indices such as ascending and descending price
- A/B testing.
primary
setting is automatically added to a replica’s settings with the name of the primary index.
Usage
- This setting specifies the complete set of replicas for an index.
-
Adding a new replica to this list:
- Creates a new replica index if it doesn’t exist.
- Overwrites the records of an existing replica index with the same name. Its settings remain unchanged. To sync the settings from the primary, either copy the settings to the replica or delete the replica index before recreating it.
- Removing a replica from the list detaches it and turns it into a regular index. Then, you can delete it like any other index.
Example
Current API clients
Current API clients
Legacy API clients
Legacy API clients