Replica indices
Algolia uses one ranking strategy per index. If you want to provide more ranking or sorting strategies, add replica indices with theadd_replica method.
To inherit the settings from the primary index, add inherit:true.
Ruby
Share a single index
If you want to share an index for multiple models, make sure that your object IDs are unique. For example, you can prepend the model class name to the record’s ID:Ruby
Target multiple indices
To index records in several indices, use theadd_index method.
Ruby