|
|
@ -33,7 +33,6 @@ module.exports.tests.success = function(test, common) { |
|
|
|
t.equal(esclient, 'this is the esclient'); |
|
|
|
t.equal(esclient, 'this is the esclient'); |
|
|
|
t.deepEqual(cmd, { |
|
|
|
t.deepEqual(cmd, { |
|
|
|
index: 'indexName value', |
|
|
|
index: 'indexName value', |
|
|
|
searchType: 'dfs_query_then_fetch', |
|
|
|
|
|
|
|
body: 'this is the query body' |
|
|
|
body: 'this is the query body' |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
@ -98,7 +97,6 @@ module.exports.tests.success = function(test, common) { |
|
|
|
t.equal(esclient, 'this is the esclient'); |
|
|
|
t.equal(esclient, 'this is the esclient'); |
|
|
|
t.deepEqual(cmd, { |
|
|
|
t.deepEqual(cmd, { |
|
|
|
index: 'indexName value', |
|
|
|
index: 'indexName value', |
|
|
|
searchType: 'dfs_query_then_fetch', |
|
|
|
|
|
|
|
body: 'this is the query body' |
|
|
|
body: 'this is the query body' |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
@ -162,7 +160,6 @@ module.exports.tests.success = function(test, common) { |
|
|
|
t.equal(esclient, 'this is the esclient'); |
|
|
|
t.equal(esclient, 'this is the esclient'); |
|
|
|
t.deepEqual(cmd, { |
|
|
|
t.deepEqual(cmd, { |
|
|
|
index: 'indexName value', |
|
|
|
index: 'indexName value', |
|
|
|
searchType: 'dfs_query_then_fetch', |
|
|
|
|
|
|
|
body: 'this is the query body' |
|
|
|
body: 'this is the query body' |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
@ -234,7 +231,6 @@ module.exports.tests.success = function(test, common) { |
|
|
|
t.equal(esclient, 'this is the esclient'); |
|
|
|
t.equal(esclient, 'this is the esclient'); |
|
|
|
t.deepEqual(cmd, { |
|
|
|
t.deepEqual(cmd, { |
|
|
|
index: 'indexName value', |
|
|
|
index: 'indexName value', |
|
|
|
searchType: 'dfs_query_then_fetch', |
|
|
|
|
|
|
|
body: 'this is the query body' |
|
|
|
body: 'this is the query body' |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
@ -319,7 +315,6 @@ module.exports.tests.timeout = function(test, common) { |
|
|
|
t.equal(esclient, 'this is the esclient'); |
|
|
|
t.equal(esclient, 'this is the esclient'); |
|
|
|
t.deepEqual(cmd, { |
|
|
|
t.deepEqual(cmd, { |
|
|
|
index: 'indexName value', |
|
|
|
index: 'indexName value', |
|
|
|
searchType: 'dfs_query_then_fetch', |
|
|
|
|
|
|
|
body: 'this is the query body' |
|
|
|
body: 'this is the query body' |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|