diff --git a/integration/dynamic_templates.js b/integration/dynamic_templates.js index 4ece07b7..daf5b092 100644 --- a/integration/dynamic_templates.js +++ b/integration/dynamic_templates.js @@ -49,8 +49,7 @@ function nameAssertion( analyzer, common ){ suite.assert( done => { suite.client.indices.getMapping({ - index: suite.props.index, - include_type_name: false + index: suite.props.index }, (err, res) => { const properties = res[suite.props.index].mappings.properties; @@ -88,8 +87,7 @@ function phraseAssertion( analyzer, common ){ suite.assert( done => { suite.client.indices.getMapping({ - index: suite.props.index, - include_type_name: false + index: suite.props.index }, ( err, res ) => { const properties = res[suite.props.index].mappings.properties; @@ -126,8 +124,7 @@ function addendumAssertion( namespace, value, common ){ // inherited from the dynamic_template suite.assert( done => { suite.client.indices.getMapping({ - index: suite.props.index, - include_type_name: false, + index: suite.props.index }, ( err, res ) => { const properties = res[suite.props.index].mappings.properties; diff --git a/integration/run.js b/integration/run.js index 42f835ae..f6b76838 100644 --- a/integration/run.js +++ b/integration/run.js @@ -13,7 +13,6 @@ const common = { create: { schema: schema, create: { - include_type_name: false } }, summaryMap: (res) => { diff --git a/scripts/create_index.js b/scripts/create_index.js index 61e76de3..0bb94ad0 100644 --- a/scripts/create_index.js +++ b/scripts/create_index.js @@ -29,8 +29,7 @@ try { const indexName = config.schema.indexName; const req = { index: indexName, - body: schema, - include_type_name: false + body: schema }; client.indices.create(req, (err, res) => {