Skip to content

Commit

Permalink
Update expected shard count
Browse files Browse the repository at this point in the history
This was changed in pelias/config#60 to match
the Elasticsearch default. It helps people who use the defaults to be
able to scale a little bit further out of the box.
  • Loading branch information
orangejulius committed Jul 27, 2017
1 parent 92b300d commit dc79675
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@
},
"index": {
"number_of_replicas": "999",
"number_of_shards": "1",
"number_of_shards": "5",
"refresh_interval": "1m"
}
},
Expand Down
2 changes: 1 addition & 1 deletion test/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ module.exports.tests.index = function(test, common) {
var s = settings();
t.equal(typeof s.index, 'object', 'index specified');
t.equal(s.index.number_of_replicas, "0", 'replicas will increase index time');
t.equal(s.index.number_of_shards, "1", 'sharding is only required in a distributed env');
t.equal(s.index.number_of_shards, "5", 'sharding value should use the elasticsearch default');
t.end();
});
};
Expand Down

0 comments on commit dc79675

Please sign in to comment.