Skip to content

Commit

Permalink
fix: Set Elasticsearch API version to 2.3
Browse files Browse the repository at this point in the history
The previous target, 2.x, is going away in newer versions of the
Elasticsearch NPM module, which we'd like to use. The default will
[track the latest version of ES](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/configuration.html#config-options)
so we need to explicitly set it to 2.3.
  • Loading branch information
orangejulius committed Nov 9, 2016
1 parent f7632f7 commit 8327bb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/defaults.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"esclient": {
"apiVersion": "2.x",
"apiVersion": "2.3",
"keepAlive": true,
"requestTimeout": "120000",
"hosts": [{
Expand Down
2 changes: 1 addition & 1 deletion config/expected-deep.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"esclient": {
"apiVersion": "2.x",
"apiVersion": "2.3",
"keepAlive": true,
"requestTimeout": "120000",
"hosts": [{
Expand Down

0 comments on commit 8327bb8

Please sign in to comment.