Skip to content

Commit

Permalink
pass options, that are using by BulkWriter
Browse files Browse the repository at this point in the history
  • Loading branch information
markablov committed Apr 16, 2018
1 parent b47cc59 commit fd00ce2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ const Elasticsearch = function Elasticsearch(options) {
waitForActiveShards: options.waitForActiveShards,
pipeline: options.pipeline,
ensureMappingTemplate: options.ensureMappingTemplate,
mappingTemplate: options.mappingTemplate,
indexPrefix: options.indexPrefix
};

this.bulkWriter = new BulkWriter(
Expand Down

0 comments on commit fd00ce2

Please sign in to comment.