Skip to content

Commit

Permalink
Merge pull request #122 from pelias/elasticsearch7-doc-type
Browse files Browse the repository at this point in the history
feat(elasticsearch): Default to `_doc` as type name for ES7 support
  • Loading branch information
orangejulius authored Jan 8, 2020
2 parents c1f0238 + e4c34ff commit 68d9a79
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
Expand Up @@ -70,7 +70,7 @@
},
"schema": {
"indexName": "pelias",
"typeName": "doc"
"typeName": "_doc"
},
"logger": {
"level": "debug",
Expand Down
2 changes: 1 addition & 1 deletion test/expected-deep.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
},
"schema": {
"indexName": "pelias",
"typeName": "doc"
"typeName": "_doc"
},
"logger": {
"level": "debug",
Expand Down

0 comments on commit 68d9a79

Please sign in to comment.