Update our Elastic Search shard/replica settings
This is to make our search function a bit better.
The comment in the code explains why.
@@ -435,15 +435,15 @@ class CommunityBaseSettings(Settings):
ES_INDEXES = {
'project': {
'name': 'project_index',
- 'settings': {'number_of_shards': 2,
- 'number_of_replicas': 0
+ 'settings': {'number_of_shards': 1,
+ 'number_of_replicas': 1
}
},
'page': {
'name': 'page_index',
'settings': {
- 'number_of_shards': 2,
- 'number_of_replicas': 0,
+ 'number_of_shards': 1,
+ 'number_of_replicas': 1,
}
},
}
