diff --git a/.gitignore b/.gitignore index 170b1eed6..aaef57f0c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ node_modules scripts/scratch* test/integration/yaml_suite/log test/integration/yaml_suite/tests +test/browser_integration/test-output.xml diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 5860ad48e..000000000 --- a/.gitmodules +++ /dev/null @@ -1,6 +0,0 @@ -[submodule "spec/es_api"] - path = spec/es_api - url = git@github.com:elasticsearch/elasticsearch-rest-api-spec.git -[submodule "es_api_spec"] - path = es_api_spec - url = git@github.com:elasticsearch/elasticsearch-rest-api-spec.git diff --git a/Gruntfile.js b/Gruntfile.js index 9dae1e230..7237b7be2 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -207,15 +207,36 @@ module.exports = function (grunt) { }); var browsers = { - safari: 'Safari', - chrome: 'Google Chrome', - firefox: 'firefox' + safari: { + appName: 'Safari', + executable: null + }, + chrome: { + appName: 'Google Chrome', + executable: 'google-chrome' + }, + chromium: { + appName: null, + executable: 'chromium-browser' + }, + firefox: { + appName: 'Firefox', + executable: 'firefox' + }, + opera: { + appName: 'Firefox', + executable: 'firefox' + } }; // creates browser_tests:{{browser}} tasks, for the browsers listed directly above Object.keys(browsers).forEach(function (browser) { grunt.config.set('open_browser_tests.' + browser, { - appName: browsers[browser] + // on other platforms, grunt-open expects appname to be the name of the executale... + appName: browsers[browser][process.platform === 'darwin' || process.platform === 'win32' + ? 'appName' + : 'executale' + ] }); grunt.registerTask('browser_tests:' + browser, [ 'generate', diff --git a/test/browser_integration/esjs_reporter.js b/test/browser_integration/esjs_reporter.js index e71172316..371e3f923 100644 --- a/test/browser_integration/esjs_reporter.js +++ b/test/browser_integration/esjs_reporter.js @@ -43,6 +43,7 @@ runner.on('suite', function (suite) { if (suite.root) { + $.post('/tests-started'); return; } @@ -134,7 +135,7 @@ }); function allTestsDone() { - window.testResults = { + var testResults = { stats: stats, suites: $.map(rootSuite.suites, function removeElements(suite) { var s = { @@ -152,7 +153,8 @@ return s; }) }; - $.post('/tests-complete', JSON.stringify(window.testResults), function () { + + $.post('/tests-complete', JSON.stringify(testResults), function () { // alert('test complete'); window.close(); }); diff --git a/test/browser_integration/server.js b/test/browser_integration/server.js index 641956455..8ff290491 100644 --- a/test/browser_integration/server.js +++ b/test/browser_integration/server.js @@ -138,8 +138,8 @@ function collectTestResults(req, resp) { _.each(suiteInfo.suites, serializeSuite); } - suite.ele('system-out', {}, suiteInfo.stdout); - suite.ele('system-err', {}, suiteInfo.stderr); + suite.ele('system-out', {}).cdata(suiteInfo.stdout); + suite.ele('system-err', {}).cdata(suiteInfo.stderr); }); var filename = path.join(__dirname, 'test-output.xml'); @@ -185,6 +185,9 @@ var server = http.createServer(function (req, resp) { middleware.push(function (req, resp, next) { // resolve filenames switch (req.uri) { + case '/tests-started': + resp.end('OK'); + return; case '/tests-complete': return collectTestResults(req, resp); case '/expect.js': diff --git a/test/browser_integration/test-output.xml b/test/browser_integration/test-output.xml deleted file mode 100644 index d55abb35a..000000000 --- a/test/browser_integration/test-output.xml +++ /dev/null @@ -1,12676 +0,0 @@ - - - - DEBUG -starting request { body: - [ { index: { _index: 'test_index', _type: 'test_type', _id: 'test_id' } }, - { f1: 'v1', f2: 42 }, - { index: { _index: 'test_index', _type: 'test_type', _id: 'test_id2' } }, - { f1: 'v2', f2: 47 }, - [length]: 4 ], - timeout: 10000, - bulkBody: true, - method: 'POST', - path: '/_bulk', - query: { refresh: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_bulk?refresh=true" -XPOST -d "{\"index\":{\"_index\":\"test_index\",\"_type\":\"test_type\",\"_id\":\"test_id\"}} -{\"f1\":\"v1\",\"f2\":42} -{\"index\":{\"_index\":\"test_index\",\"_type\":\"test_type\",\"_id\":\"test_id2\"}} -{\"f1\":\"v2\",\"f2\":47} -" -<- 200 -{"took":31,"items":[{"index":{"_index":"test_index","_type":"test_type","_id":"test_id","_version":1,"ok":true}},{"index":{"_index":"test_index","_type":"test_type","_id":"test_id2","_version":1,"ok":true}}]} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'POST', - path: '/test_index/_count', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_count?pretty=true" -XPOST -<- 200 -{"count":2,"_shards":{"total":5,"successful":5,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: - [ '{"index": {"_index": "test_index", "_type": "test_type", "_id": "test_id"}}', - '{"f1": "v1", "f2": 42}', - '{"index": {"_index": "test_index", "_type": "test_type", "_id": "test_id2"}}', - '{"f1": "v2", "f2": 47}', - [length]: 4 ], - timeout: 10000, - bulkBody: true, - method: 'POST', - path: '/_bulk', - query: { refresh: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_bulk?refresh=true" -XPOST -d "{\"index\": {\"_index\": \"test_index\", \"_type\": \"test_type\", \"_id\": \"test_id\"}} -{\"f1\": \"v1\", \"f2\": 42} -{\"index\": {\"_index\": \"test_index\", \"_type\": \"test_type\", \"_id\": \"test_id2\"}} -{\"f1\": \"v2\", \"f2\": 47} -" -<- 200 -{"took":30,"items":[{"index":{"_index":"test_index","_type":"test_type","_id":"test_id","_version":1,"ok":true}},{"index":{"_index":"test_index","_type":"test_type","_id":"test_id2","_version":1,"ok":true}}]} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'POST', - path: '/test_index/_count', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_count?pretty=true" -XPOST -<- 200 -{"count":2,"_shards":{"total":5,"successful":5,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: '\n{"index": {"_index": "test_index", "_type": "test_type", "_id": "test_id"}}\n{"f1": "v1", "f2": 42}\n{"index": {"_index": "test_index", "_type": "test_type", "_id": "test_id2"}}\n{"f1": "v2", "f2": 47}\n', - timeout: 10000, - bulkBody: true, - method: 'POST', - path: '/_bulk', - query: { refresh: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_bulk?refresh=true" -XPOST -d " -{\"index\": {\"_index\": \"test_index\", \"_type\": \"test_type\", \"_id\": \"test_id\"}} -{\"f1\": \"v1\", \"f2\": 42} -{\"index\": {\"_index\": \"test_index\", \"_type\": \"test_type\", \"_id\": \"test_id2\"}} -{\"f1\": \"v2\", \"f2\": 47} -" -<- 200 -{"took":28,"items":[{"index":{"_index":"test_index","_type":"test_type","_id":"test_id","_version":1,"ok":true}},{"index":{"_index":"test_index","_type":"test_type","_id":"test_id2","_version":1,"ok":true}}]} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'POST', - path: '/test_index/_count', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_count?pretty=true" -XPOST -<- 200 -{"count":2,"_shards":{"total":5,"successful":5,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'GET', path: '/_nodes', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_nodes?pretty=true" -XGET -<- 200 -{"ok":true,"cluster_name":"elasticsearch","nodes":{"0k3_XE_MToid4uf9azr6gA":{"name":"Absalom","transport_address":"inet[/192.168.1.3:9300]","hostname":"Spencers-MacBook-Pro.local","version":"1.0.0.Beta1-SNAPSHOT","http_address":"inet[/192.168.1.3:9200]"}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_nodes/stats', - query: { indices: true, transport: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_nodes/stats?indices=true&transport=true" -XGET -<- 200 -{"cluster_name":"elasticsearch","nodes":{"0k3_XE_MToid4uf9azr6gA":{"timestamp":1384200335141,"name":"Absalom","transport_address":"inet[/192.168.1.3:9300]","hostname":"Spencers-MacBook-Pro.local","indices":{"docs":{"count":0,"deleted":0},"store":{"size_in_bytes":0,"throttle_time_in_millis":0},"indexing":{"index_total":2886,"index_time_in_millis":2745,"index_current":120,"delete_total":360,"delete_time_in_millis":1,"delete_current":0},"get":{"total":4080,"time_in_millis":18,"exists_total":3000,"exists_time_in_millis":18,"missing_total":1080,"missing_time_in_millis":0,"current":0},"search":{"open_contexts":0,"query_total":2800,"query_time_in_millis":59,"query_current":0,"fetch_total":500,"fetch_time_in_millis":38,"fetch_current":0},"merges":{"current":0,"current_docs":0,"current_size_in_bytes":0,"total":0,"total_time_in_millis":0,"total_docs":0,"total_size_in_bytes":0},"refresh":{"total":14291,"total_time_in_millis":3001},"flush":{"total":298,"total_time_in_millis":145},"warmer":{"current":0,"total":0,"total_time_in_millis":0},"filter_cache":{"memory_size_in_bytes":0,"evictions":0},"id_cache":{"memory_size_in_bytes":0},"fielddata":{"memory_size_in_bytes":0,"evictions":0},"percolate":{"total":0,"time_in_millis":0,"current":0,"memory_size_in_bytes":0,"memory_size":"0b"},"completion":{"size_in_bytes":0}},"transport":{"server_open":13,"rx_count":0,"rx_size_in_bytes":0,"tx_count":0,"tx_size_in_bytes":0}}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { transient: { 'discovery.zen.minimum_master_nodes': 1 } }, - timeout: 10000, - method: 'PUT', - path: '/_cluster/settings', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/settings?pretty=true" -XPUT -d "{\"transient\":{\"discovery.zen.minimum_master_nodes\":1}}" -<- 200 -{"ok":true,"acknowledged":true,"persistent":{},"transient":{"discovery.zen.minimum_master_nodes":"1"}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/settings', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/settings?pretty=true" -XGET -<- 200 -{"persistent":{},"transient":{"discovery.zen.minimum_master_nodes":"1"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, - method: 'POST', - path: '/_cluster/reroute', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/reroute?pretty=true" -XPOST -<- 200 -{"ok":true,"acknowledged":true,"state":{"master_node":"0k3_XE_MToid4uf9azr6gA","blocks":{},"nodes":{"0k3_XE_MToid4uf9azr6gA":{"name":"Absalom","transport_address":"inet[/192.168.1.3:9300]","attributes":{}}},"routing_table":{"indices":{}},"routing_nodes":{"unassigned":[],"nodes":{"0k3_XE_MToid4uf9azr6gA":[]}},"allocations":[]}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/state', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/state?pretty=true" -XGET -<- 200 -{"cluster_name":"elasticsearch","master_node":"0k3_XE_MToid4uf9azr6gA","blocks":{},"nodes":{"0k3_XE_MToid4uf9azr6gA":{"name":"Absalom","transport_address":"inet[/192.168.1.3:9300]","attributes":{}}},"metadata":{"templates":{"test":{"template":"test-*","order":0,"settings":{"index.number_of_replicas":"0","index.number_of_shards":"1"},"mappings":{}}},"indices":{}},"routing_table":{"indices":{}},"routing_nodes":{"unassigned":[],"nodes":{"0k3_XE_MToid4uf9azr6gA":[]}},"allocations":[]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - ignore: [ 409, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 409 -{"error":"DocumentAlreadyExistsException[[test_1][2] [test][1]: document already exists]","status":409} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"dXmOLE8PQfaMJuWDrHHjEQ","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/dXmOLE8PQfaMJuWDrHHjEQ', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/dXmOLE8PQfaMJuWDrHHjEQ?pretty=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"dXmOLE8PQfaMJuWDrHHjEQ","_version":1,"exists":true, "_source" : {"foo":"bar"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - ignore: [ 409, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 409 -{"error":"DocumentAlreadyExistsException[[test_1][2] [test][1]: document already exists]","status":409} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: { version: 5, version_type: 'external' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?version=5&version_type=external" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - ignore: [ 409, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: { version: 5, version_type: 'external' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?version=5&version_type=external" -XPOST -d "{\"foo\":\"bar\"}" -<- 409 -{"error":"VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [5], provided [5]]","status":409} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - ignore: [ 409, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: { version: 6, version_type: 'external' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?version=6&version_type=external" -XPOST -d "{\"foo\":\"bar\"}" -<- 409 -{"error":"DocumentAlreadyExistsException[[test_1][2] [test][1]: document already exists]","status":409} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: { routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?routing=5" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_routing', routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_routing&routing=5" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_routing":"5"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 404 -{"_index":"test_1","_type":"test","_id":"1","exists":false} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 500 -{"error":"RoutingMissingException[routing is required for [test_1]/[test]/[1]]","status":500} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?parent=5" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_parent,_routing', parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&parent=5" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_routing":"5","_parent":"5"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 404 -{"_index":"test_1","_type":"test","_id":"1","exists":false} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: { parent: '5', routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?parent=5&routing=4" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_parent,_routing', parent: '5', routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&parent=5&routing=4" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_routing":"4","_parent":"5"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5" -XGET -<- 404 -{"_index":"test_1","_type":"test","_id":"1","exists":false} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?routing=4" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { settings: { 'index.refresh_interval': -1 } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"settings\":{\"index.refresh_interval\":-1}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { query: { term: { _id: 1 } } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_search?pretty=true" -XPOST -d "{\"query\":{\"term\":{\"_id\":1}}}" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":0,"max_score":null,"hits":[]}} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/2/_create', - query: { refresh: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2/_create?refresh=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { query: { term: { _id: 2 } } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_search?pretty=true" -XPOST -d "{\"query\":{\"term\":{\"_id\":2}}}" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"2","_score":1.0, "_source" : {"foo":"bar"}}]}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _timestamp: { enabled: 1, store: 'yes' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_timestamp\":{\"enabled\":1,\"store\":\"yes\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_timestamp' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_timestamp" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_timestamp":1384200337195}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XDELETE -<- 200 -{"ok":true,"found":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: { timestamp: 1372011280000 } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?timestamp=1372011280000" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":3} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_timestamp' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_timestamp" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":3,"exists":true,"fields":{"_timestamp":1372011280000}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XDELETE -<- 200 -{"ok":true,"found":true,"_index":"test_1","_type":"test","_id":"1","_version":4} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: { timestamp: '2013-06-23T18:14:40.000Z' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?timestamp=2013-06-23T18%3A14%3A40.000Z" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":5} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_timestamp' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_timestamp" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":5,"exists":true,"fields":{"_timestamp":1372011280000}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _ttl: { enabled: 1, store: 'yes', default: '10s' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_ttl\":{\"enabled\":1,\"store\":\"yes\",\"default\":\"10s\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_ttl' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_ttl" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_ttl":9996}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XDELETE -<- 200 -{"ok":true,"found":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: { ttl: 100000 } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?ttl=100000" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":3} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_ttl' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_ttl" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":3,"exists":true,"fields":{"_ttl":99997}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XDELETE -<- 200 -{"ok":true,"found":true,"_index":"test_1","_type":"test","_id":"1","_version":4} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: { ttl: '20s' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?ttl=20s" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":5} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_ttl' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_ttl" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":5,"exists":true,"fields":{"_ttl":19996}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XDELETE -<- 200 -{"ok":true,"found":true,"_index":"test_1","_type":"test","_id":"1","_version":6} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_create', - query: { timestamp: '2013-06-23T18:14:40.000Z', ttl: '20s' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_create?timestamp=2013-06-23T18%3A14%3A40.000Z&ttl=20s" -XPOST -d "{\"foo\":\"bar\"}" -<- 400 -{"error":"MapperParsingException[failed to parse [_ttl]]; nested: AlreadyExpiredException[already expired [test_1]/[test]/[1] due to expire at [1372011300000] and was processed at [1384200337296]]; ","status":400} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XDELETE -<- 200 -{"ok":true,"found":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 409, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: { version: 2 } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?version=2" -XDELETE -<- 409 -{"error":"VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [1], provided [2]]","status":409} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: { version: 1 } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?version=1" -XDELETE -<- 200 -{"ok":true,"found":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { version: 5, version_type: 'external' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?version=5&version_type=external" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":5} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 409, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: { version: 4, version_type: 'external' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?version=4&version_type=external" -XDELETE -<- 409 -{"error":"VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [5], provided [4]]","status":409} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: { version: 6, version_type: 'external' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?version=6&version_type=external" -XDELETE -<- 200 -{"ok":true,"found":true,"_index":"test_1","_type":"test","_id":"1","_version":6} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?routing=5" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: { routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?routing=4" -XDELETE -<- 404 -{"ok":true,"found":false,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: { routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?routing=5" -XDELETE -<- 200 -{"ok":true,"found":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'GET', path: '/', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/?pretty=true" -XGET -<- 200 -{ - "ok" : true, - "status" : 200, - "name" : "Absalom", - "version" : { - "number" : "1.0.0.Beta1", - "build_hash" : "d43f3d83d8bae03e6d202b9d7037013cae70a954", - "build_timestamp" : "2013-10-31T00:10:20Z", - "build_snapshot" : true, - "lucene_version" : "4.5.1" - }, - "tagline" : "You Know, for Search" -} - - -INFO -Request complete -DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: { parent: '1' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=1" -XDELETE -<- 404 -{"ok":true,"found":false,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5" -XDELETE -<- 200 -{"ok":true,"found":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { parent: '5', routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5&routing=4" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: { parent: '5', routing: '1' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5&routing=1" -XDELETE -<- 404 -{"ok":true,"found":false,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: { parent: '5', routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5&routing=4" -XDELETE -<- 200 -{"ok":true,"found":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { settings: { 'index.refresh_interval': -1 } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"settings\":{\"index.refresh_interval\":-1}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { refresh: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?refresh=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/2', - query: { refresh: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2?refresh=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { query: { terms: { _id: [ 1, 2, [length]: 2 ] } } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_search?pretty=true" -XPOST -d "{\"query\":{\"terms\":{\"_id\":[1,2]}}}" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":2,"max_score":0.35355338,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":0.35355338, "_source" : {"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"2","_score":0.35355338, "_source" : {"foo":"bar"}}]}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XDELETE -<- 200 -{"ok":true,"found":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { body: { query: { terms: { _id: [ 1, 2, [length]: 2 ] } } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_search?pretty=true" -XPOST -d "{\"query\":{\"terms\":{\"_id\":[1,2]}}}" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":2,"max_score":0.35355338,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":0.35355338, "_source" : {"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"2","_score":0.35355338, "_source" : {"foo":"bar"}}]}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/test_1/test/2', - query: { refresh: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2?refresh=true" -XDELETE -<- 200 -{"ok":true,"found":true,"_index":"test_1","_type":"test","_id":"2","_version":2} - - -INFO -Request complete -DEBUG -starting request { body: { query: { terms: { _id: [ 1, 2, [length]: 2 ] } } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_search?pretty=true" -XPOST -d "{\"query\":{\"terms\":{\"_id\":[1,2]}}}" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":0.35355338,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":0.35355338, "_source" : {"foo":"bar"}}]}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - - DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XDELETE -<- 404 -{"ok":true,"found":false,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XDELETE -<- 404 -{"ok":true,"found":false,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'baz' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/2', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2?pretty=true" -XPOST -d "{\"foo\":\"baz\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'foo' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/3', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/3?pretty=true" -XPOST -d "{\"foo\":\"foo\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"3","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, method: 'POST', path: '/_refresh', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_refresh?pretty=true" -XPOST -<- 200 -{"ok":true,"_shards":{"total":10,"successful":5,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { body: { match: { foo: 'bar' } }, - timeout: 10000, - method: 'DELETE', - path: '/test_1/_query', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_query?pretty=true" -XDELETE -d "{\"match\":{\"foo\":\"bar\"}}" -<- 200 -{"ok":true,"_indices":{"test_1":{"_shards":{"total":5,"successful":5,"failed":0}}}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, method: 'POST', path: '/_refresh', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_refresh?pretty=true" -XPOST -<- 200 -{"ok":true,"_shards":{"total":10,"successful":5,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'POST', - path: '/test_1/_count', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_count?pretty=true" -XPOST -<- 200 -{"count":2,"_shards":{"total":5,"successful":5,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XHEAD -<- 404 - - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_1/test/1', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XHEAD -<- 404 - - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?routing=5" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_1/test/1', - query: { routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?routing=5" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XHEAD -<- 404 - - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { parent: '5', routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5&routing=4" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_1/test/1', - query: { parent: '5', routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5&routing=4" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_1/test/1', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5" -XHEAD -<- 404 - - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_1/test/1', - query: { routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?routing=4" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { settings: { index: { refresh_interval: -1, number_of_replicas: 0 } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"settings\":{\"index\":{\"refresh_interval\":-1,\"number_of_replicas\":0}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"green","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":0} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_1/test/1', - query: { realtime: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?realtime=true" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_1/test/1', - query: { realtime: false } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?realtime=false" -XHEAD -<- 404 - - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_1/test/1', - query: { realtime: false, refresh: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?realtime=false&refresh=true" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_1/_all/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_all/1?pretty=true" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar', title: 'howdy' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\",\"title\":\"howdy\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, method: 'POST', path: '/_refresh', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_refresh?pretty=true" -XPOST -<- 200 -{"ok":true,"_shards":{"total":10,"successful":5,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { body: { query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_explain', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_explain?pretty=true" -XPOST -d "{\"query\":{\"match_all\":{}}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","matched":true,"explanation":{"value":1.0,"description":"ConstantScore(cache(_type:test)), product of:","details":[{"value":1.0,"description":"boost"},{"value":1.0,"description":"queryNorm"}]}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'POST', - path: '/test_1/_refresh', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_refresh?pretty=true" -XPOST -<- 200 -{"ok":true,"_shards":{"total":10,"successful":5,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { body: { query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_explain', - query: { _source: false } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_explain?_source=false" -XPOST -d "{\"query\":{\"match_all\":{}}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","matched":true,"explanation":{"value":1.0,"description":"ConstantScore(cache(_type:test)), product of:","details":[{"value":1.0,"description":"boost"},{"value":1.0,"description":"queryNorm"}]}} - - -INFO -Request complete -DEBUG -starting request { body: { query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_explain', - query: { _source: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_explain?_source=true" -XPOST -d "{\"query\":{\"match_all\":{}}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","matched":true,"explanation":{"value":1.0,"description":"ConstantScore(cache(_type:test)), product of:","details":[{"value":1.0,"description":"boost"},{"value":1.0,"description":"queryNorm"}]},"get":{"exists":true, "_source" : {"include":{"field1":"v1","field2":"v2"},"count":1}}} - - -INFO -Request complete -DEBUG -starting request { body: { query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_explain', - query: { _source: 'include.field1' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_explain?_source=include.field1" -XPOST -d "{\"query\":{\"match_all\":{}}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","matched":true,"explanation":{"value":1.0,"description":"ConstantScore(cache(_type:test)), product of:","details":[{"value":1.0,"description":"boost"},{"value":1.0,"description":"queryNorm"}]},"get":{"exists":true, "_source" : {"include":{"field1":"v1"}}}} - - -INFO -Request complete -DEBUG -starting request { body: { query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_explain', - query: { _source_include: 'include.field1' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_explain?_source_include=include.field1" -XPOST -d "{\"query\":{\"match_all\":{}}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","matched":true,"explanation":{"value":1.0,"description":"ConstantScore(cache(_type:test)), product of:","details":[{"value":1.0,"description":"boost"},{"value":1.0,"description":"queryNorm"}]},"get":{"exists":true, "_source" : {"include":{"field1":"v1"}}}} - - -INFO -Request complete -DEBUG -starting request { body: { query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_explain', - query: { _source_include: 'include.field1,include.field2' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_explain?_source_include=include.field1%2Cinclude.field2" -XPOST -d "{\"query\":{\"match_all\":{}}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","matched":true,"explanation":{"value":1.0,"description":"ConstantScore(cache(_type:test)), product of:","details":[{"value":1.0,"description":"boost"},{"value":1.0,"description":"queryNorm"}]},"get":{"exists":true, "_source" : {"include":{"field2":"v2","field1":"v1"}}}} - - -INFO -Request complete -DEBUG -starting request { body: { query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_explain', - query: { _source_exclude: '*.field2', _source_include: 'include' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_explain?_source_exclude=*.field2&_source_include=include" -XPOST -d "{\"query\":{\"match_all\":{}}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","matched":true,"explanation":{"value":1.0,"description":"ConstantScore(cache(_type:test)), product of:","details":[{"value":1.0,"description":"boost"},{"value":1.0,"description":"queryNorm"}]},"get":{"exists":true, "_source" : {"include":{"field1":"v1"}}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'Hello: 中文' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/%E4%B8%AD%E6%96%87', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/%E4%B8%AD%E6%96%87?pretty=true" -XPOST -d "{\"foo\":\"Hello: 中文\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"中文","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/%E4%B8%AD%E6%96%87', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/%E4%B8%AD%E6%96%87?pretty=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"中文","_version":1,"exists":true, "_source" : {"foo":"Hello: 中文"}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/_all/%E4%B8%AD%E6%96%87', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_all/%E4%B8%AD%E6%96%87?pretty=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"中文","_version":1,"exists":true, "_source" : {"foo":"Hello: 中文"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/_all/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_all/1?pretty=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar', count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\",\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: 'foo' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=foo" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"foo":"bar"}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: 'foo,count' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=foo%2Ccount" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"count":1,"foo":"bar"}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: 'foo,count,_source' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=foo%2Ccount%2C_source" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar","count":1},"fields":{"count":1,"foo":"bar"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { parent: '中文' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=%E4%B8%AD%E6%96%87" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_parent,_routing', parent: '中文' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&parent=%E4%B8%AD%E6%96%87" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_routing":"中文","_parent":"中文"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 404 -{"_index":"test_1","_type":"test","_id":"1","exists":false} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?routing=5" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_routing', routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_routing&routing=5" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_routing":"5"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 404 -{"_index":"test_1","_type":"test","_id":"1","exists":false} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { parent: '5', routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5&routing=4" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_parent,_routing', parent: '5', routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&parent=5&routing=4" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_routing":"4","_parent":"5"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5" -XGET -<- 404 -{"_index":"test_1","_type":"test","_id":"1","exists":false} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?routing=4" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { settings: { index: { refresh_interval: -1, number_of_replicas: 0 } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"settings\":{\"index\":{\"refresh_interval\":-1,\"number_of_replicas\":0}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"green","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":0} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { realtime: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?realtime=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { realtime: false } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?realtime=false" -XGET -<- 404 -{"_index":"test_1","_type":"test","_id":"1","exists":false} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { realtime: false, refresh: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?realtime=false&refresh=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { _source: false } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?_source=false" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { _source: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?_source=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"include":{"field1":"v1","field2":"v2"},"count":1}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { _source: 'include.field1' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?_source=include.field1" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"include":{"field1":"v1"}}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { _source_include: 'include.field1' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?_source_include=include.field1" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"include":{"field1":"v1"}}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { _source_include: 'include.field1,include.field2' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?_source_include=include.field1%2Cinclude.field2" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"include":{"field2":"v2","field1":"v1"}}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { _source_exclude: '*.field2', _source_include: 'include' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?_source_exclude=*.field2&_source_include=include" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"include":{"field1":"v1"}}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: 'count', _source: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=count&_source=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"include":{"field1":"v1","field2":"v2"},"count":1},"fields":{"count":1}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - - DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 404 -{"error":"IndexMissingException[[test_1] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 404 -{"error":"IndexMissingException[[test_1] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?pretty=true" -XGET -<- 200 -{"foo":"bar"} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/_all/1/_source', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_all/1/_source?pretty=true" -XGET -<- 200 -{"foo":"bar"} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/_all/1/_source', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_all/1/_source?pretty=true" -XGET -<- 200 -{"foo":"bar"} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?parent=5" -XGET -<- 200 -{"foo":"bar"} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?pretty=true" -XGET -<- 404 - - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?routing=5" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: { routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?routing=5" -XGET -<- 200 -{"foo":"bar"} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?pretty=true" -XGET -<- 404 - - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { parent: '5', routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5&routing=4" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: { parent: '5', routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?parent=5&routing=4" -XGET -<- 200 -{"foo":"bar"} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?parent=5" -XGET -<- 404 - - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: { routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?routing=4" -XGET -<- 200 -{"foo":"bar"} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: { realtime: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?realtime=true" -XGET -<- 200 -{"foo":"bar"} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: { realtime: false } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?realtime=false" -XGET -<- 404 - - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: { realtime: false, refresh: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?realtime=false&refresh=true" -XGET -<- 200 -{"foo":"bar"} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?pretty=true" -XGET -<- 200 -{"include":{"field1":"v1","field2":"v2"},"count":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?pretty=true" -XGET -<- 200 -{"include":{"field1":"v1","field2":"v2"},"count":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?pretty=true" -XGET -<- 200 -{"include":{"field1":"v1","field2":"v2"},"count":1} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - - DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?pretty=true" -XGET -<- 404 -{"error":"IndexMissingException[[test_1] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_source', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_source?pretty=true" -XGET -<- 404 -{"error":"IndexMissingException[[test_1] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test-weird-index-%E4%B8%AD%E6%96%87/weird.type/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test-weird-index-%E4%B8%AD%E6%96%87/weird.type/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test-weird-index-中文","_type":"weird.type","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test-weird-index-%E4%B8%AD%E6%96%87/weird.type/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test-weird-index-%E4%B8%AD%E6%96%87/weird.type/1?pretty=true" -XGET -<- 200 -{"_index":"test-weird-index-中文","_type":"weird.type","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"hmNT4cWdR0eg5YVx3LGMhg","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/hmNT4cWdR0eg5YVx3LGMhg', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/hmNT4cWdR0eg5YVx3LGMhg?pretty=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"hmNT4cWdR0eg5YVx3LGMhg","_version":1,"exists":true, "_source" : {"foo":"bar"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { op_type: 'create' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?op_type=create" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - ignore: [ 409, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { op_type: 'create' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?op_type=create" -XPOST -d "{\"foo\":\"bar\"}" -<- 409 -{"error":"DocumentAlreadyExistsException[[test_1][2] [test][1]: document already exists]","status":409} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - ignore: [ 409, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { version: 1 } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?version=1" -XPOST -d "{\"foo\":\"bar\"}" -<- 409 -{"error":"VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [2], provided [1]]","status":409} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { version: 2 } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?version=2" -XPOST -d "{\"foo\":\"bar\"}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":3} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { version: 5, version_type: 'external' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?version=5&version_type=external" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - ignore: [ 409, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { version: 5, version_type: 'external' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?version=5&version_type=external" -XPOST -d "{\"foo\":\"bar\"}" -<- 409 -{"error":"VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [5], provided [5]]","status":409} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { version: 6, version_type: 'external' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?version=6&version_type=external" -XPOST -d "{\"foo\":\"bar\"}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":6} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?routing=5" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_routing', routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_routing&routing=5" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_routing":"5"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 404 -{"_index":"test_1","_type":"test","_id":"1","exists":false} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 500 -{"error":"RoutingMissingException[routing is required for [test_1]/[test]/[1]]","status":500} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_parent,_routing', parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&parent=5" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_routing":"5","_parent":"5"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 404 -{"_index":"test_1","_type":"test","_id":"1","exists":false} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { parent: '5', routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5&routing=4" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_parent,_routing', parent: '5', routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&parent=5&routing=4" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_routing":"4","_parent":"5"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=5" -XGET -<- 404 -{"_index":"test_1","_type":"test","_id":"1","exists":false} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?routing=4" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { settings: { 'index.refresh_interval': -1 } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"settings\":{\"index.refresh_interval\":-1}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { query: { term: { _id: 1 } } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_search?pretty=true" -XPOST -d "{\"query\":{\"term\":{\"_id\":1}}}" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":0,"max_score":null,"hits":[]}} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/2', - query: { refresh: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2?refresh=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { query: { term: { _id: 2 } } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_search?pretty=true" -XPOST -d "{\"query\":{\"term\":{\"_id\":2}}}" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"2","_score":1.0, "_source" : {"foo":"bar"}}]}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _timestamp: { enabled: 1, store: 'yes' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_timestamp\":{\"enabled\":1,\"store\":\"yes\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_timestamp' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_timestamp" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_timestamp":1384200417156}} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { timestamp: 1372011280000 } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?timestamp=1372011280000" -XPOST -d "{\"foo\":\"bar\"}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_timestamp' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_timestamp" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":2,"exists":true,"fields":{"_timestamp":1372011280000}} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { timestamp: '2013-06-23T18:14:40.000Z' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?timestamp=2013-06-23T18%3A14%3A40.000Z" -XPOST -d "{\"foo\":\"bar\"}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":3} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_timestamp' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_timestamp" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":3,"exists":true,"fields":{"_timestamp":1372011280000}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _ttl: { enabled: 1, store: 'yes', default: '10s' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_ttl\":{\"enabled\":1,\"store\":\"yes\",\"default\":\"10s\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_ttl' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_ttl" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_ttl":9994}} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { ttl: 100000 } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?ttl=100000" -XPOST -d "{\"foo\":\"bar\"}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_ttl' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_ttl" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":2,"exists":true,"fields":{"_ttl":99995}} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { ttl: '20s' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?ttl=20s" -XPOST -d "{\"foo\":\"bar\"}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":3} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_ttl' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_ttl" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":3,"exists":true,"fields":{"_ttl":19997}} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { timestamp: '2013-06-23T18:14:40.000Z', ttl: '20s' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?timestamp=2013-06-23T18%3A14%3A40.000Z&ttl=20s" -XPOST -d "{\"foo\":\"bar\"}" -<- 400 -{"error":"MapperParsingException[failed to parse [_ttl]]; nested: AlreadyExpiredException[already expired [test_1]/[test]/[1] due to expire at [1372011300000] and was processed at [1384200417446]]; ","status":400} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - - - DEBUG -starting request { method: 'HEAD', path: '/', timeout: 100 } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/?pretty=true" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_analyze', - query: { text: 'Foo Bar' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_analyze?text=Foo%20Bar" -XGET -<- 200 -{"tokens":[{"token":"foo","start_offset":0,"end_offset":3,"type":"<ALPHANUM>","position":1},{"token":"bar","start_offset":4,"end_offset":7,"type":"<ALPHANUM>","position":2}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { method: 'HEAD', path: '/', timeout: 100 } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/?pretty=true" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_analyze', - query: { filters: 'lowercase', text: 'Foo Bar', tokenizer: 'keyword' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_analyze?filters=lowercase&text=Foo%20Bar&tokenizer=keyword" -XGET -<- 200 -{"tokens":[{"token":"foo bar","start_offset":0,"end_offset":7,"type":"word","position":1}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { method: 'HEAD', path: '/', timeout: 100 } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/?pretty=true" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { body: { mappings: { test: { properties: { text: { type: 'string', analyzer: 'whitespace' } } } } }, - timeout: 10000, - method: 'PUT', - path: '/test', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"properties\":{\"text\":{\"type\":\"string\",\"analyzer\":\"whitespace\"}}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test/_analyze', - query: { field: 'text', text: 'Foo Bar!' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test/_analyze?field=text&text=Foo%20Bar!" -XGET -<- 200 -{"tokens":[{"token":"Foo","start_offset":0,"end_offset":3,"type":"word","position":1},{"token":"Bar!","start_offset":4,"end_offset":8,"type":"word","position":2}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_analyze', - query: { text: 'tHE BLACK and white! AND red', format: 'text' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_analyze?text=tHE%20BLACK%20and%20white!%20AND%20red&format=text" -XGET -<- 200 -{"tokens":"[black:4->9:<ALPHANUM>]\n\n4: \n[white:14->19:<ALPHANUM>]\n\n6: \n[red:25->28:<ALPHANUM>]\n"} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, - method: 'POST', - path: '/_cache/clear', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cache/clear?pretty=true" -XPOST -<- 200 -{"ok":true,"_shards":{"total":0,"successful":0,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'PUT', path: '/testind', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/testind?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { routing: 'routing value' }, - timeout: 10000, - method: 'PUT', - path: '/testind/_alias/testali', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/testind/_alias/testali?pretty=true" -XPUT -d "{\"routing\":\"routing value\"}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_alias/testali', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_alias/testali?pretty=true" -XGET -<- 200 -{"testind":{"aliases":{"testali":{"index_routing":"routing value","search_routing":"routing value"}}}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/testind/_alias/testali', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/testind/_alias/testali?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/testind/_alias/testali', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/testind/_alias/testali?pretty=true" -XGET -<- 404 -{"error":"alias [testali] missing","status":404} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test_type: { properties: { text: { type: 'string', analyzer: 'whitespace' } } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_index', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -d "{\"mappings\":{\"test_type\":{\"properties\":{\"text\":{\"type\":\"string\",\"analyzer\":\"whitespace\"}}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_index/test_type', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/test_type?pretty=true" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/test_index/test_type', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/test_type?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_index/test_type', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/test_type?pretty=true" -XHEAD -<- 404 - - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_index', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XHEAD -<- 404 - - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, method: 'PUT', path: '/test_index', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/test_index', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - - - - - DEBUG -starting request { body: { mappings: { test_type: { properties: { text: { type: 'string' } } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_index', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -d "{\"mappings\":{\"test_type\":{\"properties\":{\"text\":{\"type\":\"string\"}}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_mapping/field/text', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_mapping/field/text?pretty=true" -XGET -<- 200 -{"test_index":{"test_type":{"text":{"full_name":"text", "mapping" : {"text":{"type":"string"}}}}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { mappings: { test_type: { properties: { text: { type: 'string' } } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_index', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -d "{\"mappings\":{\"test_type\":{\"properties\":{\"text\":{\"type\":\"string\"}}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_index/_mapping/field/text', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_mapping/field/text?pretty=true" -XGET -<- 200 -{"test_index":{"test_type":{"text":{"full_name":"text", "mapping" : {"text":{"type":"string"}}}}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { mappings: { test_type: { properties: { text: { type: 'string' } } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_index', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -d "{\"mappings\":{\"test_type\":{\"properties\":{\"text\":{\"type\":\"string\"}}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_index/test_type/_mapping/field/text', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/test_type/_mapping/field/text?pretty=true" -XGET -<- 200 -{"test_index":{"test_type":{"text":{"full_name":"text", "mapping" : {"text":{"type":"string"}}}}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { mappings: { test_type: { properties: { text: { type: 'string' } } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_index', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -d "{\"mappings\":{\"test_type\":{\"properties\":{\"text\":{\"type\":\"string\"}}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_index/test_type/_mapping/field/text%2Ctext1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/test_type/_mapping/field/text%2Ctext1?pretty=true" -XGET -<- 200 -{"test_index":{"test_type":{"text":{"full_name":"text", "mapping" : {"text":{"type":"string"}}}}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { mappings: { test_type: { properties: { text: { type: 'string' } } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_index', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -d "{\"mappings\":{\"test_type\":{\"properties\":{\"text\":{\"type\":\"string\"}}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_index/test_type/_mapping/field/text', - query: { include_defaults: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/test_type/_mapping/field/text?include_defaults=true" -XGET -<- 200 -{"test_index":{"test_type":{"text":{"full_name":"text", "mapping" : {"text":{"type":"string","index_name":"text","boost":1.0,"index":"analyzed","store":false,"term_vector":"no","omit_norms":false,"index_options":"positions","analyzer":"default","postings_format":"default","doc_values_format":"default","similariry":"default","fielddata":{},"null_value":null,"include_in_all":false,"position_offset_gap":0,"search_quote_analyzer":"default","ignore_above":-1}}}}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test_type: { properties: { text: { type: 'string', analyzer: 'whitespace' } } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_index', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -d "{\"mappings\":{\"test_type\":{\"properties\":{\"text\":{\"type\":\"string\",\"analyzer\":\"whitespace\"}}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_index/test_type/_mapping/field/not_text', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/test_type/_mapping/field/not_text?pretty=true" -XGET -<- 404 -{} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test_type: { properties: { text: { type: 'string', analyzer: 'whitespace' } } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_index', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -d "{\"mappings\":{\"test_type\":{\"properties\":{\"text\":{\"type\":\"string\",\"analyzer\":\"whitespace\"}}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_index/not_test_type/_mapping/field/text', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/not_test_type/_mapping/field/text?pretty=true" -XGET -<- 404 -{} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_index/type/_mapping/field/field', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/type/_mapping/field/field?pretty=true" -XGET -<- 404 -{"error":"IndexMissingException[[test_index] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - - - DEBUG -starting request { body: { mappings: { test_type: { properties: { text: { type: 'string', analyzer: 'whitespace' } } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_index', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -d "{\"mappings\":{\"test_type\":{\"properties\":{\"text\":{\"type\":\"string\",\"analyzer\":\"whitespace\"}}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_index/_mapping', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_mapping?pretty=true" -XGET -<- 200 -{"test_index":{"test_type":{"properties":{"text":{"type":"string","analyzer":"whitespace"}}}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { mappings: { test_type: { properties: { text: { type: 'string', analyzer: 'whitespace' } } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_index', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -d "{\"mappings\":{\"test_type\":{\"properties\":{\"text\":{\"type\":\"string\",\"analyzer\":\"whitespace\"}}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { mappings: { test_type: { properties: { text: { type: 'string', analyzer: 'whitespace' } } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_index', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -d "{\"mappings\":{\"test_type\":{\"properties\":{\"text\":{\"type\":\"string\",\"analyzer\":\"whitespace\"}}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_index/test_type/_mapping', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/test_type/_mapping?pretty=true" -XGET -<- 200 -{"test_index":{"test_type":{"properties":{"text":{"type":"string","analyzer":"whitespace"}}}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test_type: { properties: { text: { type: 'string', analyzer: 'whitespace' } } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_index', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -d "{\"mappings\":{\"test_type\":{\"properties\":{\"text\":{\"type\":\"string\",\"analyzer\":\"whitespace\"}}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_index/not_test_type/_mapping', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/not_test_type/_mapping?pretty=true" -XGET -<- 404 -{"error":"TypeMissingException[[test_index] type[not_test_type] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_index/not_test_type/_mapping', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/not_test_type/_mapping?pretty=true" -XGET -<- 404 -{"error":"IndexMissingException[[test_index] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - - DEBUG -starting request { body: - { template: 'test-*', - settings: { number_of_shards: 1, number_of_replicas: 0 } }, - timeout: 10000, - method: 'PUT', - path: '/_template/test', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_template/test?pretty=true" -XPUT -d "{\"template\":\"test-*\",\"settings\":{\"number_of_shards\":1,\"number_of_replicas\":0}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_template/test', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_template/test?pretty=true" -XGET -<- 200 -{"test":{"order":0,"template":"test-*","settings":{"index.number_of_replicas":"0","index.number_of_shards":"1"},"mappings":{}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { body: { template: 'test-*', settings: { number_of_shards: 1 } }, - timeout: 10000, - method: 'PUT', - path: '/_template/test', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_template/test?pretty=true" -XPUT -d "{\"template\":\"test-*\",\"settings\":{\"number_of_shards\":1}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { template: 'test2-*', settings: { number_of_shards: 1 } }, - timeout: 10000, - method: 'PUT', - path: '/_template/test2', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_template/test2?pretty=true" -XPUT -d "{\"template\":\"test2-*\",\"settings\":{\"number_of_shards\":1}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, method: 'GET', path: '/_template', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_template?pretty=true" -XGET -<- 200 -{"test":{"order":0,"template":"test-*","settings":{"index.number_of_shards":"1"},"mappings":{}},"test2":{"order":0,"template":"test2-*","settings":{"index.number_of_shards":"1"},"mappings":{}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - - DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/_template/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_template/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/_template/test', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_template/test?pretty=true" -XGET -<- 404 -{} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/_template/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_template/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'PUT', path: '/test_index', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'POST', - path: '/test_index/_close', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_close?pretty=true" -XPOST -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 403, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_index/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_search?pretty=true" -XGET -<- 403 -{"error":"ClusterBlockException[blocked by: [FORBIDDEN/4/index closed];]","status":403} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'POST', - path: '/test_index/_open', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_open?pretty=true" -XPOST -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_index/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_search?pretty=true" -XGET -<- 200 -{"took":0,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":0,"max_score":null,"hits":[]}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'PUT', path: '/testing', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/testing?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'POST', - path: '/testing/_optimize', - query: { max_num_segments: 1 } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/testing/_optimize?max_num_segments=1" -XPOST -<- 200 -{"ok":true,"_shards":{"total":10,"successful":3,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'PUT', path: '/test_index', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/_alias/test_alias', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_alias/test_alias?pretty=true" -XHEAD -<- 404 - - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'PUT', - path: '/test_index/_alias/test_alias', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_alias/test_alias?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/_alias/test_alias', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_alias/test_alias?pretty=true" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_alias/test_alias', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_alias/test_alias?pretty=true" -XGET -<- 200 -{"test_index":{"aliases":{"test_alias":{}}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'PUT', path: '/test_index', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { test_type: { properties: { text: { type: 'string', analyzer: 'whitespace' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_index/test_type/_mapping', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/test_type/_mapping?pretty=true" -XPUT -d "{\"test_type\":{\"properties\":{\"text\":{\"type\":\"string\",\"analyzer\":\"whitespace\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_index/_mapping', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_mapping?pretty=true" -XGET -<- 200 -{"test_index":{"test_type":{"properties":{"text":{"type":"string","analyzer":"whitespace"}}}}} - - -INFO -Request complete -DEBUG -starting request { body: - { test_type: - { properties: - { text: - { type: 'multi_field', - fields: - { text: { type: 'string', analyzer: 'whitespace' }, - text_raw: { type: 'string', index: 'not_analyzed' } } } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_index/test_type/_mapping', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/test_type/_mapping?pretty=true" -XPUT -d "{\"test_type\":{\"properties\":{\"text\":{\"type\":\"multi_field\",\"fields\":{\"text\":{\"type\":\"string\",\"analyzer\":\"whitespace\"},\"text_raw\":{\"type\":\"string\",\"index\":\"not_analyzed\"}}}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_index/_mapping', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_mapping?pretty=true" -XGET -<- 200 -{"test_index":{"test_type":{"properties":{"text":{"type":"multi_field","fields":{"text":{"type":"string","analyzer":"whitespace"},"text_raw":{"type":"string","index":"not_analyzed","omit_norms":true,"index_options":"docs","include_in_all":false}}}}}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { settings: { index: { number_of_replicas: 0 } } }, - timeout: 10000, - method: 'PUT', - path: '/test-index', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test-index?pretty=true" -XPUT -d "{\"settings\":{\"index\":{\"number_of_replicas\":0}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test-index/_settings', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test-index/_settings?pretty=true" -XGET -<- 200 -{"test-index":{"settings":{"index.number_of_replicas":"0","index.number_of_shards":"5","index.version.created":"1000001","index.uuid":"sU4CXkW7SbqDsA2cwpOO4w"}}} - - -INFO -Request complete -DEBUG -starting request { body: { number_of_replicas: 1 }, - timeout: 10000, - method: 'PUT', - path: '/_settings', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_settings?pretty=true" -XPUT -d "{\"number_of_replicas\":1}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, method: 'GET', path: '/_settings', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_settings?pretty=true" -XGET -<- 200 -{"test-index":{"settings":{"index.number_of_replicas":"1","index.number_of_shards":"5","index.version.created":"1000001","index.uuid":"sU4CXkW7SbqDsA2cwpOO4w"}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: - { template: 'test-*', - settings: { number_of_shards: 1, number_of_replicas: 0 } }, - timeout: 10000, - method: 'PUT', - path: '/_template/test', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_template/test?pretty=true" -XPUT -d "{\"template\":\"test-*\",\"settings\":{\"number_of_shards\":1,\"number_of_replicas\":0}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_template/test', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_template/test?pretty=true" -XGET -<- 200 -{"test":{"order":0,"template":"test-*","settings":{"index.number_of_replicas":"0","index.number_of_shards":"1"},"mappings":{}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'PUT', path: '/test_index', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_index/_warmer/test_warmer', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_warmer/test_warmer?pretty=true" -XGET -<- 404 -{"error":"IndexMissingException[[test_index] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { body: { query: { match_all: {} } }, - timeout: 10000, - method: 'PUT', - path: '/test_index/_warmer/test_warmer', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_warmer/test_warmer?pretty=true" -XPUT -d "{\"query\":{\"match_all\":{}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_index/_warmer/test_warmer', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_warmer/test_warmer?pretty=true" -XGET -<- 200 -{"test_index":{"warmers":{"test_warmer":{"types":[],"source":{"query":{"match_all":{}}}}}}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'DELETE', - path: '/test_index/_warmer', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_warmer?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/test_index/_warmer/test_warmer', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_warmer/test_warmer?pretty=true" -XGET -<- 404 -{"error":"IndexMissingException[[test_index] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'GET', path: '/_segments', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_segments?pretty=true" -XGET -<- 200 -{"ok":true,"_shards":{"total":0,"successful":0,"failed":0},"indices":{}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, - method: 'POST', - path: '/_gateway/snapshot', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_gateway/snapshot?pretty=true" -XPOST -<- 200 -{"ok":true,"_shards":{"total":0,"successful":0,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'GET', path: '/_stats', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_stats?pretty=true" -XGET -<- 200 -{"ok":true,"_shards":{"total":0,"successful":0,"failed":0},"_all":{"primaries":{},"total":{}},"indices":{}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'GET', path: '/_status', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_status?pretty=true" -XGET -<- 200 -{"ok":true,"_shards":{"total":0,"successful":0,"failed":0},"indices":{}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'GET', - path: '/not_here/_status', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/not_here/_status?pretty=true" -XGET -<- 404 -{"error":"IndexMissingException[[not_here] missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'PUT', path: '/test_index', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/_alias/test_alias', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_alias/test_alias?pretty=true" -XHEAD -<- 404 - - - -INFO -Request complete -DEBUG -starting request { body: - { actions: - [ { add: - { index: 'test_index', - alias: 'test_alias', - routing: 'routing_value' } }, - [length]: 1 ] }, - timeout: 10000, - method: 'POST', - path: '/_aliases', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_aliases?pretty=true" -XPOST -d "{\"actions\":[{\"add\":{\"index\":\"test_index\",\"alias\":\"test_alias\",\"routing\":\"routing_value\"}}]}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - castExists: true, - method: 'HEAD', - path: '/_alias/test_alias', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_alias/test_alias?pretty=true" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_index/_aliases', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/_aliases?pretty=true" -XGET -<- 200 -{"test_index":{"aliases":{"test_alias":{"index_routing":"routing_value","search_routing":"routing_value"}}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'PUT', path: '/testing', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/testing?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_validate/query', - query: { q: 'query string' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_validate/query?q=query%20string" -XGET -<- 200 -{"valid":true,"_shards":{"total":1,"successful":1,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { body: { query: { invalid_query: {} } }, - timeout: 10000, - method: 'POST', - path: '/_validate/query', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_validate/query?pretty=true" -XPOST -d "{\"query\":{\"invalid_query\":{}}}" -<- 200 -{"valid":false,"_shards":{"total":1,"successful":1,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'GET', path: '/', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/?pretty=true" -XGET -<- 200 -{ - "ok" : true, - "status" : 200, - "name" : "Absalom", - "version" : { - "number" : "1.0.0.Beta1", - "build_hash" : "d43f3d83d8bae03e6d202b9d7037013cae70a954", - "build_timestamp" : "2013-10-31T00:10:20Z", - "build_snapshot" : true, - "lucene_version" : "4.5.1" - }, - "tagline" : "You Know, for Search" -} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'GET', path: '/', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/?pretty=true" -XGET -<- 200 -{ - "ok" : true, - "status" : 200, - "name" : "Absalom", - "version" : { - "number" : "1.0.0.Beta1", - "build_hash" : "d43f3d83d8bae03e6d202b9d7037013cae70a954", - "build_timestamp" : "2013-10-31T00:10:20Z", - "build_snapshot" : true, - "lucene_version" : "4.5.1" - }, - "tagline" : "You Know, for Search" -} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'PUT', path: '/test_2', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_2?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'POST', - path: '/_flush', - query: { refresh: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_flush?refresh=true" -XPOST -<- 200 -{"ok":true,"_shards":{"total":20,"successful":10,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { body: - { docs: - [ { _index: 'test_2', _type: 'test', _id: 1 }, - { _index: 'test_1', _type: 'none', _id: 1 }, - { _index: 'test_1', _type: 'test', _id: 2 }, - { _index: 'test_1', _type: 'test', _id: 1 }, - [length]: 4 ] }, - timeout: 10000, - method: 'POST', - path: '/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_mget?pretty=true" -XPOST -d "{\"docs\":[{\"_index\":\"test_2\",\"_type\":\"test\",\"_id\":1},{\"_index\":\"test_1\",\"_type\":\"none\",\"_id\":1},{\"_index\":\"test_1\",\"_type\":\"test\",\"_id\":2},{\"_index\":\"test_1\",\"_type\":\"test\",\"_id\":1}]}" -<- 200 -{"docs":[{"_index":"test_2","_type":"test","_id":"1","exists":false},{"_index":"test_1","_type":"none","_id":"1","exists":false},{"_index":"test_1","_type":"test","_id":"2","exists":false},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'PUT', path: '/test_2', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_2?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":10,"active_shards":10,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":10} - - -INFO -Request complete -DEBUG -starting request { body: - { docs: - [ { _index: 'test_2', _id: 1 }, - { _type: 'none', _id: 1 }, - { _id: 2 }, - { _id: 1 }, - [length]: 4 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_mget?pretty=true" -XPOST -d "{\"docs\":[{\"_index\":\"test_2\",\"_id\":1},{\"_type\":\"none\",\"_id\":1},{\"_id\":2},{\"_id\":1}]}" -<- 200 -{"docs":[{"_index":"test_2","_type":"test","_id":"1","exists":false},{"_index":"test_1","_type":"none","_id":"1","exists":false},{"_index":"test_1","_type":"test","_id":"2","exists":false},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { docs: [ { _index: 'test_2', _type: 'test', _id: 1 }, [length]: 1 ] }, - timeout: 10000, - method: 'POST', - path: '/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_mget?pretty=true" -XPOST -d "{\"docs\":[{\"_index\":\"test_2\",\"_type\":\"test\",\"_id\":1}]}" -<- 200 -{"docs":[{"_index":"test_2","_type":"test","_id":"1","error":"[test_2] missing"}]} - - -INFO -Request complete -DEBUG -starting request { body: - { index: 'test_2', - docs: [ { _index: 'test_1', _type: 'test', _id: 1 }, [length]: 1 ] }, - timeout: 10000, - method: 'POST', - path: '/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_mget?pretty=true" -XPOST -d "{\"index\":\"test_2\",\"docs\":[{\"_index\":\"test_1\",\"_type\":\"test\",\"_id\":1}]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { docs: [ { _index: 'test_1', _type: 'test' }, [length]: 1 ] }, - timeout: 10000, - method: 'POST', - path: '/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_mget?pretty=true" -XPOST -d "{\"docs\":[{\"_index\":\"test_1\",\"_type\":\"test\"}]}" -<- 500 -{"error":"ActionRequestValidationException[Validation Failed: 1: id is missing for doc 0;]","status":500} - - -INFO -Request complete -DEBUG -starting request { body: { docs: [ { _type: 'test', _id: 1 }, [length]: 1 ] }, - timeout: 10000, - method: 'POST', - path: '/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_mget?pretty=true" -XPOST -d "{\"docs\":[{\"_type\":\"test\",\"_id\":1}]}" -<- 500 -{"error":"ActionRequestValidationException[Validation Failed: 1: index is missing for doc 0;]","status":500} - - -INFO -Request complete -DEBUG -starting request { body: { docs: [ [length]: 0 ] }, - timeout: 10000, - method: 'POST', - path: '/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_mget?pretty=true" -XPOST -d "{\"docs\":[]}" -<- 500 -{"error":"ActionRequestValidationException[Validation Failed: 1: no documents to get;]","status":500} - - -INFO -Request complete -DEBUG -starting request { body: {}, - timeout: 10000, - method: 'POST', - path: '/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_mget?pretty=true" -XPOST -d "{}" -<- 500 -{"error":"ActionRequestValidationException[Validation Failed: 1: no documents to get;]","status":500} - - -INFO -Request complete -DEBUG -starting request { body: { docs: [ { _index: 'test_1', _id: 1 }, [length]: 1 ] }, - timeout: 10000, - method: 'POST', - path: '/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_mget?pretty=true" -XPOST -d "{\"docs\":[{\"_index\":\"test_1\",\"_id\":1}]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'baz' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test_2/2', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test_2/2?pretty=true" -XPOST -d "{\"foo\":\"baz\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test_2","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { ids: [ 1, 2, [length]: 2 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_mget?pretty=true" -XPOST -d "{\"ids\":[1,2]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"2","exists":false}]} - - -INFO -Request complete -DEBUG -starting request { body: { ids: [ 1, 2, [length]: 2 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_mget?pretty=true" -XPOST -d "{\"ids\":[1,2]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}},{"_index":"test_1","_type":"test_2","_id":"2","_version":1,"exists":true, "_source" : {"foo":"baz"}}]} - - -INFO -Request complete -DEBUG -starting request { body: { ids: [ [length]: 0 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_mget?pretty=true" -XPOST -d "{\"ids\":[]}" -<- 500 -{"error":"ActionRequestValidationException[Validation Failed: 1: no documents to get;]","status":500} - - -INFO -Request complete -DEBUG -starting request { body: {}, - timeout: 10000, - method: 'POST', - path: '/test_1/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_mget?pretty=true" -XPOST -d "{}" -<- 500 -{"error":"ActionRequestValidationException[Validation Failed: 1: no documents to get;]","status":500} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: - { docs: - [ { _id: 1 }, - { _id: 1, fields: 'foo' }, - { _id: 1, fields: [ 'foo', [length]: 1 ] }, - { _id: 1, fields: [ 'foo', '_source', [length]: 2 ] }, - [length]: 4 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_mget?pretty=true" -XPOST -d "{\"docs\":[{\"_id\":1},{\"_id\":1,\"fields\":\"foo\"},{\"_id\":1,\"fields\":[\"foo\"]},{\"_id\":1,\"fields\":[\"foo\",\"_source\"]}]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"},"fields":{"foo":"bar"}}]} - - -INFO -Request complete -DEBUG -starting request { body: - { docs: - [ { _id: 1 }, - { _id: 1, fields: 'foo' }, - { _id: 1, fields: [ 'foo', [length]: 1 ] }, - { _id: 1, fields: [ 'foo', '_source', [length]: 2 ] }, - [length]: 4 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_mget', - query: { fields: 'foo' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_mget?fields=foo" -XPOST -d "{\"docs\":[{\"_id\":1},{\"_id\":1,\"fields\":\"foo\"},{\"_id\":1,\"fields\":[\"foo\"]},{\"_id\":1,\"fields\":[\"foo\",\"_source\"]}]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"},"fields":{"foo":"bar"}}]} - - -INFO -Request complete -DEBUG -starting request { body: - { docs: - [ { _id: 1 }, - { _id: 1, fields: 'foo' }, - { _id: 1, fields: [ 'foo', [length]: 1 ] }, - { _id: 1, fields: [ 'foo', '_source', [length]: 2 ] }, - [length]: 4 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_mget', - query: { fields: 'foo' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_mget?fields=foo" -XPOST -d "{\"docs\":[{\"_id\":1},{\"_id\":1,\"fields\":\"foo\"},{\"_id\":1,\"fields\":[\"foo\"]},{\"_id\":1,\"fields\":[\"foo\",\"_source\"]}]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"},"fields":{"foo":"bar"}}]} - - -INFO -Request complete -DEBUG -starting request { body: - { docs: - [ { _id: 1 }, - { _id: 1, fields: 'foo' }, - { _id: 1, fields: [ 'foo', [length]: 1 ] }, - { _id: 1, fields: [ 'foo', '_source', [length]: 2 ] }, - [length]: 4 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_mget', - query: { fields: 'foo,_source' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_mget?fields=foo%2C_source" -XPOST -d "{\"docs\":[{\"_id\":1},{\"_id\":1,\"fields\":\"foo\"},{\"_id\":1,\"fields\":[\"foo\"]},{\"_id\":1,\"fields\":[\"foo\",\"_source\"]}]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"},"fields":{"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"},"fields":{"foo":"bar"}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { parent: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=4" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/2', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2?parent=5" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: - { docs: - [ { _id: 1 }, - { _id: 1, - parent: 5, - fields: [ '_parent', '_routing', [length]: 2 ] }, - { _id: 1, - parent: 4, - fields: [ '_parent', '_routing', [length]: 2 ] }, - { _id: 2, - parent: 5, - fields: [ '_parent', '_routing', [length]: 2 ] }, - [length]: 4 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_mget?pretty=true" -XPOST -d "{\"docs\":[{\"_id\":1},{\"_id\":1,\"parent\":5,\"fields\":[\"_parent\",\"_routing\"]},{\"_id\":1,\"parent\":4,\"fields\":[\"_parent\",\"_routing\"]},{\"_id\":2,\"parent\":5,\"fields\":[\"_parent\",\"_routing\"]}]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","exists":false},{"_index":"test_1","_type":"test","_id":"1","exists":false},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_routing":"4","_parent":"4"}},{"_index":"test_1","_type":"test","_id":"2","_version":1,"exists":true,"fields":{"_routing":"5","_parent":"5"}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?routing=5" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: - { docs: - [ { _id: 1 }, - { _id: 1, routing: 4 }, - { _id: 1, routing: 5 }, - [length]: 3 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_mget', - query: { fields: '_routing' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_mget?fields=_routing" -XPOST -d "{\"docs\":[{\"_id\":1},{\"_id\":1,\"routing\":4},{\"_id\":1,\"routing\":5}]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","exists":false},{"_index":"test_1","_type":"test","_id":"1","exists":false},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_routing":"5"}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { parent: '4', routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?parent=4&routing=5" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: - { docs: - [ { _id: 1 }, - { _id: 1, parent: 4 }, - { _id: 1, parent: 4, routing: 5 }, - [length]: 3 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_mget', - query: { fields: '_routing,_parent' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_mget?fields=_routing%2C_parent" -XPOST -d "{\"docs\":[{\"_id\":1},{\"_id\":1,\"parent\":4},{\"_id\":1,\"parent\":4,\"routing\":5}]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","exists":false},{"_index":"test_1","_type":"test","_id":"1","exists":false},{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_parent":"4","_routing":"5"}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { settings: { index: { refresh_interval: -1, number_of_replicas: 0 } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"settings\":{\"index\":{\"refresh_interval\":-1,\"number_of_replicas\":0}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"green","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":0} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { ids: [ 1, [length]: 1 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_mget', - query: { realtime: false } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_mget?realtime=false" -XPOST -d "{\"ids\":[1]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","exists":false}]} - - -INFO -Request complete -DEBUG -starting request { body: { ids: [ 1, [length]: 1 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_mget', - query: { realtime: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_mget?realtime=true" -XPOST -d "{\"ids\":[1]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}}]} - - -INFO -Request complete -DEBUG -starting request { body: { ids: [ 1, [length]: 1 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_mget', - query: { realtime: false, refresh: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_mget?realtime=false&refresh=true" -XPOST -d "{\"ids\":[1]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar"}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - - - - - - - - DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/2', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: - { docs: - [ { _index: 'test_1', _type: 'test', _id: '1', _source: false }, - { _index: 'test_1', _type: 'test', _id: '2', _source: true }, - [length]: 2 ] }, - timeout: 10000, - method: 'POST', - path: '/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_mget?pretty=true" -XPOST -d "{\"docs\":[{\"_index\":\"test_1\",\"_type\":\"test\",\"_id\":\"1\",\"_source\":false},{\"_index\":\"test_1\",\"_type\":\"test\",\"_id\":\"2\",\"_source\":true}]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true},{"_index":"test_1","_type":"test","_id":"2","_version":1,"exists":true, "_source" : {"include":{"field1":"v1","field2":"v2"},"count":1}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/2', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: - { docs: - [ { _index: 'test_1', - _type: 'test', - _id: '1', - _source: 'include.field1' }, - { _index: 'test_1', - _type: 'test', - _id: '2', - _source: [ 'include.field1', [length]: 1 ] }, - [length]: 2 ] }, - timeout: 10000, - method: 'POST', - path: '/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_mget?pretty=true" -XPOST -d "{\"docs\":[{\"_index\":\"test_1\",\"_type\":\"test\",\"_id\":\"1\",\"_source\":\"include.field1\"},{\"_index\":\"test_1\",\"_type\":\"test\",\"_id\":\"2\",\"_source\":[\"include.field1\"]}]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"include":{"field1":"v1"}}},{"_index":"test_1","_type":"test","_id":"2","_version":1,"exists":true, "_source" : {"include":{"field1":"v1"}}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/2', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: - { docs: - [ { _index: 'test_1', - _type: 'test', - _id: '1', - _source: { include: 'include.field1' } }, - { _index: 'test_1', - _type: 'test', - _id: '2', - _source: { include: [ 'include.field1', [length]: 1 ] } }, - [length]: 2 ] }, - timeout: 10000, - method: 'POST', - path: '/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_mget?pretty=true" -XPOST -d "{\"docs\":[{\"_index\":\"test_1\",\"_type\":\"test\",\"_id\":\"1\",\"_source\":{\"include\":\"include.field1\"}},{\"_index\":\"test_1\",\"_type\":\"test\",\"_id\":\"2\",\"_source\":{\"include\":[\"include.field1\"]}}]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"include":{"field1":"v1"}}},{"_index":"test_1","_type":"test","_id":"2","_version":1,"exists":true, "_source" : {"include":{"field1":"v1"}}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/2', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: - { docs: - [ { _index: 'test_1', - _type: 'test', - _id: '1', - _source: - { include: [ 'include', [length]: 1 ], - exclude: [ '*.field2', [length]: 1 ] } }, - [length]: 1 ] }, - timeout: 10000, - method: 'POST', - path: '/_mget', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_mget?pretty=true" -XPOST -d "{\"docs\":[{\"_index\":\"test_1\",\"_type\":\"test\",\"_id\":\"1\",\"_source\":{\"include\":[\"include\"],\"exclude\":[\"*.field2\"]}}]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"include":{"field1":"v1"}}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/2', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { ids: [ 1, 2, [length]: 2 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/_mget', - query: { _source: false } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_mget?_source=false" -XPOST -d "{\"ids\":[1,2]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true},{"_index":"test_1","_type":"test","_id":"2","_version":1,"exists":true}]} - - -INFO -Request complete -DEBUG -starting request { body: { ids: [ 1, 2, [length]: 2 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/_mget', - query: { _source: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_mget?_source=true" -XPOST -d "{\"ids\":[1,2]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"include":{"field1":"v1","field2":"v2"},"count":1}},{"_index":"test_1","_type":"test","_id":"2","_version":1,"exists":true, "_source" : {"include":{"field1":"v1","field2":"v2"},"count":1}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/2', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { ids: [ 1, 2, [length]: 2 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/_mget', - query: { _source: 'include.field1' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_mget?_source=include.field1" -XPOST -d "{\"ids\":[1,2]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"include":{"field1":"v1"}}},{"_index":"test_1","_type":"test","_id":"2","_version":1,"exists":true, "_source" : {"include":{"field1":"v1"}}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/2', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { ids: [ 1, 2, [length]: 2 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/_mget', - query: { _source_include: 'include.field1,count' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_mget?_source_include=include.field1%2Ccount" -XPOST -d "{\"ids\":[1,2]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"count":1,"include":{"field1":"v1"}}},{"_index":"test_1","_type":"test","_id":"2","_version":1,"exists":true, "_source" : {"count":1,"include":{"field1":"v1"}}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/2', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { ids: [ 1, 2, [length]: 2 ] }, - timeout: 10000, - method: 'POST', - path: '/test_1/_mget', - query: { _source_exclude: '*.field2', _source_include: 'include' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/_mget?_source_exclude=*.field2&_source_include=include" -XPOST -d "{\"ids\":[1,2]}" -<- 200 -{"docs":[{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"include":{"field1":"v1"}}},{"_index":"test_1","_type":"test","_id":"2","_version":1,"exists":true, "_source" : {"include":{"field1":"v1"}}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar', title: 'howdy' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\",\"title\":\"howdy\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, method: 'POST', path: '/_refresh', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_refresh?pretty=true" -XPOST -<- 200 -{"ok":true,"_shards":{"total":10,"successful":5,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1/_mlt', - query: { mlt_fields: 'title' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_mlt?mlt_fields=title" -XGET -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":0,"max_score":null,"hits":[]}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'baz' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/2', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2?pretty=true" -XPOST -d "{\"foo\":\"baz\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'foo' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/3', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/3?pretty=true" -XPOST -d "{\"foo\":\"foo\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"3","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, method: 'POST', path: '/_refresh', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_refresh?pretty=true" -XPOST -<- 200 -{"ok":true,"_shards":{"total":10,"successful":5,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { body: - [ { index: 'test_1' }, - { query: { match_all: {} } }, - { index: 'test_2' }, - { query: { match_all: {} } }, - { search_type: 'count', index: 'test_1' }, - { query: { match: { foo: 'bar' } } }, - [length]: 6 ], - timeout: 10000, - bulkBody: true, - method: 'POST', - path: '/_msearch', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_msearch?pretty=true" -XPOST -d "{\"index\":\"test_1\"} -{\"query\":{\"match_all\":{}}} -{\"index\":\"test_2\"} -{\"query\":{\"match_all\":{}}} -{\"search_type\":\"count\",\"index\":\"test_1\"} -{\"query\":{\"match\":{\"foo\":\"bar\"}}} -" -<- 200 -{"responses":[{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":3,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":1.0, "_source" : {"foo":"bar"}},{"_index":"test_1","_type":"test","_id":"3","_score":1.0, "_source" : {"foo":"foo"}},{"_index":"test_1","_type":"test","_id":"2","_score":1.0, "_source" : {"foo":"baz"}}]}},{"error":"IndexMissingException[[test_2] missing]"},{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":0.0,"hits":[]}}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - - - DEBUG -starting request { timeout: 10000, method: 'PUT', path: '/test_index', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/test_index/.percolator/test_percolator', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/.percolator/test_percolator?pretty=true" -XPOST -d "{\"query\":{\"match_all\":{}}}" -<- 201 -{"ok":true,"_index":"test_index","_type":".percolator","_id":"test_percolator","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, method: 'POST', path: '/_refresh', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_refresh?pretty=true" -XPOST -<- 200 -{"ok":true,"_shards":{"total":10,"successful":5,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_index/test_type/_percolate', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_index/test_type/_percolate?pretty=true" -XPOST -d "{\"doc\":{\"foo\":\"bar\"}}" -<- 200 -{"took":1,"_shards":{"total":5,"successful":5,"failed":0},"total":0} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { method: 'HEAD', path: '/', timeout: 100 } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/?pretty=true" -XHEAD -<- 200 - - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'PUT', path: '/test_scroll', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_scroll?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_scroll/test/42', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_scroll/test/42?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_scroll","_type":"test","_id":"42","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, method: 'POST', path: '/_refresh', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_refresh?pretty=true" -XPOST -<- 200 -{"ok":true,"_shards":{"total":10,"successful":5,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { body: { query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/test_scroll/_search', - query: { scroll: '1m', search_type: 'scan' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_scroll/_search?scroll=1m&search_type=scan" -XPOST -d "{\"query\":{\"match_all\":{}}}" -<- 200 -{"_scroll_id":"c2Nhbjs1OzI5NjE6MGszX1hFX01Ub2lkNHVmOWF6cjZnQTsyOTYzOjBrM19YRV9NVG9pZDR1ZjlhenI2Z0E7Mjk2NDowazNfWEVfTVRvaWQ0dWY5YXpyNmdBOzI5NjI6MGszX1hFX01Ub2lkNHVmOWF6cjZnQTsyOTY1OjBrM19YRV9NVG9pZDR1ZjlhenI2Z0E7MTt0b3RhbF9oaXRzOjE7","took":0,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":0.0,"hits":[]}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_search/scroll/c2Nhbjs1OzI5NjE6MGszX1hFX01Ub2lkNHVmOWF6cjZnQTsyOTYzOjBrM19YRV9NVG9pZDR1ZjlhenI2Z0E7Mjk2NDowazNfWEVfTVRvaWQ0dWY5YXpyNmdBOzI5NjI6MGszX1hFX01Ub2lkNHVmOWF6cjZnQTsyOTY1OjBrM19YRV9NVG9pZDR1ZjlhenI2Z0E7MTt0b3RhbF9oaXRzOjE7', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_search/scroll/c2Nhbjs1OzI5NjE6MGszX1hFX01Ub2lkNHVmOWF6cjZnQTsyOTYzOjBrM19YRV9NVG9pZDR1ZjlhenI2Z0E7Mjk2NDowazNfWEVfTVRvaWQ0dWY5YXpyNmdBOzI5NjI6MGszX1hFX01Ub2lkNHVmOWF6cjZnQTsyOTY1OjBrM19YRV9NVG9pZDR1ZjlhenI2Z0E7MTt0b3RhbF9oaXRzOjE7?pretty=true" -XGET -<- 200 -{"took":0,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":0.0,"hits":[{"_index":"test_scroll","_type":"test","_id":"42","_score":0.0, "_source" : {"foo":"bar"}}]}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { include: { field1: 'v1', field2: 'v2' }, count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"include\":{\"field1\":\"v1\",\"field2\":\"v2\"},\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, method: 'POST', path: '/_refresh', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_refresh?pretty=true" -XPOST -<- 200 -{"ok":true,"_shards":{"total":10,"successful":5,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { body: '{ _source: true, query: { match_all: {} } }', - timeout: 10000, - method: 'POST', - path: '/_all/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_all/_search?pretty=true" -XPOST -d "{ _source: true, query: { match_all: {} } }" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":1.0, "_source" : {"include":{"field1":"v1","field2":"v2"},"count":1}}]}} - - -INFO -Request complete -DEBUG -starting request { body: '{ _source: false, query: { match_all: {} } }', - timeout: 10000, - method: 'POST', - path: '/_all/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_all/_search?pretty=true" -XPOST -d "{ _source: false, query: { match_all: {} } }" -<- 200 -{"took":0,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":1.0}]}} - - -INFO -Request complete -DEBUG -starting request { body: { query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/_all/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_all/_search?pretty=true" -XPOST -d "{\"query\":{\"match_all\":{}}}" -<- 200 -{"took":0,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":1.0, "_source" : {"include":{"field1":"v1","field2":"v2"},"count":1}}]}} - - -INFO -Request complete -DEBUG -starting request { body: { _source: 'include.field1', query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/_all/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_all/_search?pretty=true" -XPOST -d "{\"_source\":\"include.field1\",\"query\":{\"match_all\":{}}}" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":1.0, "_source" : {"include":{"field1":"v1"}}}]}} - - -INFO -Request complete -DEBUG -starting request { body: { _source: 'include.field2', query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/_all/_search', - query: { _source_include: 'include.field1' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_all/_search?_source_include=include.field1" -XPOST -d "{\"_source\":\"include.field2\",\"query\":{\"match_all\":{}}}" -<- 200 -{"took":0,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":1.0, "_source" : {"include":{"field1":"v1"}}}]}} - - -INFO -Request complete -DEBUG -starting request { body: { query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/_all/_search', - query: { _source_include: 'include.field1' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_all/_search?_source_include=include.field1" -XPOST -d "{\"query\":{\"match_all\":{}}}" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":1.0, "_source" : {"include":{"field1":"v1"}}}]}} - - -INFO -Request complete -DEBUG -starting request { body: { query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/_all/_search', - query: { _source_exclude: 'count' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_all/_search?_source_exclude=count" -XPOST -d "{\"query\":{\"match_all\":{}}}" -<- 200 -{"took":0,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":1.0, "_source" : {"include":{"field2":"v2","field1":"v1"}}}]}} - - -INFO -Request complete -DEBUG -starting request { body: - { _source: [ 'include.field1', 'include.field2', [length]: 2 ], - query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/_all/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_all/_search?pretty=true" -XPOST -d "{\"_source\":[\"include.field1\",\"include.field2\"],\"query\":{\"match_all\":{}}}" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":1.0, "_source" : {"include":{"field2":"v2","field1":"v1"}}}]}} - - -INFO -Request complete -DEBUG -starting request { body: - { _source: { include: [ 'include.field1', 'include.field2', [length]: 2 ] }, - query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/_all/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_all/_search?pretty=true" -XPOST -d "{\"_source\":{\"include\":[\"include.field1\",\"include.field2\"]},\"query\":{\"match_all\":{}}}" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":1.0, "_source" : {"include":{"field2":"v2","field1":"v1"}}}]}} - - -INFO -Request complete -DEBUG -starting request { body: - { _source: { includes: 'include', excludes: '*.field2' }, - query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/_all/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_all/_search?pretty=true" -XPOST -d "{\"_source\":{\"includes\":\"include\",\"excludes\":\"*.field2\"},\"query\":{\"match_all\":{}}}" -<- 200 -{"took":0,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":1.0, "_source" : {"include":{"field1":"v1"}}}]}} - - -INFO -Request complete -DEBUG -starting request { body: - { fields: [ 'include.field2', [length]: 1 ], - query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/_all/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_all/_search?pretty=true" -XPOST -d "{\"fields\":[\"include.field2\"],\"query\":{\"match_all\":{}}}" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":1.0,"fields":{"include.field2":"v2"}}]}} - - -INFO -Request complete -DEBUG -starting request { body: - { fields: [ 'include.field2', '_source', [length]: 2 ], - query: { match_all: {} } }, - timeout: 10000, - method: 'POST', - path: '/_all/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_all/_search?pretty=true" -XPOST -d "{\"fields\":[\"include.field2\",\"_source\"],\"query\":{\"match_all\":{}}}" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":1.0, "_source" : {"include":{"field1":"v1","field2":"v2"},"count":1},"fields":{"include.field2":"v2"}}]}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { timeout: 10000, method: 'PUT', path: '/test_2', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_2?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, method: 'PUT', path: '/test_1', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_2/test/42', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_2/test/42?pretty=true" -XPOST -d "{\"foo\":\"bar\"}" -<- 201 -{"ok":true,"_index":"test_2","_type":"test","_id":"42","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'POST', - path: '/test_1%2Ctest_2/_refresh', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1%2Ctest_2/_refresh?pretty=true" -XPOST -<- 200 -{"ok":true,"_shards":{"total":20,"successful":10,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { body: { query: { match: { foo: 'bar' } } }, - timeout: 10000, - method: 'POST', - path: '/_all/test/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_all/test/_search?pretty=true" -XPOST -d "{\"query\":{\"match\":{\"foo\":\"bar\"}}}" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":10,"successful":10,"failed":0},"hits":{"total":2,"max_score":0.30685282,"hits":[{"_index":"test_1","_type":"test","_id":"1","_score":0.30685282, "_source" : {"foo":"bar"}},{"_index":"test_2","_type":"test","_id":"42","_score":0.30685282, "_source" : {"foo":"bar"}}]}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - - - - DEBUG -starting request { body: { body: 'Amsterdam meetup' }, - timeout: 10000, - method: 'POST', - path: '/test/test/testing_document', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test/test/testing_document?pretty=true" -XPOST -d "{\"body\":\"Amsterdam meetup\"}" -<- 201 -{"ok":true,"_index":"test","_type":"test","_id":"testing_document","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, method: 'POST', path: '/_refresh', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_refresh?pretty=true" -XPOST -<- 200 -{"ok":true,"_shards":{"total":10,"successful":5,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { body: 'Amsterdam meetup' }, - timeout: 10000, - method: 'POST', - path: '/test/test/testing_document', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test/test/testing_document?pretty=true" -XPOST -d "{\"body\":\"Amsterdam meetup\"}" -<- 201 -{"ok":true,"_index":"test","_type":"test","_id":"testing_document","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, method: 'POST', path: '/_refresh', query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_refresh?pretty=true" -XPOST -<- 200 -{"ok":true,"_shards":{"total":10,"successful":5,"failed":0}} - - -INFO -Request complete -DEBUG -starting request { body: { test_suggestion: { text: 'The Amsterdma meetpu', term: { field: 'body' } } }, - timeout: 10000, - method: 'POST', - path: '/_suggest', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_suggest?pretty=true" -XPOST -d "{\"test_suggestion\":{\"text\":\"The Amsterdma meetpu\",\"term\":{\"field\":\"body\"}}}" -<- 200 -{"_shards":{"total":5,"successful":5,"failed":0},"test_suggestion":[{"text":"amsterdma","offset":4,"length":9,"options":[{"text":"amsterdam","score":0.8888889,"freq":1}]},{"text":"meetpu","offset":14,"length":6,"options":[{"text":"meetup","score":0.8333333,"freq":1}]}]} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar', count: 1, nested: { one: 1, two: 2 } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\",\"count\":1,\"nested\":{\"one\":1,\"two\":2}}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz', nested: { one: 3 } } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"doc\":{\"foo\":\"baz\",\"nested\":{\"one\":3}}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":2,"exists":true, "_source" : {"foo":"baz","count":1,"nested":{"one":3,"two":2}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { foo: 'bar', count: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XPOST -d "{\"foo\":\"bar\",\"count\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: - { lang: 'mvel', - script: 'ctx._source.foo = bar', - params: { bar: 'xxx' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { script: '1' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?script=1" -XPOST -d "{\"lang\":\"mvel\",\"script\":\"ctx._source.foo = bar\",\"params\":{\"bar\":\"xxx\"}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":2,"exists":true, "_source" : {"foo":"xxx","count":1}} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { lang: 'mvel', script: 'ctx._source.foo = \'yyy\'' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?lang=mvel&script=ctx._source.foo%20%3D%20%27yyy%27" -XPOST -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":3} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":3,"exists":true, "_source" : {"foo":"yyy","count":1}} - - -INFO -Request complete -DEBUG -starting request { body: { script: '1', lang: 'doesnotexist', params: { bar: 'xxx' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"script\":\"1\",\"lang\":\"doesnotexist\",\"params\":{\"bar\":\"xxx\"}}" -<- 400 -{"error":"ElasticSearchIllegalArgumentException[failed to execute script]; nested: ElasticSearchIllegalArgumentException[script_lang not supported [doesnotexist]]; ","status":400} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { lang: 'doesnotexist', script: '1' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?lang=doesnotexist&script=1" -XPOST -<- 400 -{"error":"ElasticSearchIllegalArgumentException[failed to execute script]; nested: ElasticSearchIllegalArgumentException[script_lang not supported [doesnotexist]]; ","status":400} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { doc: { foo: 'bar', count: 1 }, upsert: { foo: 'baz' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"doc\":{\"foo\":\"bar\",\"count\":1},\"upsert\":{\"foo\":\"baz\"}}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"baz"}} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'bar', count: 1 }, upsert: { foo: 'baz' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"doc\":{\"foo\":\"bar\",\"count\":1},\"upsert\":{\"foo\":\"baz\"}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":2,"exists":true, "_source" : {"foo":"bar","count":1}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { doc: { foo: 'bar', count: 1 }, doc_as_upsert: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"doc\":{\"foo\":\"bar\",\"count\":1},\"doc_as_upsert\":1}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"bar","count":1}} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { count: 2 }, doc_as_upsert: 1 }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"doc\":{\"count\":2},\"doc_as_upsert\":1}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":2,"exists":true, "_source" : {"foo":"bar","count":2}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: - { script: 'ctx._source.foo = bar', - params: { bar: 'xxx' }, - upsert: { foo: 'baz' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"script\":\"ctx._source.foo = bar\",\"params\":{\"bar\":\"xxx\"},\"upsert\":{\"foo\":\"baz\"}}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true, "_source" : {"foo":"baz"}} - - -INFO -Request complete -DEBUG -starting request { body: - { script: 'ctx._source.foo = bar', - params: { bar: 'xxx' }, - upsert: { foo: 'baz' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"script\":\"ctx._source.foo = bar\",\"params\":{\"bar\":\"xxx\"},\"upsert\":{\"foo\":\"baz\"}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?pretty=true" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":2,"exists":true, "_source" : {"foo":"xxx"}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - ignore: [ 409, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { version: 1 } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?version=1" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 409 -{"error":"VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [-1], provided [1]]","status":409} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - ignore: [ 409, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { version: 2 } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?version=2" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 409 -{"error":"VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [1], provided [2]]","status":409} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { version: 1 } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?version=1" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { version: 2, version_type: 'external' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?version=2&version_type=external" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - ignore: [ 409, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { version: 2, version_type: 'external' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?version=2&version_type=external" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 409 -{"error":"VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [2], provided [2]]","status":409} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { version: 3, version_type: 'external' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?version=3&version_type=external" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":3} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?routing=5" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_routing', routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_routing&routing=5" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_routing":"5"}} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' } }, - ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"doc\":{\"foo\":\"baz\"}}" -<- 404 -{"error":"DocumentMissingException[[test_1][2] [test][1]: document missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { fields: 'foo', routing: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?fields=foo&routing=5" -XPOST -d "{\"doc\":{\"foo\":\"baz\"}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2,"get":{"exists":true,"fields":{"foo":"baz"}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 500 -{"error":"RoutingMissingException[routing is required for [test_1]/[test]/[1]]","status":500} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?parent=5" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_parent,_routing', parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&parent=5" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_routing":"5","_parent":"5"}} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' } }, - ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"doc\":{\"foo\":\"baz\"}}" -<- 404 -{"error":"DocumentMissingException[[test_1][2] [test][1]: document missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { fields: 'foo', parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?fields=foo&parent=5" -XPOST -d "{\"doc\":{\"foo\":\"baz\"}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2,"get":{"exists":true,"fields":{"foo":"baz"}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _parent: { type: 'foo' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_parent\":{\"type\":\"foo\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { parent: '5', routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?parent=5&routing=4" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_parent,_routing', parent: '5', routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&parent=5&routing=4" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_routing":"4","_parent":"5"}} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' } }, - ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { parent: '5' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?parent=5" -XPOST -d "{\"doc\":{\"foo\":\"baz\"}}" -<- 404 -{"error":"DocumentMissingException[[test_1][1] [test][1]: document missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { fields: 'foo', parent: '5', routing: '4' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?fields=foo&parent=5&routing=4" -XPOST -d "{\"doc\":{\"foo\":\"baz\"}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2,"get":{"exists":true,"fields":{"foo":"baz"}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { settings: { 'index.refresh_interval': -1 } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"settings\":{\"index.refresh_interval\":-1}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { query: { term: { _id: 1 } } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_search?pretty=true" -XPOST -d "{\"query\":{\"term\":{\"_id\":1}}}" -<- 200 -{"took":0,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":0,"max_score":null,"hits":[]}} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/2/_update', - query: { refresh: true } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/2/_update?refresh=true" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"2","_version":1} - - -INFO -Request complete -DEBUG -starting request { body: { query: { term: { _id: 2 } } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/_search', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/_search?pretty=true" -XPOST -d "{\"query\":{\"term\":{\"_id\":2}}}" -<- 200 -{"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"test_1","_type":"test","_id":"2","_score":1.0, "_source" : {"foo":"bar"}}]}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _timestamp: { enabled: 1, store: 'yes' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_timestamp\":{\"enabled\":1,\"store\":\"yes\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_timestamp' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_timestamp" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_timestamp":1384200424127}} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { timestamp: 1372011280000 } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?timestamp=1372011280000" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_timestamp' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_timestamp" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":2,"exists":true,"fields":{"_timestamp":1372011280000}} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { timestamp: '2013-06-23T18:14:40.000Z' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?timestamp=2013-06-23T18%3A14%3A40.000Z" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":3} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_timestamp' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_timestamp" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":3,"exists":true,"fields":{"_timestamp":1372011280000}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { mappings: { test: { _ttl: { enabled: 1, store: 'yes', default: '10s' } } } }, - timeout: 10000, - method: 'PUT', - path: '/test_1', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1?pretty=true" -XPUT -d "{\"mappings\":{\"test\":{\"_ttl\":{\"enabled\":1,\"store\":\"yes\",\"default\":\"10s\"}}}}" -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/_cluster/health', - query: { wait_for_status: 'yellow' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/_cluster/health?wait_for_status=yellow" -XGET -<- 200 -{"cluster_name":"elasticsearch","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":5,"active_shards":5,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":5} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_ttl' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_ttl" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":1,"exists":true,"fields":{"_ttl":9996}} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { ttl: 100000 } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?ttl=100000" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":2} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_ttl' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_ttl" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":2,"exists":true,"fields":{"_ttl":99997}} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { ttl: '20s' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?ttl=20s" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 200 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":3} - - -INFO -Request complete -DEBUG -starting request { timeout: 10000, - method: 'GET', - path: '/test_1/test/1', - query: { fields: '_ttl' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?fields=_ttl" -XGET -<- 200 -{"_index":"test_1","_type":"test","_id":"1","_version":3,"exists":true,"fields":{"_ttl":19997}} - - -INFO -Request complete -DEBUG -starting request { body: { foo: 'bar' }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1', - query: { timestamp: '2013-06-23T18:14:40.000Z', ttl: '20s' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1?timestamp=2013-06-23T18%3A14%3A40.000Z&ttl=20s" -XPOST -d "{\"foo\":\"bar\"}" -<- 400 -{"error":"MapperParsingException[failed to parse [_ttl]]; nested: AlreadyExpiredException[already expired [test_1]/[test]/[1] due to expire at [1372011300000] and was processed at [1384200424208]]; ","status":400} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { body: { doc: { foo: 'baz' }, upsert: { foo: 'bar' } }, - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: { fields: 'foo,bar,_source' } } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?fields=foo%2Cbar%2C_source" -XPOST -d "{\"doc\":{\"foo\":\"baz\"},\"upsert\":{\"foo\":\"bar\"}}" -<- 201 -{"ok":true,"_index":"test_1","_type":"test","_id":"1","_version":1,"get":{"exists":true, "_source" : {"foo":"bar"},"fields":{"foo":"bar"}}} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - - - - DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 404 -{"error":"IndexMissingException[[*] missing]","status":404} - - -INFO -Request complete - - - - - - - - - - DEBUG -starting request { body: { doc: { foo: 'bar' } }, - ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"doc\":{\"foo\":\"bar\"}}" -<- 404 -{"error":"DocumentMissingException[[test_1][2] [test][1]: document missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { body: { doc: { foo: 'bar' } }, - ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"doc\":{\"foo\":\"bar\"}}" -<- 404 -{"error":"DocumentMissingException[[test_1][2] [test][1]: document missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete -DEBUG -starting request { body: { script: 'ctx._source.foo = bar', params: { bar: 'xxx' } }, - ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"script\":\"ctx._source.foo = bar\",\"params\":{\"bar\":\"xxx\"}}" -<- 404 -{"error":"DocumentMissingException[[test_1][2] [test][1]: document missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { body: { script: 'ctx._source.foo = bar', params: { bar: 'xxx' } }, - ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'POST', - path: '/test_1/test/1/_update', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/test_1/test/1/_update?pretty=true" -XPOST -d "{\"script\":\"ctx._source.foo = bar\",\"params\":{\"bar\":\"xxx\"}}" -<- 404 -{"error":"DocumentMissingException[[test_1][2] [test][1]: document missing]","status":404} - - -INFO -Request complete -DEBUG -starting request { ignore: [ 404, [length]: 1 ], - timeout: 10000, - method: 'DELETE', - path: '/*', - query: {} } - -INFO -Selected alive Connection, making request -TRACE: -curl "http://localhost:9200/*?pretty=true" -XDELETE -<- 200 -{"ok":true,"acknowledged":true} - - -INFO -Request complete - - - -