Files
elasticsearch-js/test/browser_integration/test-output.xml
2013-11-11 13:14:19 -07:00

12677 lines
428 KiB
XML

<testsuites>
<testsuite package="elasticsearch-js:yaml_tests" id="0" name="bulk/10_basic.yaml" timestamp="2013-11-11T20:05:34.936Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.06">
<testcase name="Array of objects" time="0.04" classname="bulk/10_basic.yaml"/>
<system-out>DEBUG
starting request { body:
[ { index: { _index: &apos;test_index&apos;, _type: &apos;test_type&apos;, _id: &apos;test_id&apos; } },
{ f1: &apos;v1&apos;, f2: 42 },
{ index: { _index: &apos;test_index&apos;, _type: &apos;test_type&apos;, _id: &apos;test_id2&apos; } },
{ f1: &apos;v2&apos;, f2: 47 },
[length]: 4 ],
timeout: 10000,
bulkBody: true,
method: &apos;POST&apos;,
path: &apos;/_bulk&apos;,
query: { refresh: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_bulk?refresh=true&quot; -XPOST -d &quot;{\&quot;index\&quot;:{\&quot;_index\&quot;:\&quot;test_index\&quot;,\&quot;_type\&quot;:\&quot;test_type\&quot;,\&quot;_id\&quot;:\&quot;test_id\&quot;}}
{\&quot;f1\&quot;:\&quot;v1\&quot;,\&quot;f2\&quot;:42}
{\&quot;index\&quot;:{\&quot;_index\&quot;:\&quot;test_index\&quot;,\&quot;_type\&quot;:\&quot;test_type\&quot;,\&quot;_id\&quot;:\&quot;test_id2\&quot;}}
{\&quot;f1\&quot;:\&quot;v2\&quot;,\&quot;f2\&quot;:47}
&quot;
&lt;- 200
{&quot;took&quot;:31,&quot;items&quot;:[{&quot;index&quot;:{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;test_type&quot;,&quot;_id&quot;:&quot;test_id&quot;,&quot;_version&quot;:1,&quot;ok&quot;:true}},{&quot;index&quot;:{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;test_type&quot;,&quot;_id&quot;:&quot;test_id2&quot;,&quot;_version&quot;:1,&quot;ok&quot;:true}}]}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_index/_count&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_count?pretty=true&quot; -XPOST
&lt;- 200
{&quot;count&quot;:2,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="1" name="bulk/20_list_of_strings.yaml" timestamp="2013-11-11T20:05:34.996Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.079">
<testcase name="List of strings" time="0.039" classname="bulk/20_list_of_strings.yaml"/>
<system-out>DEBUG
starting request { body:
[ &apos;{&quot;index&quot;: {&quot;_index&quot;: &quot;test_index&quot;, &quot;_type&quot;: &quot;test_type&quot;, &quot;_id&quot;: &quot;test_id&quot;}}&apos;,
&apos;{&quot;f1&quot;: &quot;v1&quot;, &quot;f2&quot;: 42}&apos;,
&apos;{&quot;index&quot;: {&quot;_index&quot;: &quot;test_index&quot;, &quot;_type&quot;: &quot;test_type&quot;, &quot;_id&quot;: &quot;test_id2&quot;}}&apos;,
&apos;{&quot;f1&quot;: &quot;v2&quot;, &quot;f2&quot;: 47}&apos;,
[length]: 4 ],
timeout: 10000,
bulkBody: true,
method: &apos;POST&apos;,
path: &apos;/_bulk&apos;,
query: { refresh: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_bulk?refresh=true&quot; -XPOST -d &quot;{\&quot;index\&quot;: {\&quot;_index\&quot;: \&quot;test_index\&quot;, \&quot;_type\&quot;: \&quot;test_type\&quot;, \&quot;_id\&quot;: \&quot;test_id\&quot;}}
{\&quot;f1\&quot;: \&quot;v1\&quot;, \&quot;f2\&quot;: 42}
{\&quot;index\&quot;: {\&quot;_index\&quot;: \&quot;test_index\&quot;, \&quot;_type\&quot;: \&quot;test_type\&quot;, \&quot;_id\&quot;: \&quot;test_id2\&quot;}}
{\&quot;f1\&quot;: \&quot;v2\&quot;, \&quot;f2\&quot;: 47}
&quot;
&lt;- 200
{&quot;took&quot;:30,&quot;items&quot;:[{&quot;index&quot;:{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;test_type&quot;,&quot;_id&quot;:&quot;test_id&quot;,&quot;_version&quot;:1,&quot;ok&quot;:true}},{&quot;index&quot;:{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;test_type&quot;,&quot;_id&quot;:&quot;test_id2&quot;,&quot;_version&quot;:1,&quot;ok&quot;:true}}]}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_index/_count&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_count?pretty=true&quot; -XPOST
&lt;- 200
{&quot;count&quot;:2,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="2" name="bulk/30_big_string.yaml" timestamp="2013-11-11T20:05:35.075Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.052">
<testcase name="One big string" time="0.039" classname="bulk/30_big_string.yaml"/>
<system-out>DEBUG
starting request { body: &apos;\n{&quot;index&quot;: {&quot;_index&quot;: &quot;test_index&quot;, &quot;_type&quot;: &quot;test_type&quot;, &quot;_id&quot;: &quot;test_id&quot;}}\n{&quot;f1&quot;: &quot;v1&quot;, &quot;f2&quot;: 42}\n{&quot;index&quot;: {&quot;_index&quot;: &quot;test_index&quot;, &quot;_type&quot;: &quot;test_type&quot;, &quot;_id&quot;: &quot;test_id2&quot;}}\n{&quot;f1&quot;: &quot;v2&quot;, &quot;f2&quot;: 47}\n&apos;,
timeout: 10000,
bulkBody: true,
method: &apos;POST&apos;,
path: &apos;/_bulk&apos;,
query: { refresh: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_bulk?refresh=true&quot; -XPOST -d &quot;
{\&quot;index\&quot;: {\&quot;_index\&quot;: \&quot;test_index\&quot;, \&quot;_type\&quot;: \&quot;test_type\&quot;, \&quot;_id\&quot;: \&quot;test_id\&quot;}}
{\&quot;f1\&quot;: \&quot;v1\&quot;, \&quot;f2\&quot;: 42}
{\&quot;index\&quot;: {\&quot;_index\&quot;: \&quot;test_index\&quot;, \&quot;_type\&quot;: \&quot;test_type\&quot;, \&quot;_id\&quot;: \&quot;test_id2\&quot;}}
{\&quot;f1\&quot;: \&quot;v2\&quot;, \&quot;f2\&quot;: 47}
&quot;
&lt;- 200
{&quot;took&quot;:28,&quot;items&quot;:[{&quot;index&quot;:{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;test_type&quot;,&quot;_id&quot;:&quot;test_id&quot;,&quot;_version&quot;:1,&quot;ok&quot;:true}},{&quot;index&quot;:{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;test_type&quot;,&quot;_id&quot;:&quot;test_id2&quot;,&quot;_version&quot;:1,&quot;ok&quot;:true}}]}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_index/_count&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_count?pretty=true&quot; -XPOST
&lt;- 200
{&quot;count&quot;:2,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="3" name="cluster.node_info/10_basic.yaml" timestamp="2013-11-11T20:05:35.127Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.011">
<testcase name="node_info test" time="0.004" classname="cluster.node_info/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;GET&apos;, path: &apos;/_nodes&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_nodes?pretty=true&quot; -XGET
&lt;- 200
{&quot;ok&quot;:true,&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;nodes&quot;:{&quot;0k3_XE_MToid4uf9azr6gA&quot;:{&quot;name&quot;:&quot;Absalom&quot;,&quot;transport_address&quot;:&quot;inet[/192.168.1.3:9300]&quot;,&quot;hostname&quot;:&quot;Spencers-MacBook-Pro.local&quot;,&quot;version&quot;:&quot;1.0.0.Beta1-SNAPSHOT&quot;,&quot;http_address&quot;:&quot;inet[/192.168.1.3:9200]&quot;}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="4" name="cluster.node_stats/10_basic.yaml" timestamp="2013-11-11T20:05:35.138Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.01">
<testcase name="Nodes stats" time="0.005" classname="cluster.node_stats/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_nodes/stats&apos;,
query: { indices: true, transport: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_nodes/stats?indices=true&amp;transport=true&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;nodes&quot;:{&quot;0k3_XE_MToid4uf9azr6gA&quot;:{&quot;timestamp&quot;:1384200335141,&quot;name&quot;:&quot;Absalom&quot;,&quot;transport_address&quot;:&quot;inet[/192.168.1.3:9300]&quot;,&quot;hostname&quot;:&quot;Spencers-MacBook-Pro.local&quot;,&quot;indices&quot;:{&quot;docs&quot;:{&quot;count&quot;:0,&quot;deleted&quot;:0},&quot;store&quot;:{&quot;size_in_bytes&quot;:0,&quot;throttle_time_in_millis&quot;:0},&quot;indexing&quot;:{&quot;index_total&quot;:2886,&quot;index_time_in_millis&quot;:2745,&quot;index_current&quot;:120,&quot;delete_total&quot;:360,&quot;delete_time_in_millis&quot;:1,&quot;delete_current&quot;:0},&quot;get&quot;:{&quot;total&quot;:4080,&quot;time_in_millis&quot;:18,&quot;exists_total&quot;:3000,&quot;exists_time_in_millis&quot;:18,&quot;missing_total&quot;:1080,&quot;missing_time_in_millis&quot;:0,&quot;current&quot;:0},&quot;search&quot;:{&quot;open_contexts&quot;:0,&quot;query_total&quot;:2800,&quot;query_time_in_millis&quot;:59,&quot;query_current&quot;:0,&quot;fetch_total&quot;:500,&quot;fetch_time_in_millis&quot;:38,&quot;fetch_current&quot;:0},&quot;merges&quot;:{&quot;current&quot;:0,&quot;current_docs&quot;:0,&quot;current_size_in_bytes&quot;:0,&quot;total&quot;:0,&quot;total_time_in_millis&quot;:0,&quot;total_docs&quot;:0,&quot;total_size_in_bytes&quot;:0},&quot;refresh&quot;:{&quot;total&quot;:14291,&quot;total_time_in_millis&quot;:3001},&quot;flush&quot;:{&quot;total&quot;:298,&quot;total_time_in_millis&quot;:145},&quot;warmer&quot;:{&quot;current&quot;:0,&quot;total&quot;:0,&quot;total_time_in_millis&quot;:0},&quot;filter_cache&quot;:{&quot;memory_size_in_bytes&quot;:0,&quot;evictions&quot;:0},&quot;id_cache&quot;:{&quot;memory_size_in_bytes&quot;:0},&quot;fielddata&quot;:{&quot;memory_size_in_bytes&quot;:0,&quot;evictions&quot;:0},&quot;percolate&quot;:{&quot;total&quot;:0,&quot;time_in_millis&quot;:0,&quot;current&quot;:0,&quot;memory_size_in_bytes&quot;:0,&quot;memory_size&quot;:&quot;0b&quot;},&quot;completion&quot;:{&quot;size_in_bytes&quot;:0}},&quot;transport&quot;:{&quot;server_open&quot;:13,&quot;rx_count&quot;:0,&quot;rx_size_in_bytes&quot;:0,&quot;tx_count&quot;:0,&quot;tx_size_in_bytes&quot;:0}}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="5" name="cluster.put_settings/10_basic.yaml" timestamp="2013-11-11T20:05:35.148Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.02">
<testcase name="Test put settings" time="0.013" classname="cluster.put_settings/10_basic.yaml"/>
<system-out>DEBUG
starting request { body: { transient: { &apos;discovery.zen.minimum_master_nodes&apos;: 1 } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/_cluster/settings&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/settings?pretty=true&quot; -XPUT -d &quot;{\&quot;transient\&quot;:{\&quot;discovery.zen.minimum_master_nodes\&quot;:1}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true,&quot;persistent&quot;:{},&quot;transient&quot;:{&quot;discovery.zen.minimum_master_nodes&quot;:&quot;1&quot;}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/settings&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/settings?pretty=true&quot; -XGET
&lt;- 200
{&quot;persistent&quot;:{},&quot;transient&quot;:{&quot;discovery.zen.minimum_master_nodes&quot;:&quot;1&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="6" name="cluster.reroute/10_basic.yaml" timestamp="2013-11-11T20:05:35.168Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.014">
<testcase name="Basic sanity check" time="0.007" classname="cluster.reroute/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_cluster/reroute&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/reroute?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true,&quot;state&quot;:{&quot;master_node&quot;:&quot;0k3_XE_MToid4uf9azr6gA&quot;,&quot;blocks&quot;:{},&quot;nodes&quot;:{&quot;0k3_XE_MToid4uf9azr6gA&quot;:{&quot;name&quot;:&quot;Absalom&quot;,&quot;transport_address&quot;:&quot;inet[/192.168.1.3:9300]&quot;,&quot;attributes&quot;:{}}},&quot;routing_table&quot;:{&quot;indices&quot;:{}},&quot;routing_nodes&quot;:{&quot;unassigned&quot;:[],&quot;nodes&quot;:{&quot;0k3_XE_MToid4uf9azr6gA&quot;:[]}},&quot;allocations&quot;:[]}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="7" name="cluster.state/10_basic.yaml" timestamp="2013-11-11T20:05:35.182Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.016">
<testcase name="cluster state test" time="0.009" classname="cluster.state/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/state&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/state?pretty=true&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;master_node&quot;:&quot;0k3_XE_MToid4uf9azr6gA&quot;,&quot;blocks&quot;:{},&quot;nodes&quot;:{&quot;0k3_XE_MToid4uf9azr6gA&quot;:{&quot;name&quot;:&quot;Absalom&quot;,&quot;transport_address&quot;:&quot;inet[/192.168.1.3:9300]&quot;,&quot;attributes&quot;:{}}},&quot;metadata&quot;:{&quot;templates&quot;:{&quot;test&quot;:{&quot;template&quot;:&quot;test-*&quot;,&quot;order&quot;:0,&quot;settings&quot;:{&quot;index.number_of_replicas&quot;:&quot;0&quot;,&quot;index.number_of_shards&quot;:&quot;1&quot;},&quot;mappings&quot;:{}}},&quot;indices&quot;:{}},&quot;routing_table&quot;:{&quot;indices&quot;:{}},&quot;routing_nodes&quot;:{&quot;unassigned&quot;:[],&quot;nodes&quot;:{&quot;0k3_XE_MToid4uf9azr6gA&quot;:[]}},&quot;allocations&quot;:[]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="8" name="create/10_with_id.yaml" timestamp="2013-11-11T20:05:35.198Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.049">
<testcase name="Create with ID" time="0.038" classname="create/10_with_id.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
ignore: [ 409, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 409
{&quot;error&quot;:&quot;DocumentAlreadyExistsException[[test_1][2] [test][1]: document already exists]&quot;,&quot;status&quot;:409}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="9" name="create/15_without_id.yaml" timestamp="2013-11-11T20:05:35.247Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.042">
<testcase name="Create without ID" time="0.031" classname="create/15_without_id.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;dXmOLE8PQfaMJuWDrHHjEQ&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/dXmOLE8PQfaMJuWDrHHjEQ&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/dXmOLE8PQfaMJuWDrHHjEQ?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;dXmOLE8PQfaMJuWDrHHjEQ&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="10" name="create/30_internal_version.yaml" timestamp="2013-11-11T20:05:35.289Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.045">
<testcase name="Internal version" time="0.03" classname="create/30_internal_version.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
ignore: [ 409, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 409
{&quot;error&quot;:&quot;DocumentAlreadyExistsException[[test_1][2] [test][1]: document already exists]&quot;,&quot;status&quot;:409}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="11" name="create/35_external_version.yaml" timestamp="2013-11-11T20:05:35.334Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.049">
<testcase name="External version" time="0.034" classname="create/35_external_version.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: { version: 5, version_type: &apos;external&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?version=5&amp;version_type=external&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
ignore: [ 409, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: { version: 5, version_type: &apos;external&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?version=5&amp;version_type=external&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 409
{&quot;error&quot;:&quot;VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [5], provided [5]]&quot;,&quot;status&quot;:409}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
ignore: [ 409, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: { version: 6, version_type: &apos;external&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?version=6&amp;version_type=external&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 409
{&quot;error&quot;:&quot;DocumentAlreadyExistsException[[test_1][2] [test][1]: document already exists]&quot;,&quot;status&quot;:409}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="12" name="create/40_routing.yaml" timestamp="2013-11-11T20:05:35.383Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.087">
<testcase name="Routing" time="0.04" classname="create/40_routing.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: { routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?routing=5&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_routing&apos;, routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_routing&amp;routing=5&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_routing&quot;:&quot;5&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 404
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="13" name="create/50_parent.yaml" timestamp="2013-11-11T20:05:35.470Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.258">
<testcase name="Parent" time="0.245" classname="create/50_parent.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 500
{&quot;error&quot;:&quot;RoutingMissingException[routing is required for [test_1]/[test]/[1]]&quot;,&quot;status&quot;:500}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?parent=5&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_parent,_routing&apos;, parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&amp;parent=5&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_routing&quot;:&quot;5&quot;,&quot;_parent&quot;:&quot;5&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 404
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="14" name="create/55_parent_with_routing.yaml" timestamp="2013-11-11T20:05:35.728Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.967">
<testcase name="Parent with routing" time="0.251" classname="create/55_parent_with_routing.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: { parent: &apos;5&apos;, routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?parent=5&amp;routing=4&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_parent,_routing&apos;, parent: &apos;5&apos;, routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&amp;parent=5&amp;routing=4&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_routing&quot;:&quot;4&quot;,&quot;_parent&quot;:&quot;5&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&quot; -XGET
&lt;- 404
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?routing=4&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="15" name="create/60_refresh.yaml" timestamp="2013-11-11T20:05:36.695Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.269">
<testcase name="Refresh" time="0.254" classname="create/60_refresh.yaml"/>
<system-out>DEBUG
starting request { body: { settings: { &apos;index.refresh_interval&apos;: -1 } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;settings\&quot;:{\&quot;index.refresh_interval\&quot;:-1}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { query: { term: { _id: 1 } } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;term\&quot;:{\&quot;_id\&quot;:1}}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:0,&quot;max_score&quot;:null,&quot;hits&quot;:[]}}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/2/_create&apos;,
query: { refresh: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2/_create?refresh=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { query: { term: { _id: 2 } } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;term\&quot;:{\&quot;_id\&quot;:2}}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}]}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="16" name="create/70_timestamp.yaml" timestamp="2013-11-11T20:05:36.964Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.269">
<testcase name="Timestamp" time="0.256" classname="create/70_timestamp.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _timestamp: { enabled: 1, store: &apos;yes&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_timestamp\&quot;:{\&quot;enabled\&quot;:1,\&quot;store\&quot;:\&quot;yes\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_timestamp&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_timestamp&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_timestamp&quot;:1384200337195}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;found&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: { timestamp: 1372011280000 } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?timestamp=1372011280000&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_timestamp&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_timestamp&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_timestamp&quot;:1372011280000}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;found&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:4}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: { timestamp: &apos;2013-06-23T18:14:40.000Z&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?timestamp=2013-06-23T18%3A14%3A40.000Z&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:5}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_timestamp&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_timestamp&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:5,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_timestamp&quot;:1372011280000}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="17" name="create/75_ttl.yaml" timestamp="2013-11-11T20:05:37.233Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.077">
<testcase name="TTL" time="0.064" classname="create/75_ttl.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _ttl: { enabled: 1, store: &apos;yes&apos;, default: &apos;10s&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_ttl\&quot;:{\&quot;enabled\&quot;:1,\&quot;store\&quot;:\&quot;yes\&quot;,\&quot;default\&quot;:\&quot;10s\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_ttl&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_ttl&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_ttl&quot;:9996}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;found&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: { ttl: 100000 } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?ttl=100000&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_ttl&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_ttl&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_ttl&quot;:99997}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;found&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:4}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: { ttl: &apos;20s&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?ttl=20s&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:5}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_ttl&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_ttl&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:5,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_ttl&quot;:19996}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;found&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:6}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_create&apos;,
query: { timestamp: &apos;2013-06-23T18:14:40.000Z&apos;, ttl: &apos;20s&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_create?timestamp=2013-06-23T18%3A14%3A40.000Z&amp;ttl=20s&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 400
{&quot;error&quot;:&quot;MapperParsingException[failed to parse [_ttl]]; nested: AlreadyExpiredException[already expired [test_1]/[test]/[1] due to expire at [1372011300000] and was processed at [1384200337296]]; &quot;,&quot;status&quot;:400}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="18" name="delete/10_basic.yaml" timestamp="2013-11-11T20:05:37.310Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.044">
<testcase name="Basic" time="0.031" classname="delete/10_basic.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;found&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="19" name="delete/20_internal_version.yaml" timestamp="2013-11-11T20:05:37.354Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.046">
<testcase name="Internal version" time="0.034" classname="delete/20_internal_version.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { ignore: [ 409, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: { version: 2 } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?version=2&quot; -XDELETE
&lt;- 409
{&quot;error&quot;:&quot;VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [1], provided [2]]&quot;,&quot;status&quot;:409}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: { version: 1 } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?version=1&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;found&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="20" name="delete/25_external_version.yaml" timestamp="2013-11-11T20:05:37.400Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.049">
<testcase name="External version" time="0.034" classname="delete/25_external_version.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { version: 5, version_type: &apos;external&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?version=5&amp;version_type=external&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:5}
INFO
Request complete
DEBUG
starting request { ignore: [ 409, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: { version: 4, version_type: &apos;external&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?version=4&amp;version_type=external&quot; -XDELETE
&lt;- 409
{&quot;error&quot;:&quot;VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [5], provided [4]]&quot;,&quot;status&quot;:409}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: { version: 6, version_type: &apos;external&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?version=6&amp;version_type=external&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;found&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:6}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="21" name="delete/30_routing.yaml" timestamp="2013-11-11T20:05:37.449Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.062">
<testcase name="Routing" time="0.049" classname="delete/30_routing.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?routing=5&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: { routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?routing=4&quot; -XDELETE
&lt;- 404
{&quot;ok&quot;:true,&quot;found&quot;:false,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: { routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?routing=5&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;found&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="22" name="delete/40_parent.yaml" timestamp="2013-11-11T20:05:37.512Z" hostname="localhost" tests="1" failures="0" errors="0" time="1.53">
<testcase name="Parent" time="0.25" classname="delete/40_parent.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;GET&apos;, path: &apos;/&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/?pretty=true&quot; -XGET
&lt;- 200
{
&quot;ok&quot; : true,
&quot;status&quot; : 200,
&quot;name&quot; : &quot;Absalom&quot;,
&quot;version&quot; : {
&quot;number&quot; : &quot;1.0.0.Beta1&quot;,
&quot;build_hash&quot; : &quot;d43f3d83d8bae03e6d202b9d7037013cae70a954&quot;,
&quot;build_timestamp&quot; : &quot;2013-10-31T00:10:20Z&quot;,
&quot;build_snapshot&quot; : true,
&quot;lucene_version&quot; : &quot;4.5.1&quot;
},
&quot;tagline&quot; : &quot;You Know, for Search&quot;
}
INFO
Request complete
DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;1&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=1&quot; -XDELETE
&lt;- 404
{&quot;ok&quot;:true,&quot;found&quot;:false,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;found&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="23" name="delete/45_parent_with_routing.yaml" timestamp="2013-11-11T20:05:39.042Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Parent with routing" time="0.24" classname="delete/45_parent_with_routing.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos;, routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&amp;routing=4&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos;, routing: &apos;1&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&amp;routing=1&quot; -XDELETE
&lt;- 404
{&quot;ok&quot;:true,&quot;found&quot;:false,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos;, routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&amp;routing=4&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;found&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="24" name="delete/50_refresh.yaml" timestamp="2013-11-11T20:05:41.042Z" hostname="localhost" tests="1" failures="0" errors="0" time="1.999">
<testcase name="Refresh" time="0.271" classname="delete/50_refresh.yaml"/>
<system-out>DEBUG
starting request { body: { settings: { &apos;index.refresh_interval&apos;: -1 } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;settings\&quot;:{\&quot;index.refresh_interval\&quot;:-1}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { refresh: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?refresh=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/2&apos;,
query: { refresh: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2?refresh=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { query: { terms: { _id: [ 1, 2, [length]: 2 ] } } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;terms\&quot;:{\&quot;_id\&quot;:[1,2]}}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:2,&quot;max_score&quot;:0.35355338,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:0.35355338, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_score&quot;:0.35355338, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}]}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;found&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { body: { query: { terms: { _id: [ 1, 2, [length]: 2 ] } } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;terms\&quot;:{\&quot;_id\&quot;:[1,2]}}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:2,&quot;max_score&quot;:0.35355338,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:0.35355338, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_score&quot;:0.35355338, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}]}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/2&apos;,
query: { refresh: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2?refresh=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;found&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { body: { query: { terms: { _id: [ 1, 2, [length]: 2 ] } } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;terms\&quot;:{\&quot;_id\&quot;:[1,2]}}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:0.35355338,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:0.35355338, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}]}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="25" name="delete/60_missing.yaml" timestamp="2013-11-11T20:05:43.041Z" hostname="localhost" tests="2" failures="0" errors="0" time="4.001">
<testcase name="Missing document with catch" time="0.027" classname="delete/60_missing.yaml"/>
<testcase name="Missing document with ignore" time="0.03" classname="delete/60_missing.yaml"/>
<system-out>DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;ok&quot;:true,&quot;found&quot;:false,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;ok&quot;:true,&quot;found&quot;:false,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="26" name="delete_by_query/10_basic.yaml" timestamp="2013-11-11T20:05:47.042Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Basic delete_by_query" time="0.064" classname="delete_by_query/10_basic.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;baz&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/2&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;baz\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;foo&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/3&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/3?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;foo\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;3&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000, method: &apos;POST&apos;, path: &apos;/_refresh&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_refresh?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:10,&quot;successful&quot;:5,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { body: { match: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_1/_query&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_query?pretty=true&quot; -XDELETE -d &quot;{\&quot;match\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_indices&quot;:{&quot;test_1&quot;:{&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0}}}}
INFO
Request complete
DEBUG
starting request { timeout: 10000, method: &apos;POST&apos;, path: &apos;/_refresh&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_refresh?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:10,&quot;successful&quot;:5,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/_count&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_count?pretty=true&quot; -XPOST
&lt;- 200
{&quot;count&quot;:2,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="27" name="exists/10_basic.yaml" timestamp="2013-11-11T20:05:49.042Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Basic" time="0.054" classname="exists/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XHEAD
&lt;- 404
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="28" name="exists/30_parent.yaml" timestamp="2013-11-11T20:05:51.042Z" hostname="localhost" tests="1" failures="0" errors="0" time="1.999">
<testcase name="Parent" time="0.246" classname="exists/30_parent.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XHEAD
&lt;- 404
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="29" name="exists/40_routing.yaml" timestamp="2013-11-11T20:05:53.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2.001">
<testcase name="Routing" time="0.043" classname="exists/40_routing.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?routing=5&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_1/test/1&apos;,
query: { routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?routing=5&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XHEAD
&lt;- 404
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="30" name="exists/55_parent_with_routing.yaml" timestamp="2013-11-11T20:05:55.042Z" hostname="localhost" tests="1" failures="0" errors="0" time="1.999">
<testcase name="Parent with routing" time="0.252" classname="exists/55_parent_with_routing.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos;, routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&amp;routing=4&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos;, routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&amp;routing=4&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&quot; -XHEAD
&lt;- 404
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_1/test/1&apos;,
query: { routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?routing=4&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="31" name="exists/60_realtime_refresh.yaml" timestamp="2013-11-11T20:05:57.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Realtime Refresh" time="0.063" classname="exists/60_realtime_refresh.yaml"/>
<system-out>DEBUG
starting request { body: { settings: { index: { refresh_interval: -1, number_of_replicas: 0 } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;settings\&quot;:{\&quot;index\&quot;:{\&quot;refresh_interval\&quot;:-1,\&quot;number_of_replicas\&quot;:0}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;green&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:0}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_1/test/1&apos;,
query: { realtime: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?realtime=true&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_1/test/1&apos;,
query: { realtime: false } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?realtime=false&quot; -XHEAD
&lt;- 404
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_1/test/1&apos;,
query: { realtime: false, refresh: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?realtime=false&amp;refresh=true&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="32" name="exists/70_defaults.yaml" timestamp="2013-11-11T20:05:59.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Client-side default type" time="0.065" classname="exists/70_defaults.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_1/_all/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_all/1?pretty=true&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="33" name="explain/10_basic.yaml" timestamp="2013-11-11T20:06:01.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Basic mlt" time="0.043" classname="explain/10_basic.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos;, title: &apos;howdy&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;,\&quot;title\&quot;:\&quot;howdy\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000, method: &apos;POST&apos;, path: &apos;/_refresh&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_refresh?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:10,&quot;successful&quot;:5,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { body: { query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_explain&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_explain?pretty=true&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;matched&quot;:true,&quot;explanation&quot;:{&quot;value&quot;:1.0,&quot;description&quot;:&quot;ConstantScore(cache(_type:test)), product of:&quot;,&quot;details&quot;:[{&quot;value&quot;:1.0,&quot;description&quot;:&quot;boost&quot;},{&quot;value&quot;:1.0,&quot;description&quot;:&quot;queryNorm&quot;}]}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="34" name="explain/20_source_filtering.yaml" timestamp="2013-11-11T20:06:03.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Source filtering" time="0.069" classname="explain/20_source_filtering.yaml"/>
<system-out>DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/_refresh&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_refresh?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:10,&quot;successful&quot;:5,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { body: { query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_explain&apos;,
query: { _source: false } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_explain?_source=false&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;matched&quot;:true,&quot;explanation&quot;:{&quot;value&quot;:1.0,&quot;description&quot;:&quot;ConstantScore(cache(_type:test)), product of:&quot;,&quot;details&quot;:[{&quot;value&quot;:1.0,&quot;description&quot;:&quot;boost&quot;},{&quot;value&quot;:1.0,&quot;description&quot;:&quot;queryNorm&quot;}]}}
INFO
Request complete
DEBUG
starting request { body: { query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_explain&apos;,
query: { _source: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_explain?_source=true&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;matched&quot;:true,&quot;explanation&quot;:{&quot;value&quot;:1.0,&quot;description&quot;:&quot;ConstantScore(cache(_type:test)), product of:&quot;,&quot;details&quot;:[{&quot;value&quot;:1.0,&quot;description&quot;:&quot;boost&quot;},{&quot;value&quot;:1.0,&quot;description&quot;:&quot;queryNorm&quot;}]},&quot;get&quot;:{&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;,&quot;field2&quot;:&quot;v2&quot;},&quot;count&quot;:1}}}
INFO
Request complete
DEBUG
starting request { body: { query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_explain&apos;,
query: { _source: &apos;include.field1&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_explain?_source=include.field1&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;matched&quot;:true,&quot;explanation&quot;:{&quot;value&quot;:1.0,&quot;description&quot;:&quot;ConstantScore(cache(_type:test)), product of:&quot;,&quot;details&quot;:[{&quot;value&quot;:1.0,&quot;description&quot;:&quot;boost&quot;},{&quot;value&quot;:1.0,&quot;description&quot;:&quot;queryNorm&quot;}]},&quot;get&quot;:{&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}}
INFO
Request complete
DEBUG
starting request { body: { query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_explain&apos;,
query: { _source_include: &apos;include.field1&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_explain?_source_include=include.field1&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;matched&quot;:true,&quot;explanation&quot;:{&quot;value&quot;:1.0,&quot;description&quot;:&quot;ConstantScore(cache(_type:test)), product of:&quot;,&quot;details&quot;:[{&quot;value&quot;:1.0,&quot;description&quot;:&quot;boost&quot;},{&quot;value&quot;:1.0,&quot;description&quot;:&quot;queryNorm&quot;}]},&quot;get&quot;:{&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}}
INFO
Request complete
DEBUG
starting request { body: { query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_explain&apos;,
query: { _source_include: &apos;include.field1,include.field2&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_explain?_source_include=include.field1%2Cinclude.field2&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;matched&quot;:true,&quot;explanation&quot;:{&quot;value&quot;:1.0,&quot;description&quot;:&quot;ConstantScore(cache(_type:test)), product of:&quot;,&quot;details&quot;:[{&quot;value&quot;:1.0,&quot;description&quot;:&quot;boost&quot;},{&quot;value&quot;:1.0,&quot;description&quot;:&quot;queryNorm&quot;}]},&quot;get&quot;:{&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field2&quot;:&quot;v2&quot;,&quot;field1&quot;:&quot;v1&quot;}}}}
INFO
Request complete
DEBUG
starting request { body: { query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_explain&apos;,
query: { _source_exclude: &apos;*.field2&apos;, _source_include: &apos;include&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_explain?_source_exclude=*.field2&amp;_source_include=include&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;matched&quot;:true,&quot;explanation&quot;:{&quot;value&quot;:1.0,&quot;description&quot;:&quot;ConstantScore(cache(_type:test)), product of:&quot;,&quot;details&quot;:[{&quot;value&quot;:1.0,&quot;description&quot;:&quot;boost&quot;},{&quot;value&quot;:1.0,&quot;description&quot;:&quot;queryNorm&quot;}]},&quot;get&quot;:{&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="35" name="get/10_basic.yaml" timestamp="2013-11-11T20:06:05.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Basic" time="0.043" classname="get/10_basic.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;Hello: 中文&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/%E4%B8%AD%E6%96%87&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/%E4%B8%AD%E6%96%87?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;Hello: 中文\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;中文&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/%E4%B8%AD%E6%96%87&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/%E4%B8%AD%E6%96%87?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;中文&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;Hello: 中文&quot;}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/_all/%E4%B8%AD%E6%96%87&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_all/%E4%B8%AD%E6%96%87?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;中文&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;Hello: 中文&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="36" name="get/15_default_values.yaml" timestamp="2013-11-11T20:06:07.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2.001">
<testcase name="Default values" time="0.034" classname="get/15_default_values.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/_all/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_all/1?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="37" name="get/20_fields.yaml" timestamp="2013-11-11T20:06:09.042Z" hostname="localhost" tests="1" failures="0" errors="0" time="1.999">
<testcase name="Fields" time="0.051" classname="get/20_fields.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos;, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;,\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;foo&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=foo&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;foo,count&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=foo%2Ccount&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;count&quot;:1,&quot;foo&quot;:&quot;bar&quot;}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;foo,count,_source&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=foo%2Ccount%2C_source&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;,&quot;count&quot;:1},&quot;fields&quot;:{&quot;count&quot;:1,&quot;foo&quot;:&quot;bar&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="38" name="get/30_parent.yaml" timestamp="2013-11-11T20:06:11.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Parent" time="0.242" classname="get/30_parent.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;中文&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=%E4%B8%AD%E6%96%87&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_parent,_routing&apos;, parent: &apos;中文&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&amp;parent=%E4%B8%AD%E6%96%87&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_routing&quot;:&quot;中文&quot;,&quot;_parent&quot;:&quot;中文&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 404
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="39" name="get/40_routing.yaml" timestamp="2013-11-11T20:06:13.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Routing" time="0.039" classname="get/40_routing.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?routing=5&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_routing&apos;, routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_routing&amp;routing=5&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_routing&quot;:&quot;5&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 404
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="40" name="get/55_parent_with_routing.yaml" timestamp="2013-11-11T20:06:15.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="1.999">
<testcase name="Parent with routing" time="0.049" classname="get/55_parent_with_routing.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos;, routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&amp;routing=4&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_parent,_routing&apos;, parent: &apos;5&apos;, routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&amp;parent=5&amp;routing=4&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_routing&quot;:&quot;4&quot;,&quot;_parent&quot;:&quot;5&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&quot; -XGET
&lt;- 404
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?routing=4&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="41" name="get/60_realtime_refresh.yaml" timestamp="2013-11-11T20:06:17.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Realtime Refresh" time="0.249" classname="get/60_realtime_refresh.yaml"/>
<system-out>DEBUG
starting request { body: { settings: { index: { refresh_interval: -1, number_of_replicas: 0 } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;settings\&quot;:{\&quot;index\&quot;:{\&quot;refresh_interval\&quot;:-1,\&quot;number_of_replicas\&quot;:0}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;green&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:0}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { realtime: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?realtime=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { realtime: false } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?realtime=false&quot; -XGET
&lt;- 404
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { realtime: false, refresh: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?realtime=false&amp;refresh=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="42" name="get/70_source_filtering.yaml" timestamp="2013-11-11T20:06:19.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Source filtering" time="0.058" classname="get/70_source_filtering.yaml"/>
<system-out>DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { _source: false } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?_source=false&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { _source: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?_source=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;,&quot;field2&quot;:&quot;v2&quot;},&quot;count&quot;:1}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { _source: &apos;include.field1&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?_source=include.field1&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { _source_include: &apos;include.field1&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?_source_include=include.field1&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { _source_include: &apos;include.field1,include.field2&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?_source_include=include.field1%2Cinclude.field2&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field2&quot;:&quot;v2&quot;,&quot;field1&quot;:&quot;v1&quot;}}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { _source_exclude: &apos;*.field2&apos;, _source_include: &apos;include&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?_source_exclude=*.field2&amp;_source_include=include&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;count&apos;, _source: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=count&amp;_source=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;,&quot;field2&quot;:&quot;v2&quot;},&quot;count&quot;:1},&quot;fields&quot;:{&quot;count&quot;:1}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="43" name="get/80_missing.yaml" timestamp="2013-11-11T20:06:21.041Z" hostname="localhost" tests="2" failures="0" errors="0" time="3.999">
<testcase name="Missing document with catch" time="0.004" classname="get/80_missing.yaml"/>
<testcase name="Missing document with ignore" time="0.008" classname="get/80_missing.yaml"/>
<system-out>DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[test_1] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[test_1] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="44" name="get_source/10_basic.yaml" timestamp="2013-11-11T20:06:25.040Z" hostname="localhost" tests="1" failures="0" errors="0" time="2.001">
<testcase name="Basic" time="0.044" classname="get_source/10_basic.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?pretty=true&quot; -XGET
&lt;- 200
{&quot;foo&quot;:&quot;bar&quot;}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/_all/1/_source&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_all/1/_source?pretty=true&quot; -XGET
&lt;- 200
{&quot;foo&quot;:&quot;bar&quot;}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="45" name="get_source/15_default_values.yaml" timestamp="2013-11-11T20:06:27.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Default values" time="0.034" classname="get_source/15_default_values.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/_all/1/_source&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_all/1/_source?pretty=true&quot; -XGET
&lt;- 200
{&quot;foo&quot;:&quot;bar&quot;}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="46" name="get_source/30_parent.yaml" timestamp="2013-11-11T20:06:29.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Parent" time="0.24" classname="get_source/30_parent.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?parent=5&quot; -XGET
&lt;- 200
{&quot;foo&quot;:&quot;bar&quot;}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?pretty=true&quot; -XGET
&lt;- 404
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="47" name="get_source/40_routing.yaml" timestamp="2013-11-11T20:06:31.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Routing" time="0.041" classname="get_source/40_routing.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?routing=5&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: { routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?routing=5&quot; -XGET
&lt;- 200
{&quot;foo&quot;:&quot;bar&quot;}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?pretty=true&quot; -XGET
&lt;- 404
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="48" name="get_source/55_parent_with_routing.yaml" timestamp="2013-11-11T20:06:33.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Parent with routing" time="0.247" classname="get_source/55_parent_with_routing.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos;, routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&amp;routing=4&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: { parent: &apos;5&apos;, routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?parent=5&amp;routing=4&quot; -XGET
&lt;- 200
{&quot;foo&quot;:&quot;bar&quot;}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?parent=5&quot; -XGET
&lt;- 404
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: { routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?routing=4&quot; -XGET
&lt;- 200
{&quot;foo&quot;:&quot;bar&quot;}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="49" name="get_source/60_realtime_refresh.yaml" timestamp="2013-11-11T20:06:35.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Realtime" time="0.051" classname="get_source/60_realtime_refresh.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: { realtime: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?realtime=true&quot; -XGET
&lt;- 200
{&quot;foo&quot;:&quot;bar&quot;}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: { realtime: false } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?realtime=false&quot; -XGET
&lt;- 404
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: { realtime: false, refresh: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?realtime=false&amp;refresh=true&quot; -XGET
&lt;- 200
{&quot;foo&quot;:&quot;bar&quot;}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="50" name="get_source/70_source_filtering.yaml" timestamp="2013-11-11T20:06:37.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="1.999">
<testcase name="Source filtering" time="0.041" classname="get_source/70_source_filtering.yaml"/>
<system-out>DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?pretty=true&quot; -XGET
&lt;- 200
{&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;,&quot;field2&quot;:&quot;v2&quot;},&quot;count&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?pretty=true&quot; -XGET
&lt;- 200
{&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;,&quot;field2&quot;:&quot;v2&quot;},&quot;count&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?pretty=true&quot; -XGET
&lt;- 200
{&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;,&quot;field2&quot;:&quot;v2&quot;},&quot;count&quot;:1}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="51" name="get_source/80_missing.yaml" timestamp="2013-11-11T20:06:39.040Z" hostname="localhost" tests="2" failures="0" errors="0" time="4">
<testcase name="Missing document with catch" time="0.005" classname="get_source/80_missing.yaml"/>
<testcase name="Missing document with ignore" time="0.009" classname="get_source/80_missing.yaml"/>
<system-out>DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?pretty=true&quot; -XGET
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[test_1] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_source&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_source?pretty=true&quot; -XGET
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[test_1] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="52" name="index/10_with_id.yaml" timestamp="2013-11-11T20:06:43.040Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Index with ID" time="0.032" classname="index/10_with_id.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test-weird-index-%E4%B8%AD%E6%96%87/weird.type/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test-weird-index-%E4%B8%AD%E6%96%87/weird.type/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test-weird-index-中文&quot;,&quot;_type&quot;:&quot;weird.type&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test-weird-index-%E4%B8%AD%E6%96%87/weird.type/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test-weird-index-%E4%B8%AD%E6%96%87/weird.type/1?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test-weird-index-中文&quot;,&quot;_type&quot;:&quot;weird.type&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="53" name="index/15_without_id.yaml" timestamp="2013-11-11T20:06:45.040Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Index without ID" time="0.041" classname="index/15_without_id.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;hmNT4cWdR0eg5YVx3LGMhg&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/hmNT4cWdR0eg5YVx3LGMhg&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/hmNT4cWdR0eg5YVx3LGMhg?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;hmNT4cWdR0eg5YVx3LGMhg&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="54" name="index/20_optype.yaml" timestamp="2013-11-11T20:06:47.040Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Optype" time="0.037" classname="index/20_optype.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { op_type: &apos;create&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?op_type=create&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
ignore: [ 409, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { op_type: &apos;create&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?op_type=create&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 409
{&quot;error&quot;:&quot;DocumentAlreadyExistsException[[test_1][2] [test][1]: document already exists]&quot;,&quot;status&quot;:409}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="55" name="index/30_internal_version.yaml" timestamp="2013-11-11T20:06:49.040Z" hostname="localhost" tests="1" failures="0" errors="0" time="2">
<testcase name="Internal version" time="0.05" classname="index/30_internal_version.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
ignore: [ 409, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { version: 1 } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?version=1&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 409
{&quot;error&quot;:&quot;VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [2], provided [1]]&quot;,&quot;status&quot;:409}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { version: 2 } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?version=2&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="56" name="index/35_external_version.yaml" timestamp="2013-11-11T20:06:51.040Z" hostname="localhost" tests="1" failures="0" errors="0" time="2.001">
<testcase name="External version" time="0.036" classname="index/35_external_version.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { version: 5, version_type: &apos;external&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?version=5&amp;version_type=external&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
ignore: [ 409, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { version: 5, version_type: &apos;external&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?version=5&amp;version_type=external&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 409
{&quot;error&quot;:&quot;VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [5], provided [5]]&quot;,&quot;status&quot;:409}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { version: 6, version_type: &apos;external&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?version=6&amp;version_type=external&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:6}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="57" name="index/40_routing.yaml" timestamp="2013-11-11T20:06:53.041Z" hostname="localhost" tests="1" failures="0" errors="0" time="1.999">
<testcase name="Routing" time="0.043" classname="index/40_routing.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?routing=5&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_routing&apos;, routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_routing&amp;routing=5&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_routing&quot;:&quot;5&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 404
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="58" name="index/50_parent.yaml" timestamp="2013-11-11T20:06:55.040Z" hostname="localhost" tests="1" failures="0" errors="0" time="1.517">
<testcase name="Parent" time="0.249" classname="index/50_parent.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 500
{&quot;error&quot;:&quot;RoutingMissingException[routing is required for [test_1]/[test]/[1]]&quot;,&quot;status&quot;:500}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_parent,_routing&apos;, parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&amp;parent=5&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_routing&quot;:&quot;5&quot;,&quot;_parent&quot;:&quot;5&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 404
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="59" name="index/55_parent_with_routing.yaml" timestamp="2013-11-11T20:06:56.557Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.107">
<testcase name="Parent with routing" time="0.098" classname="index/55_parent_with_routing.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos;, routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&amp;routing=4&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_parent,_routing&apos;, parent: &apos;5&apos;, routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&amp;parent=5&amp;routing=4&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_routing&quot;:&quot;4&quot;,&quot;_parent&quot;:&quot;5&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=5&quot; -XGET
&lt;- 404
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?routing=4&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="60" name="index/60_refresh.yaml" timestamp="2013-11-11T20:06:56.665Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.261">
<testcase name="Refresh" time="0.249" classname="index/60_refresh.yaml"/>
<system-out>DEBUG
starting request { body: { settings: { &apos;index.refresh_interval&apos;: -1 } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;settings\&quot;:{\&quot;index.refresh_interval\&quot;:-1}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { query: { term: { _id: 1 } } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;term\&quot;:{\&quot;_id\&quot;:1}}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:0,&quot;max_score&quot;:null,&quot;hits&quot;:[]}}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/2&apos;,
query: { refresh: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2?refresh=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { query: { term: { _id: 2 } } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;term\&quot;:{\&quot;_id\&quot;:2}}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}]}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="61" name="index/70_timestamp.yaml" timestamp="2013-11-11T20:06:56.926Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.26">
<testcase name="Timestamp" time="0.25" classname="index/70_timestamp.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _timestamp: { enabled: 1, store: &apos;yes&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_timestamp\&quot;:{\&quot;enabled\&quot;:1,\&quot;store\&quot;:\&quot;yes\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_timestamp&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_timestamp&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_timestamp&quot;:1384200417156}}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { timestamp: 1372011280000 } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?timestamp=1372011280000&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_timestamp&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_timestamp&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_timestamp&quot;:1372011280000}}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { timestamp: &apos;2013-06-23T18:14:40.000Z&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?timestamp=2013-06-23T18%3A14%3A40.000Z&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_timestamp&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_timestamp&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_timestamp&quot;:1372011280000}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="62" name="index/75_ttl.yaml" timestamp="2013-11-11T20:06:57.186Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.276">
<testcase name="TTL" time="0.263" classname="index/75_ttl.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _ttl: { enabled: 1, store: &apos;yes&apos;, default: &apos;10s&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_ttl\&quot;:{\&quot;enabled\&quot;:1,\&quot;store\&quot;:\&quot;yes\&quot;,\&quot;default\&quot;:\&quot;10s\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_ttl&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_ttl&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_ttl&quot;:9994}}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { ttl: 100000 } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?ttl=100000&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_ttl&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_ttl&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_ttl&quot;:99995}}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { ttl: &apos;20s&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?ttl=20s&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_ttl&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_ttl&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_ttl&quot;:19997}}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { timestamp: &apos;2013-06-23T18:14:40.000Z&apos;, ttl: &apos;20s&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?timestamp=2013-06-23T18%3A14%3A40.000Z&amp;ttl=20s&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 400
{&quot;error&quot;:&quot;MapperParsingException[failed to parse [_ttl]]; nested: AlreadyExpiredException[already expired [test_1]/[test]/[1] due to expire at [1372011300000] and was processed at [1384200417446]]; &quot;,&quot;status&quot;:400}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="63" name="indices.analyze/10_analyze.yaml" timestamp="2013-11-11T20:06:57.462Z" hostname="localhost" tests="3" failures="0" errors="0" time="0.299">
<testcase name="Basic test" time="0.004" classname="indices.analyze/10_analyze.yaml"/>
<testcase name="Tokenizer and filter" time="0.003" classname="indices.analyze/10_analyze.yaml"/>
<testcase name="Index and field" time="0.235" classname="indices.analyze/10_analyze.yaml"/>
<system-out>DEBUG
starting request { method: &apos;HEAD&apos;, path: &apos;/&apos;, timeout: 100 }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/?pretty=true&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_analyze&apos;,
query: { text: &apos;Foo Bar&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_analyze?text=Foo%20Bar&quot; -XGET
&lt;- 200
{&quot;tokens&quot;:[{&quot;token&quot;:&quot;foo&quot;,&quot;start_offset&quot;:0,&quot;end_offset&quot;:3,&quot;type&quot;:&quot;&lt;ALPHANUM&gt;&quot;,&quot;position&quot;:1},{&quot;token&quot;:&quot;bar&quot;,&quot;start_offset&quot;:4,&quot;end_offset&quot;:7,&quot;type&quot;:&quot;&lt;ALPHANUM&gt;&quot;,&quot;position&quot;:2}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { method: &apos;HEAD&apos;, path: &apos;/&apos;, timeout: 100 }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/?pretty=true&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_analyze&apos;,
query: { filters: &apos;lowercase&apos;, text: &apos;Foo Bar&apos;, tokenizer: &apos;keyword&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_analyze?filters=lowercase&amp;text=Foo%20Bar&amp;tokenizer=keyword&quot; -XGET
&lt;- 200
{&quot;tokens&quot;:[{&quot;token&quot;:&quot;foo bar&quot;,&quot;start_offset&quot;:0,&quot;end_offset&quot;:7,&quot;type&quot;:&quot;word&quot;,&quot;position&quot;:1}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { method: &apos;HEAD&apos;, path: &apos;/&apos;, timeout: 100 }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/?pretty=true&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { body: { mappings: { test: { properties: { text: { type: &apos;string&apos;, analyzer: &apos;whitespace&apos; } } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;properties\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;,\&quot;analyzer\&quot;:\&quot;whitespace\&quot;}}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test/_analyze&apos;,
query: { field: &apos;text&apos;, text: &apos;Foo Bar!&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test/_analyze?field=text&amp;text=Foo%20Bar!&quot; -XGET
&lt;- 200
{&quot;tokens&quot;:[{&quot;token&quot;:&quot;Foo&quot;,&quot;start_offset&quot;:0,&quot;end_offset&quot;:3,&quot;type&quot;:&quot;word&quot;,&quot;position&quot;:1},{&quot;token&quot;:&quot;Bar!&quot;,&quot;start_offset&quot;:4,&quot;end_offset&quot;:8,&quot;type&quot;:&quot;word&quot;,&quot;position&quot;:2}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="64" name="indices.analyze/20_analyze_text_format.yaml" timestamp="2013-11-11T20:06:57.761Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.029">
<testcase name="Text format" time="0.009" classname="indices.analyze/20_analyze_text_format.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_analyze&apos;,
query: { text: &apos;tHE BLACK and white! AND red&apos;, format: &apos;text&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_analyze?text=tHE%20BLACK%20and%20white!%20AND%20red&amp;format=text&quot; -XGET
&lt;- 200
{&quot;tokens&quot;:&quot;[black:4-&gt;9:&lt;ALPHANUM&gt;]\n\n4: \n[white:14-&gt;19:&lt;ALPHANUM&gt;]\n\n6: \n[red:25-&gt;28:&lt;ALPHANUM&gt;]\n&quot;}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="65" name="indices.clear_cache/10_basic.yaml" timestamp="2013-11-11T20:06:57.790Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.014">
<testcase name="clear_cache test" time="0.006" classname="indices.clear_cache/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_cache/clear&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cache/clear?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:0,&quot;successful&quot;:0,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="66" name="indices.delete_alias/10_basic.yaml" timestamp="2013-11-11T20:06:57.804Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.046">
<testcase name="Basic test for delete alias" time="0.035" classname="indices.delete_alias/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;PUT&apos;, path: &apos;/testind&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/testind?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { routing: &apos;routing value&apos; },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/testind/_alias/testali&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/testind/_alias/testali?pretty=true&quot; -XPUT -d &quot;{\&quot;routing\&quot;:\&quot;routing value\&quot;}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_alias/testali&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_alias/testali?pretty=true&quot; -XGET
&lt;- 200
{&quot;testind&quot;:{&quot;aliases&quot;:{&quot;testali&quot;:{&quot;index_routing&quot;:&quot;routing value&quot;,&quot;search_routing&quot;:&quot;routing value&quot;}}}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/testind/_alias/testali&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/testind/_alias/testali?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/testind/_alias/testali&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/testind/_alias/testali?pretty=true&quot; -XGET
&lt;- 404
{&quot;error&quot;:&quot;alias [testali] missing&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="67" name="indices.delete_mapping/10_basic.yaml" timestamp="2013-11-11T20:06:57.851Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.081">
<testcase name="delete mapping tests" time="0.067" classname="indices.delete_mapping/10_basic.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test_type: { properties: { text: { type: &apos;string&apos;, analyzer: &apos;whitespace&apos; } } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test_type\&quot;:{\&quot;properties\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;,\&quot;analyzer\&quot;:\&quot;whitespace\&quot;}}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_index/test_type&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/test_type?pretty=true&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_index/test_type&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/test_type?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_index/test_type&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/test_type?pretty=true&quot; -XHEAD
&lt;- 404
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="68" name="indices.exists/10_basic.yaml" timestamp="2013-11-11T20:06:57.932Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.047">
<testcase name="Test indices.exists" time="0.031" classname="indices.exists/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_index&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XHEAD
&lt;- 404
INFO
Request complete
DEBUG
starting request { timeout: 10000, method: &apos;PUT&apos;, path: &apos;/test_index&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/test_index&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="69" name="indices.get_field_mapping/10_basic.yaml" timestamp="2013-11-11T20:06:57.979Z" hostname="localhost" tests="5" failures="0" errors="0" time="0.273">
<testcase name="Get field mapping with no index and type" time="0.004" classname="indices.get_field_mapping/10_basic.yaml"/>
<testcase name="Get field mapping by index only" time="0.005" classname="indices.get_field_mapping/10_basic.yaml"/>
<testcase name="Get field mapping by type &amp; field" time="0.005" classname="indices.get_field_mapping/10_basic.yaml"/>
<testcase name="Get field mapping by type &amp; field, with another field that doesn&apos;t exist" time="0.005" classname="indices.get_field_mapping/10_basic.yaml"/>
<testcase name="Get field mapping with include_defaults" time="0.004" classname="indices.get_field_mapping/10_basic.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test_type: { properties: { text: { type: &apos;string&apos; } } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test_type\&quot;:{\&quot;properties\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;}}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_mapping/field/text&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_mapping/field/text?pretty=true&quot; -XGET
&lt;- 200
{&quot;test_index&quot;:{&quot;test_type&quot;:{&quot;text&quot;:{&quot;full_name&quot;:&quot;text&quot;, &quot;mapping&quot; : {&quot;text&quot;:{&quot;type&quot;:&quot;string&quot;}}}}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { mappings: { test_type: { properties: { text: { type: &apos;string&apos; } } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test_type\&quot;:{\&quot;properties\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;}}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/_mapping/field/text&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_mapping/field/text?pretty=true&quot; -XGET
&lt;- 200
{&quot;test_index&quot;:{&quot;test_type&quot;:{&quot;text&quot;:{&quot;full_name&quot;:&quot;text&quot;, &quot;mapping&quot; : {&quot;text&quot;:{&quot;type&quot;:&quot;string&quot;}}}}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { mappings: { test_type: { properties: { text: { type: &apos;string&apos; } } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test_type\&quot;:{\&quot;properties\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;}}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/test_type/_mapping/field/text&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/test_type/_mapping/field/text?pretty=true&quot; -XGET
&lt;- 200
{&quot;test_index&quot;:{&quot;test_type&quot;:{&quot;text&quot;:{&quot;full_name&quot;:&quot;text&quot;, &quot;mapping&quot; : {&quot;text&quot;:{&quot;type&quot;:&quot;string&quot;}}}}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { mappings: { test_type: { properties: { text: { type: &apos;string&apos; } } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test_type\&quot;:{\&quot;properties\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;}}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/test_type/_mapping/field/text%2Ctext1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/test_type/_mapping/field/text%2Ctext1?pretty=true&quot; -XGET
&lt;- 200
{&quot;test_index&quot;:{&quot;test_type&quot;:{&quot;text&quot;:{&quot;full_name&quot;:&quot;text&quot;, &quot;mapping&quot; : {&quot;text&quot;:{&quot;type&quot;:&quot;string&quot;}}}}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { mappings: { test_type: { properties: { text: { type: &apos;string&apos; } } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test_type\&quot;:{\&quot;properties\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;}}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/test_type/_mapping/field/text&apos;,
query: { include_defaults: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/test_type/_mapping/field/text?include_defaults=true&quot; -XGET
&lt;- 200
{&quot;test_index&quot;:{&quot;test_type&quot;:{&quot;text&quot;:{&quot;full_name&quot;:&quot;text&quot;, &quot;mapping&quot; : {&quot;text&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;index_name&quot;:&quot;text&quot;,&quot;boost&quot;:1.0,&quot;index&quot;:&quot;analyzed&quot;,&quot;store&quot;:false,&quot;term_vector&quot;:&quot;no&quot;,&quot;omit_norms&quot;:false,&quot;index_options&quot;:&quot;positions&quot;,&quot;analyzer&quot;:&quot;default&quot;,&quot;postings_format&quot;:&quot;default&quot;,&quot;doc_values_format&quot;:&quot;default&quot;,&quot;similariry&quot;:&quot;default&quot;,&quot;fielddata&quot;:{},&quot;null_value&quot;:null,&quot;include_in_all&quot;:false,&quot;position_offset_gap&quot;:0,&quot;search_quote_analyzer&quot;:&quot;default&quot;,&quot;ignore_above&quot;:-1}}}}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="70" name="indices.get_field_mapping/20_missing_field.yaml" timestamp="2013-11-11T20:06:58.252Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.04">
<testcase name="Raise 404 when field doesn&apos;t exist" time="0.025" classname="indices.get_field_mapping/20_missing_field.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test_type: { properties: { text: { type: &apos;string&apos;, analyzer: &apos;whitespace&apos; } } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test_type\&quot;:{\&quot;properties\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;,\&quot;analyzer\&quot;:\&quot;whitespace\&quot;}}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/test_type/_mapping/field/not_text&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/test_type/_mapping/field/not_text?pretty=true&quot; -XGET
&lt;- 404
{}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="71" name="indices.get_field_mapping/30_missing_type.yaml" timestamp="2013-11-11T20:06:58.292Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.127">
<testcase name="Raise 404 when type doesn&apos;t exist" time="0.114" classname="indices.get_field_mapping/30_missing_type.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test_type: { properties: { text: { type: &apos;string&apos;, analyzer: &apos;whitespace&apos; } } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test_type\&quot;:{\&quot;properties\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;,\&quot;analyzer\&quot;:\&quot;whitespace\&quot;}}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/not_test_type/_mapping/field/text&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/not_test_type/_mapping/field/text?pretty=true&quot; -XGET
&lt;- 404
{}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="72" name="indices.get_field_mapping/40_missing_index.yaml" timestamp="2013-11-11T20:06:58.419Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.018">
<testcase name="Raise 404 when index doesn&apos;t exist" time="0.005" classname="indices.get_field_mapping/40_missing_index.yaml"/>
<system-out>DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/type/_mapping/field/field&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/type/_mapping/field/field?pretty=true&quot; -XGET
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[test_index] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="73" name="indices.get_mapping/10_basic.yaml" timestamp="2013-11-11T20:06:58.437Z" hostname="localhost" tests="3" failures="0" errors="0" time="0.164">
<testcase name="Get index mapping" time="0.004" classname="indices.get_mapping/10_basic.yaml"/>
<testcase name="Get type mapping - pre 1.0" time="0.001" classname="indices.get_mapping/10_basic.yaml"/>
<testcase name="Get type mapping - post 1.0" time="0.005" classname="indices.get_mapping/10_basic.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test_type: { properties: { text: { type: &apos;string&apos;, analyzer: &apos;whitespace&apos; } } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test_type\&quot;:{\&quot;properties\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;,\&quot;analyzer\&quot;:\&quot;whitespace\&quot;}}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/_mapping&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_mapping?pretty=true&quot; -XGET
&lt;- 200
{&quot;test_index&quot;:{&quot;test_type&quot;:{&quot;properties&quot;:{&quot;text&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;analyzer&quot;:&quot;whitespace&quot;}}}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { mappings: { test_type: { properties: { text: { type: &apos;string&apos;, analyzer: &apos;whitespace&apos; } } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test_type\&quot;:{\&quot;properties\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;,\&quot;analyzer\&quot;:\&quot;whitespace\&quot;}}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { mappings: { test_type: { properties: { text: { type: &apos;string&apos;, analyzer: &apos;whitespace&apos; } } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test_type\&quot;:{\&quot;properties\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;,\&quot;analyzer\&quot;:\&quot;whitespace\&quot;}}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/test_type/_mapping&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/test_type/_mapping?pretty=true&quot; -XGET
&lt;- 200
{&quot;test_index&quot;:{&quot;test_type&quot;:{&quot;properties&quot;:{&quot;text&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;analyzer&quot;:&quot;whitespace&quot;}}}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="74" name="indices.get_mapping/20_missing_type.yaml" timestamp="2013-11-11T20:06:58.601Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.043">
<testcase name="Raise 404 when type doesn&apos;t exist" time="0.03" classname="indices.get_mapping/20_missing_type.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test_type: { properties: { text: { type: &apos;string&apos;, analyzer: &apos;whitespace&apos; } } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test_type\&quot;:{\&quot;properties\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;,\&quot;analyzer\&quot;:\&quot;whitespace\&quot;}}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/not_test_type/_mapping&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/not_test_type/_mapping?pretty=true&quot; -XGET
&lt;- 404
{&quot;error&quot;:&quot;TypeMissingException[[test_index] type[not_test_type] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="75" name="indices.get_mapping/30_missing_index.yaml" timestamp="2013-11-11T20:06:58.644Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.014">
<testcase name="Raise 404 when index doesn&apos;t exist" time="0.004" classname="indices.get_mapping/30_missing_index.yaml"/>
<system-out>DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/not_test_type/_mapping&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/not_test_type/_mapping?pretty=true&quot; -XGET
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[test_index] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="76" name="indices.get_template/10_basic.yaml" timestamp="2013-11-11T20:06:58.658Z" hostname="localhost" tests="2" failures="0" errors="0" time="0.102">
<testcase name="Get template" time="0.012" classname="indices.get_template/10_basic.yaml"/>
<testcase name="Get all templates" time="0.015" classname="indices.get_template/10_basic.yaml"/>
<system-out>DEBUG
starting request { body:
{ template: &apos;test-*&apos;,
settings: { number_of_shards: 1, number_of_replicas: 0 } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/_template/test&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_template/test?pretty=true&quot; -XPUT -d &quot;{\&quot;template\&quot;:\&quot;test-*\&quot;,\&quot;settings\&quot;:{\&quot;number_of_shards\&quot;:1,\&quot;number_of_replicas\&quot;:0}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_template/test&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_template/test?pretty=true&quot; -XGET
&lt;- 200
{&quot;test&quot;:{&quot;order&quot;:0,&quot;template&quot;:&quot;test-*&quot;,&quot;settings&quot;:{&quot;index.number_of_replicas&quot;:&quot;0&quot;,&quot;index.number_of_shards&quot;:&quot;1&quot;},&quot;mappings&quot;:{}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { body: { template: &apos;test-*&apos;, settings: { number_of_shards: 1 } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/_template/test&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_template/test?pretty=true&quot; -XPUT -d &quot;{\&quot;template\&quot;:\&quot;test-*\&quot;,\&quot;settings\&quot;:{\&quot;number_of_shards\&quot;:1}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { template: &apos;test2-*&apos;, settings: { number_of_shards: 1 } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/_template/test2&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_template/test2?pretty=true&quot; -XPUT -d &quot;{\&quot;template\&quot;:\&quot;test2-*\&quot;,\&quot;settings\&quot;:{\&quot;number_of_shards\&quot;:1}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000, method: &apos;GET&apos;, path: &apos;/_template&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_template?pretty=true&quot; -XGET
&lt;- 200
{&quot;test&quot;:{&quot;order&quot;:0,&quot;template&quot;:&quot;test-*&quot;,&quot;settings&quot;:{&quot;index.number_of_shards&quot;:&quot;1&quot;},&quot;mappings&quot;:{}},&quot;test2&quot;:{&quot;order&quot;:0,&quot;template&quot;:&quot;test2-*&quot;,&quot;settings&quot;:{&quot;index.number_of_shards&quot;:&quot;1&quot;},&quot;mappings&quot;:{}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="77" name="indices.get_template/20_get_missing.yaml" timestamp="2013-11-11T20:06:58.760Z" hostname="localhost" tests="2" failures="0" errors="0" time="0.031">
<testcase name="Get missing template - post 0.90.3" time="0.003" classname="indices.get_template/20_get_missing.yaml"/>
<testcase name="Get missing template - pre 0.90.3" time="0.001" classname="indices.get_template/20_get_missing.yaml"/>
<system-out>DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/_template/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_template/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_template/test&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_template/test?pretty=true&quot; -XGET
&lt;- 404
{}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/_template/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_template/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="78" name="indices.open/10_basic.yaml" timestamp="2013-11-11T20:06:58.791Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.277">
<testcase name="Basic test for index open/close" time="0.262" classname="indices.open/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;PUT&apos;, path: &apos;/test_index&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_index/_close&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_close?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { ignore: [ 403, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_search?pretty=true&quot; -XGET
&lt;- 403
{&quot;error&quot;:&quot;ClusterBlockException[blocked by: [FORBIDDEN/4/index closed];]&quot;,&quot;status&quot;:403}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_index/_open&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_open?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_search?pretty=true&quot; -XGET
&lt;- 200
{&quot;took&quot;:0,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:0,&quot;max_score&quot;:null,&quot;hits&quot;:[]}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="79" name="indices.optimize/10_basic.yaml" timestamp="2013-11-11T20:06:59.068Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.047">
<testcase name="Optimize index tests" time="0.034" classname="indices.optimize/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;PUT&apos;, path: &apos;/testing&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/testing?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/testing/_optimize&apos;,
query: { max_num_segments: 1 } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/testing/_optimize?max_num_segments=1&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:10,&quot;successful&quot;:3,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="80" name="indices.put_alias/10_basic.yaml" timestamp="2013-11-11T20:06:59.115Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.085">
<testcase name="Basic test for put alias" time="0.033" classname="indices.put_alias/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;PUT&apos;, path: &apos;/test_index&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/_alias/test_alias&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_alias/test_alias?pretty=true&quot; -XHEAD
&lt;- 404
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index/_alias/test_alias&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_alias/test_alias?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/_alias/test_alias&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_alias/test_alias?pretty=true&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_alias/test_alias&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_alias/test_alias?pretty=true&quot; -XGET
&lt;- 200
{&quot;test_index&quot;:{&quot;aliases&quot;:{&quot;test_alias&quot;:{}}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="81" name="indices.put_mapping/10_basic.yaml" timestamp="2013-11-11T20:06:59.200Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.052">
<testcase name="Test Create and update mapping" time="0.039" classname="indices.put_mapping/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;PUT&apos;, path: &apos;/test_index&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { test_type: { properties: { text: { type: &apos;string&apos;, analyzer: &apos;whitespace&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index/test_type/_mapping&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/test_type/_mapping?pretty=true&quot; -XPUT -d &quot;{\&quot;test_type\&quot;:{\&quot;properties\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;,\&quot;analyzer\&quot;:\&quot;whitespace\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/_mapping&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_mapping?pretty=true&quot; -XGET
&lt;- 200
{&quot;test_index&quot;:{&quot;test_type&quot;:{&quot;properties&quot;:{&quot;text&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;analyzer&quot;:&quot;whitespace&quot;}}}}}
INFO
Request complete
DEBUG
starting request { body:
{ test_type:
{ properties:
{ text:
{ type: &apos;multi_field&apos;,
fields:
{ text: { type: &apos;string&apos;, analyzer: &apos;whitespace&apos; },
text_raw: { type: &apos;string&apos;, index: &apos;not_analyzed&apos; } } } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index/test_type/_mapping&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/test_type/_mapping?pretty=true&quot; -XPUT -d &quot;{\&quot;test_type\&quot;:{\&quot;properties\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;multi_field\&quot;,\&quot;fields\&quot;:{\&quot;text\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;,\&quot;analyzer\&quot;:\&quot;whitespace\&quot;},\&quot;text_raw\&quot;:{\&quot;type\&quot;:\&quot;string\&quot;,\&quot;index\&quot;:\&quot;not_analyzed\&quot;}}}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/_mapping&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_mapping?pretty=true&quot; -XGET
&lt;- 200
{&quot;test_index&quot;:{&quot;test_type&quot;:{&quot;properties&quot;:{&quot;text&quot;:{&quot;type&quot;:&quot;multi_field&quot;,&quot;fields&quot;:{&quot;text&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;analyzer&quot;:&quot;whitespace&quot;},&quot;text_raw&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;index&quot;:&quot;not_analyzed&quot;,&quot;omit_norms&quot;:true,&quot;index_options&quot;:&quot;docs&quot;,&quot;include_in_all&quot;:false}}}}}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="82" name="indices.put_settings/10_basic.yaml" timestamp="2013-11-11T20:06:59.252Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.047">
<testcase name="Test indices settings" time="0.033" classname="indices.put_settings/10_basic.yaml"/>
<system-out>DEBUG
starting request { body: { settings: { index: { number_of_replicas: 0 } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test-index&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test-index?pretty=true&quot; -XPUT -d &quot;{\&quot;settings\&quot;:{\&quot;index\&quot;:{\&quot;number_of_replicas\&quot;:0}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test-index/_settings&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test-index/_settings?pretty=true&quot; -XGET
&lt;- 200
{&quot;test-index&quot;:{&quot;settings&quot;:{&quot;index.number_of_replicas&quot;:&quot;0&quot;,&quot;index.number_of_shards&quot;:&quot;5&quot;,&quot;index.version.created&quot;:&quot;1000001&quot;,&quot;index.uuid&quot;:&quot;sU4CXkW7SbqDsA2cwpOO4w&quot;}}}
INFO
Request complete
DEBUG
starting request { body: { number_of_replicas: 1 },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/_settings&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_settings?pretty=true&quot; -XPUT -d &quot;{\&quot;number_of_replicas\&quot;:1}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000, method: &apos;GET&apos;, path: &apos;/_settings&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_settings?pretty=true&quot; -XGET
&lt;- 200
{&quot;test-index&quot;:{&quot;settings&quot;:{&quot;index.number_of_replicas&quot;:&quot;1&quot;,&quot;index.number_of_shards&quot;:&quot;5&quot;,&quot;index.version.created&quot;:&quot;1000001&quot;,&quot;index.uuid&quot;:&quot;sU4CXkW7SbqDsA2cwpOO4w&quot;}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="83" name="indices.put_template/10_basic.yaml" timestamp="2013-11-11T20:06:59.299Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.072">
<testcase name="Put template" time="0.058" classname="indices.put_template/10_basic.yaml"/>
<system-out>DEBUG
starting request { body:
{ template: &apos;test-*&apos;,
settings: { number_of_shards: 1, number_of_replicas: 0 } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/_template/test&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_template/test?pretty=true&quot; -XPUT -d &quot;{\&quot;template\&quot;:\&quot;test-*\&quot;,\&quot;settings\&quot;:{\&quot;number_of_shards\&quot;:1,\&quot;number_of_replicas\&quot;:0}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_template/test&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_template/test?pretty=true&quot; -XGET
&lt;- 200
{&quot;test&quot;:{&quot;order&quot;:0,&quot;template&quot;:&quot;test-*&quot;,&quot;settings&quot;:{&quot;index.number_of_replicas&quot;:&quot;0&quot;,&quot;index.number_of_shards&quot;:&quot;1&quot;},&quot;mappings&quot;:{}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="84" name="indices.put_warmer/10_basic.yaml" timestamp="2013-11-11T20:06:59.371Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.262">
<testcase name="Basic test for warmers" time="0.248" classname="indices.put_warmer/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;PUT&apos;, path: &apos;/test_index&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/_warmer/test_warmer&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_warmer/test_warmer?pretty=true&quot; -XGET
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[test_index] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { body: { query: { match_all: {} } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_index/_warmer/test_warmer&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_warmer/test_warmer?pretty=true&quot; -XPUT -d &quot;{\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/_warmer/test_warmer&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_warmer/test_warmer?pretty=true&quot; -XGET
&lt;- 200
{&quot;test_index&quot;:{&quot;warmers&quot;:{&quot;test_warmer&quot;:{&quot;types&quot;:[],&quot;source&quot;:{&quot;query&quot;:{&quot;match_all&quot;:{}}}}}}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/test_index/_warmer&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_warmer?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/_warmer/test_warmer&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_warmer/test_warmer?pretty=true&quot; -XGET
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[test_index] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="85" name="indices.segments/10_basic.yaml" timestamp="2013-11-11T20:06:59.633Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.012">
<testcase name="segments test" time="0.004" classname="indices.segments/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;GET&apos;, path: &apos;/_segments&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_segments?pretty=true&quot; -XGET
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:0,&quot;successful&quot;:0,&quot;failed&quot;:0},&quot;indices&quot;:{}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="86" name="indices.snapshot_index/10_basic.yaml" timestamp="2013-11-11T20:06:59.646Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.061">
<testcase name="snapshot_index test" time="0.01" classname="indices.snapshot_index/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_gateway/snapshot&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_gateway/snapshot?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:0,&quot;successful&quot;:0,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="87" name="indices.stats/10_basic.yaml" timestamp="2013-11-11T20:06:59.707Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.04">
<testcase name="stats test" time="0.005" classname="indices.stats/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;GET&apos;, path: &apos;/_stats&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_stats?pretty=true&quot; -XGET
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:0,&quot;successful&quot;:0,&quot;failed&quot;:0},&quot;_all&quot;:{&quot;primaries&quot;:{},&quot;total&quot;:{}},&quot;indices&quot;:{}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="88" name="indices.status/10_basic.yaml" timestamp="2013-11-11T20:06:59.747Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.108">
<testcase name="Indices status test" time="0.075" classname="indices.status/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;GET&apos;, path: &apos;/_status&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_status?pretty=true&quot; -XGET
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:0,&quot;successful&quot;:0,&quot;failed&quot;:0},&quot;indices&quot;:{}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/not_here/_status&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/not_here/_status?pretty=true&quot; -XGET
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[not_here] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="89" name="indices.update_aliases/10_basic.yaml" timestamp="2013-11-11T20:06:59.855Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.044">
<testcase name="Basic test for aliases" time="0.035" classname="indices.update_aliases/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;PUT&apos;, path: &apos;/test_index&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/_alias/test_alias&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_alias/test_alias?pretty=true&quot; -XHEAD
&lt;- 404
INFO
Request complete
DEBUG
starting request { body:
{ actions:
[ { add:
{ index: &apos;test_index&apos;,
alias: &apos;test_alias&apos;,
routing: &apos;routing_value&apos; } },
[length]: 1 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_aliases&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_aliases?pretty=true&quot; -XPOST -d &quot;{\&quot;actions\&quot;:[{\&quot;add\&quot;:{\&quot;index\&quot;:\&quot;test_index\&quot;,\&quot;alias\&quot;:\&quot;test_alias\&quot;,\&quot;routing\&quot;:\&quot;routing_value\&quot;}}]}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
castExists: true,
method: &apos;HEAD&apos;,
path: &apos;/_alias/test_alias&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_alias/test_alias?pretty=true&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_index/_aliases&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/_aliases?pretty=true&quot; -XGET
&lt;- 200
{&quot;test_index&quot;:{&quot;aliases&quot;:{&quot;test_alias&quot;:{&quot;index_routing&quot;:&quot;routing_value&quot;,&quot;search_routing&quot;:&quot;routing_value&quot;}}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="90" name="indices.validate_query/10_basic.yaml" timestamp="2013-11-11T20:06:59.899Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.255">
<testcase name="Validate query api" time="0.236" classname="indices.validate_query/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;PUT&apos;, path: &apos;/testing&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/testing?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_validate/query&apos;,
query: { q: &apos;query string&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_validate/query?q=query%20string&quot; -XGET
&lt;- 200
{&quot;valid&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:1,&quot;successful&quot;:1,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { body: { query: { invalid_query: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_validate/query&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_validate/query?pretty=true&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;invalid_query\&quot;:{}}}&quot;
&lt;- 200
{&quot;valid&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:1,&quot;successful&quot;:1,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="91" name="info/10_info.yaml" timestamp="2013-11-11T20:07:00.154Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.02">
<testcase name="Info" time="0.006" classname="info/10_info.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;GET&apos;, path: &apos;/&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/?pretty=true&quot; -XGET
&lt;- 200
{
&quot;ok&quot; : true,
&quot;status&quot; : 200,
&quot;name&quot; : &quot;Absalom&quot;,
&quot;version&quot; : {
&quot;number&quot; : &quot;1.0.0.Beta1&quot;,
&quot;build_hash&quot; : &quot;d43f3d83d8bae03e6d202b9d7037013cae70a954&quot;,
&quot;build_timestamp&quot; : &quot;2013-10-31T00:10:20Z&quot;,
&quot;build_snapshot&quot; : true,
&quot;lucene_version&quot; : &quot;4.5.1&quot;
},
&quot;tagline&quot; : &quot;You Know, for Search&quot;
}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="92" name="info/20_lucene_version.yaml" timestamp="2013-11-11T20:07:00.174Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.03">
<testcase name="Lucene Version" time="0.005" classname="info/20_lucene_version.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;GET&apos;, path: &apos;/&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/?pretty=true&quot; -XGET
&lt;- 200
{
&quot;ok&quot; : true,
&quot;status&quot; : 200,
&quot;name&quot; : &quot;Absalom&quot;,
&quot;version&quot; : {
&quot;number&quot; : &quot;1.0.0.Beta1&quot;,
&quot;build_hash&quot; : &quot;d43f3d83d8bae03e6d202b9d7037013cae70a954&quot;,
&quot;build_timestamp&quot; : &quot;2013-10-31T00:10:20Z&quot;,
&quot;build_snapshot&quot; : true,
&quot;lucene_version&quot; : &quot;4.5.1&quot;
},
&quot;tagline&quot; : &quot;You Know, for Search&quot;
}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="93" name="mget/10_basic.yaml" timestamp="2013-11-11T20:07:00.204Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.151">
<testcase name="Basic multi-get" time="0.133" classname="mget/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;PUT&apos;, path: &apos;/test_2&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_2?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_flush&apos;,
query: { refresh: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_flush?refresh=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:20,&quot;successful&quot;:10,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { body:
{ docs:
[ { _index: &apos;test_2&apos;, _type: &apos;test&apos;, _id: 1 },
{ _index: &apos;test_1&apos;, _type: &apos;none&apos;, _id: 1 },
{ _index: &apos;test_1&apos;, _type: &apos;test&apos;, _id: 2 },
{ _index: &apos;test_1&apos;, _type: &apos;test&apos;, _id: 1 },
[length]: 4 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_index\&quot;:\&quot;test_2\&quot;,\&quot;_type\&quot;:\&quot;test\&quot;,\&quot;_id\&quot;:1},{\&quot;_index\&quot;:\&quot;test_1\&quot;,\&quot;_type\&quot;:\&quot;none\&quot;,\&quot;_id\&quot;:1},{\&quot;_index\&quot;:\&quot;test_1\&quot;,\&quot;_type\&quot;:\&quot;test\&quot;,\&quot;_id\&quot;:2},{\&quot;_index\&quot;:\&quot;test_1\&quot;,\&quot;_type\&quot;:\&quot;test\&quot;,\&quot;_id\&quot;:1}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_2&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;none&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;exists&quot;:false},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="94" name="mget/11_default_index_type.yaml" timestamp="2013-11-11T20:07:00.355Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.098">
<testcase name="Default index/type" time="0.063" classname="mget/11_default_index_type.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;PUT&apos;, path: &apos;/test_2&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_2?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:10,&quot;active_shards&quot;:10,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:10}
INFO
Request complete
DEBUG
starting request { body:
{ docs:
[ { _index: &apos;test_2&apos;, _id: 1 },
{ _type: &apos;none&apos;, _id: 1 },
{ _id: 2 },
{ _id: 1 },
[length]: 4 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_index\&quot;:\&quot;test_2\&quot;,\&quot;_id\&quot;:1},{\&quot;_type\&quot;:\&quot;none\&quot;,\&quot;_id\&quot;:1},{\&quot;_id\&quot;:2},{\&quot;_id\&quot;:1}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_2&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;none&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;exists&quot;:false},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="95" name="mget/12_non_existent_index.yaml" timestamp="2013-11-11T20:07:00.454Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.08">
<testcase name="Non-existent index" time="0.068" classname="mget/12_non_existent_index.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { docs: [ { _index: &apos;test_2&apos;, _type: &apos;test&apos;, _id: 1 }, [length]: 1 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_index\&quot;:\&quot;test_2\&quot;,\&quot;_type\&quot;:\&quot;test\&quot;,\&quot;_id\&quot;:1}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_2&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;error&quot;:&quot;[test_2] missing&quot;}]}
INFO
Request complete
DEBUG
starting request { body:
{ index: &apos;test_2&apos;,
docs: [ { _index: &apos;test_1&apos;, _type: &apos;test&apos;, _id: 1 }, [length]: 1 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;index\&quot;:\&quot;test_2\&quot;,\&quot;docs\&quot;:[{\&quot;_index\&quot;:\&quot;test_1\&quot;,\&quot;_type\&quot;:\&quot;test\&quot;,\&quot;_id\&quot;:1}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="96" name="mget/13_missing_metadata.yaml" timestamp="2013-11-11T20:07:00.534Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.062">
<testcase name="Missing metadata" time="0.052" classname="mget/13_missing_metadata.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { docs: [ { _index: &apos;test_1&apos;, _type: &apos;test&apos; }, [length]: 1 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_index\&quot;:\&quot;test_1\&quot;,\&quot;_type\&quot;:\&quot;test\&quot;}]}&quot;
&lt;- 500
{&quot;error&quot;:&quot;ActionRequestValidationException[Validation Failed: 1: id is missing for doc 0;]&quot;,&quot;status&quot;:500}
INFO
Request complete
DEBUG
starting request { body: { docs: [ { _type: &apos;test&apos;, _id: 1 }, [length]: 1 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_type\&quot;:\&quot;test\&quot;,\&quot;_id\&quot;:1}]}&quot;
&lt;- 500
{&quot;error&quot;:&quot;ActionRequestValidationException[Validation Failed: 1: index is missing for doc 0;]&quot;,&quot;status&quot;:500}
INFO
Request complete
DEBUG
starting request { body: { docs: [ [length]: 0 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[]}&quot;
&lt;- 500
{&quot;error&quot;:&quot;ActionRequestValidationException[Validation Failed: 1: no documents to get;]&quot;,&quot;status&quot;:500}
INFO
Request complete
DEBUG
starting request { body: {},
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_mget?pretty=true&quot; -XPOST -d &quot;{}&quot;
&lt;- 500
{&quot;error&quot;:&quot;ActionRequestValidationException[Validation Failed: 1: no documents to get;]&quot;,&quot;status&quot;:500}
INFO
Request complete
DEBUG
starting request { body: { docs: [ { _index: &apos;test_1&apos;, _id: 1 }, [length]: 1 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_index\&quot;:\&quot;test_1\&quot;,\&quot;_id\&quot;:1}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="97" name="mget/15_ids.yaml" timestamp="2013-11-11T20:07:00.596Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.104">
<testcase name="IDs" time="0.09" classname="mget/15_ids.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;baz&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test_2/2&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test_2/2?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;baz\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test_2&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { ids: [ 1, 2, [length]: 2 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;ids\&quot;:[1,2]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;exists&quot;:false}]}
INFO
Request complete
DEBUG
starting request { body: { ids: [ 1, 2, [length]: 2 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;ids\&quot;:[1,2]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test_2&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;baz&quot;}}]}
INFO
Request complete
DEBUG
starting request { body: { ids: [ [length]: 0 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;ids\&quot;:[]}&quot;
&lt;- 500
{&quot;error&quot;:&quot;ActionRequestValidationException[Validation Failed: 1: no documents to get;]&quot;,&quot;status&quot;:500}
INFO
Request complete
DEBUG
starting request { body: {},
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_mget?pretty=true&quot; -XPOST -d &quot;{}&quot;
&lt;- 500
{&quot;error&quot;:&quot;ActionRequestValidationException[Validation Failed: 1: no documents to get;]&quot;,&quot;status&quot;:500}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="98" name="mget/20_fields.yaml" timestamp="2013-11-11T20:07:00.700Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.103">
<testcase name="Fields" time="0.053" classname="mget/20_fields.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body:
{ docs:
[ { _id: 1 },
{ _id: 1, fields: &apos;foo&apos; },
{ _id: 1, fields: [ &apos;foo&apos;, [length]: 1 ] },
{ _id: 1, fields: [ &apos;foo&apos;, &apos;_source&apos;, [length]: 2 ] },
[length]: 4 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_id\&quot;:1},{\&quot;_id\&quot;:1,\&quot;fields\&quot;:\&quot;foo\&quot;},{\&quot;_id\&quot;:1,\&quot;fields\&quot;:[\&quot;foo\&quot;]},{\&quot;_id\&quot;:1,\&quot;fields\&quot;:[\&quot;foo\&quot;,\&quot;_source\&quot;]}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;},&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}}]}
INFO
Request complete
DEBUG
starting request { body:
{ docs:
[ { _id: 1 },
{ _id: 1, fields: &apos;foo&apos; },
{ _id: 1, fields: [ &apos;foo&apos;, [length]: 1 ] },
{ _id: 1, fields: [ &apos;foo&apos;, &apos;_source&apos;, [length]: 2 ] },
[length]: 4 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_mget&apos;,
query: { fields: &apos;foo&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_mget?fields=foo&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_id\&quot;:1},{\&quot;_id\&quot;:1,\&quot;fields\&quot;:\&quot;foo\&quot;},{\&quot;_id\&quot;:1,\&quot;fields\&quot;:[\&quot;foo\&quot;]},{\&quot;_id\&quot;:1,\&quot;fields\&quot;:[\&quot;foo\&quot;,\&quot;_source\&quot;]}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;},&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}}]}
INFO
Request complete
DEBUG
starting request { body:
{ docs:
[ { _id: 1 },
{ _id: 1, fields: &apos;foo&apos; },
{ _id: 1, fields: [ &apos;foo&apos;, [length]: 1 ] },
{ _id: 1, fields: [ &apos;foo&apos;, &apos;_source&apos;, [length]: 2 ] },
[length]: 4 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_mget&apos;,
query: { fields: &apos;foo&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_mget?fields=foo&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_id\&quot;:1},{\&quot;_id\&quot;:1,\&quot;fields\&quot;:\&quot;foo\&quot;},{\&quot;_id\&quot;:1,\&quot;fields\&quot;:[\&quot;foo\&quot;]},{\&quot;_id\&quot;:1,\&quot;fields\&quot;:[\&quot;foo\&quot;,\&quot;_source\&quot;]}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;},&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}}]}
INFO
Request complete
DEBUG
starting request { body:
{ docs:
[ { _id: 1 },
{ _id: 1, fields: &apos;foo&apos; },
{ _id: 1, fields: [ &apos;foo&apos;, [length]: 1 ] },
{ _id: 1, fields: [ &apos;foo&apos;, &apos;_source&apos;, [length]: 2 ] },
[length]: 4 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_mget&apos;,
query: { fields: &apos;foo,_source&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_mget?fields=foo%2C_source&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_id\&quot;:1},{\&quot;_id\&quot;:1,\&quot;fields\&quot;:\&quot;foo\&quot;},{\&quot;_id\&quot;:1,\&quot;fields\&quot;:[\&quot;foo\&quot;]},{\&quot;_id\&quot;:1,\&quot;fields\&quot;:[\&quot;foo\&quot;,\&quot;_source\&quot;]}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;},&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;},&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="99" name="mget/20_fields_pre_0.90.3.yaml" timestamp="2013-11-11T20:07:00.803Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.007">
<testcase name="Fields" time="0.001" classname="mget/20_fields_pre_0.90.3.yaml"/>
<system-out>DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="100" name="mget/30_parent.yaml" timestamp="2013-11-11T20:07:00.810Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.265">
<testcase name="Parent" time="0.25" classname="mget/30_parent.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=4&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/2&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2?parent=5&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body:
{ docs:
[ { _id: 1 },
{ _id: 1,
parent: 5,
fields: [ &apos;_parent&apos;, &apos;_routing&apos;, [length]: 2 ] },
{ _id: 1,
parent: 4,
fields: [ &apos;_parent&apos;, &apos;_routing&apos;, [length]: 2 ] },
{ _id: 2,
parent: 5,
fields: [ &apos;_parent&apos;, &apos;_routing&apos;, [length]: 2 ] },
[length]: 4 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_id\&quot;:1},{\&quot;_id\&quot;:1,\&quot;parent\&quot;:5,\&quot;fields\&quot;:[\&quot;_parent\&quot;,\&quot;_routing\&quot;]},{\&quot;_id\&quot;:1,\&quot;parent\&quot;:4,\&quot;fields\&quot;:[\&quot;_parent\&quot;,\&quot;_routing\&quot;]},{\&quot;_id\&quot;:2,\&quot;parent\&quot;:5,\&quot;fields\&quot;:[\&quot;_parent\&quot;,\&quot;_routing\&quot;]}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_routing&quot;:&quot;4&quot;,&quot;_parent&quot;:&quot;4&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_routing&quot;:&quot;5&quot;,&quot;_parent&quot;:&quot;5&quot;}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="101" name="mget/40_routing.yaml" timestamp="2013-11-11T20:07:01.075Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.05">
<testcase name="Routing" time="0.036" classname="mget/40_routing.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?routing=5&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body:
{ docs:
[ { _id: 1 },
{ _id: 1, routing: 4 },
{ _id: 1, routing: 5 },
[length]: 3 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_mget&apos;,
query: { fields: &apos;_routing&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_mget?fields=_routing&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_id\&quot;:1},{\&quot;_id\&quot;:1,\&quot;routing\&quot;:4},{\&quot;_id\&quot;:1,\&quot;routing\&quot;:5}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_routing&quot;:&quot;5&quot;}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="102" name="mget/55_parent_with_routing.yaml" timestamp="2013-11-11T20:07:01.125Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.252">
<testcase name="Parent" time="0.237" classname="mget/55_parent_with_routing.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { parent: &apos;4&apos;, routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?parent=4&amp;routing=5&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;: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: &apos;POST&apos;,
path: &apos;/test_1/test/_mget&apos;,
query: { fields: &apos;_routing,_parent&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_mget?fields=_routing%2C_parent&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_id\&quot;:1},{\&quot;_id\&quot;:1,\&quot;parent\&quot;:4},{\&quot;_id\&quot;:1,\&quot;parent\&quot;:4,\&quot;routing\&quot;:5}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_parent&quot;:&quot;4&quot;,&quot;_routing&quot;:&quot;5&quot;}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="103" name="mget/60_realtime_refresh.yaml" timestamp="2013-11-11T20:07:01.377Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.268">
<testcase name="Realtime Refresh" time="0.252" classname="mget/60_realtime_refresh.yaml"/>
<system-out>DEBUG
starting request { body: { settings: { index: { refresh_interval: -1, number_of_replicas: 0 } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;settings\&quot;:{\&quot;index\&quot;:{\&quot;refresh_interval\&quot;:-1,\&quot;number_of_replicas\&quot;:0}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;green&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:0}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { ids: [ 1, [length]: 1 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_mget&apos;,
query: { realtime: false } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_mget?realtime=false&quot; -XPOST -d &quot;{\&quot;ids\&quot;:[1]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;exists&quot;:false}]}
INFO
Request complete
DEBUG
starting request { body: { ids: [ 1, [length]: 1 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_mget&apos;,
query: { realtime: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_mget?realtime=true&quot; -XPOST -d &quot;{\&quot;ids\&quot;:[1]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}]}
INFO
Request complete
DEBUG
starting request { body: { ids: [ 1, [length]: 1 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_mget&apos;,
query: { realtime: false, refresh: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_mget?realtime=false&amp;refresh=true&quot; -XPOST -d &quot;{\&quot;ids\&quot;:[1]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="104" name="mget/70_source_filtering.yaml" timestamp="2013-11-11T20:07:01.645Z" hostname="localhost" tests="8" failures="0" errors="0" time="0.407">
<testcase name="Source filtering - true/false" time="0.005" classname="mget/70_source_filtering.yaml"/>
<testcase name="Source filtering - include field" time="0.004" classname="mget/70_source_filtering.yaml"/>
<testcase name="Source filtering - include nested field" time="0.003" classname="mget/70_source_filtering.yaml"/>
<testcase name="Source filtering - exclude field" time="0.003" classname="mget/70_source_filtering.yaml"/>
<testcase name="Source filtering - ids and true/false" time="0.007" classname="mget/70_source_filtering.yaml"/>
<testcase name="Source filtering - ids and include field" time="0.004" classname="mget/70_source_filtering.yaml"/>
<testcase name="Source filtering - ids and include nested field" time="0.004" classname="mget/70_source_filtering.yaml"/>
<testcase name="Source filtering - ids and exclude field" time="0.004" classname="mget/70_source_filtering.yaml"/>
<system-out>DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/2&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body:
{ docs:
[ { _index: &apos;test_1&apos;, _type: &apos;test&apos;, _id: &apos;1&apos;, _source: false },
{ _index: &apos;test_1&apos;, _type: &apos;test&apos;, _id: &apos;2&apos;, _source: true },
[length]: 2 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_index\&quot;:\&quot;test_1\&quot;,\&quot;_type\&quot;:\&quot;test\&quot;,\&quot;_id\&quot;:\&quot;1\&quot;,\&quot;_source\&quot;:false},{\&quot;_index\&quot;:\&quot;test_1\&quot;,\&quot;_type\&quot;:\&quot;test\&quot;,\&quot;_id\&quot;:\&quot;2\&quot;,\&quot;_source\&quot;:true}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;,&quot;field2&quot;:&quot;v2&quot;},&quot;count&quot;:1}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/2&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body:
{ docs:
[ { _index: &apos;test_1&apos;,
_type: &apos;test&apos;,
_id: &apos;1&apos;,
_source: &apos;include.field1&apos; },
{ _index: &apos;test_1&apos;,
_type: &apos;test&apos;,
_id: &apos;2&apos;,
_source: [ &apos;include.field1&apos;, [length]: 1 ] },
[length]: 2 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_index\&quot;:\&quot;test_1\&quot;,\&quot;_type\&quot;:\&quot;test\&quot;,\&quot;_id\&quot;:\&quot;1\&quot;,\&quot;_source\&quot;:\&quot;include.field1\&quot;},{\&quot;_index\&quot;:\&quot;test_1\&quot;,\&quot;_type\&quot;:\&quot;test\&quot;,\&quot;_id\&quot;:\&quot;2\&quot;,\&quot;_source\&quot;:[\&quot;include.field1\&quot;]}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/2&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body:
{ docs:
[ { _index: &apos;test_1&apos;,
_type: &apos;test&apos;,
_id: &apos;1&apos;,
_source: { include: &apos;include.field1&apos; } },
{ _index: &apos;test_1&apos;,
_type: &apos;test&apos;,
_id: &apos;2&apos;,
_source: { include: [ &apos;include.field1&apos;, [length]: 1 ] } },
[length]: 2 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_index\&quot;:\&quot;test_1\&quot;,\&quot;_type\&quot;:\&quot;test\&quot;,\&quot;_id\&quot;:\&quot;1\&quot;,\&quot;_source\&quot;:{\&quot;include\&quot;:\&quot;include.field1\&quot;}},{\&quot;_index\&quot;:\&quot;test_1\&quot;,\&quot;_type\&quot;:\&quot;test\&quot;,\&quot;_id\&quot;:\&quot;2\&quot;,\&quot;_source\&quot;:{\&quot;include\&quot;:[\&quot;include.field1\&quot;]}}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/2&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body:
{ docs:
[ { _index: &apos;test_1&apos;,
_type: &apos;test&apos;,
_id: &apos;1&apos;,
_source:
{ include: [ &apos;include&apos;, [length]: 1 ],
exclude: [ &apos;*.field2&apos;, [length]: 1 ] } },
[length]: 1 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_mget&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_mget?pretty=true&quot; -XPOST -d &quot;{\&quot;docs\&quot;:[{\&quot;_index\&quot;:\&quot;test_1\&quot;,\&quot;_type\&quot;:\&quot;test\&quot;,\&quot;_id\&quot;:\&quot;1\&quot;,\&quot;_source\&quot;:{\&quot;include\&quot;:[\&quot;include\&quot;],\&quot;exclude\&quot;:[\&quot;*.field2\&quot;]}}]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/2&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { ids: [ 1, 2, [length]: 2 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/_mget&apos;,
query: { _source: false } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_mget?_source=false&quot; -XPOST -d &quot;{\&quot;ids\&quot;:[1,2]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true}]}
INFO
Request complete
DEBUG
starting request { body: { ids: [ 1, 2, [length]: 2 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/_mget&apos;,
query: { _source: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_mget?_source=true&quot; -XPOST -d &quot;{\&quot;ids\&quot;:[1,2]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;,&quot;field2&quot;:&quot;v2&quot;},&quot;count&quot;:1}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;,&quot;field2&quot;:&quot;v2&quot;},&quot;count&quot;:1}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/2&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { ids: [ 1, 2, [length]: 2 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/_mget&apos;,
query: { _source: &apos;include.field1&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_mget?_source=include.field1&quot; -XPOST -d &quot;{\&quot;ids\&quot;:[1,2]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/2&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { ids: [ 1, 2, [length]: 2 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/_mget&apos;,
query: { _source_include: &apos;include.field1,count&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_mget?_source_include=include.field1%2Ccount&quot; -XPOST -d &quot;{\&quot;ids\&quot;:[1,2]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;count&quot;:1,&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;count&quot;:1,&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/2&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { ids: [ 1, 2, [length]: 2 ] },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/_mget&apos;,
query: { _source_exclude: &apos;*.field2&apos;, _source_include: &apos;include&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/_mget?_source_exclude=*.field2&amp;_source_include=include&quot; -XPOST -d &quot;{\&quot;ids\&quot;:[1,2]}&quot;
&lt;- 200
{&quot;docs&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="105" name="mlt/10_basic.yaml" timestamp="2013-11-11T20:07:02.052Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.051">
<testcase name="Basic mlt" time="0.04" classname="mlt/10_basic.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos;, title: &apos;howdy&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;,\&quot;title\&quot;:\&quot;howdy\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000, method: &apos;POST&apos;, path: &apos;/_refresh&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_refresh?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:10,&quot;successful&quot;:5,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1/_mlt&apos;,
query: { mlt_fields: &apos;title&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_mlt?mlt_fields=title&quot; -XGET
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:0,&quot;max_score&quot;:null,&quot;hits&quot;:[]}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="106" name="msearch/10_basic.yaml" timestamp="2013-11-11T20:07:02.103Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.063">
<testcase name="Basic multi-search" time="0.047" classname="msearch/10_basic.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;baz&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/2&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;baz\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;foo&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/3&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/3?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;foo\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;3&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000, method: &apos;POST&apos;, path: &apos;/_refresh&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_refresh?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:10,&quot;successful&quot;:5,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { body:
[ { index: &apos;test_1&apos; },
{ query: { match_all: {} } },
{ index: &apos;test_2&apos; },
{ query: { match_all: {} } },
{ search_type: &apos;count&apos;, index: &apos;test_1&apos; },
{ query: { match: { foo: &apos;bar&apos; } } },
[length]: 6 ],
timeout: 10000,
bulkBody: true,
method: &apos;POST&apos;,
path: &apos;/_msearch&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_msearch?pretty=true&quot; -XPOST -d &quot;{\&quot;index\&quot;:\&quot;test_1\&quot;}
{\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}
{\&quot;index\&quot;:\&quot;test_2\&quot;}
{\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}
{\&quot;search_type\&quot;:\&quot;count\&quot;,\&quot;index\&quot;:\&quot;test_1\&quot;}
{\&quot;query\&quot;:{\&quot;match\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}}
&quot;
&lt;- 200
{&quot;responses&quot;:[{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:3,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;3&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;foo&quot;:&quot;foo&quot;}},{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;foo&quot;:&quot;baz&quot;}}]}},{&quot;error&quot;:&quot;IndexMissingException[[test_2] missing]&quot;},{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:0.0,&quot;hits&quot;:[]}}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="107" name="percolate/10_old.yaml" timestamp="2013-11-11T20:07:02.166Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.007">
<testcase name="Basic percolation tests" time="0.001" classname="percolate/10_old.yaml"/>
<system-out>DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="108" name="percolate/15_new.yaml" timestamp="2013-11-11T20:07:02.173Z" hostname="localhost" tests="1" failures="1" errors="0" time="0.11">
<testcase name="Basic percolation tests" time="0" classname="percolate/15_new.yaml">
<failure message="Error: Error: expected undefined to sort of equal [ { _index: &apos;test_index&apos;, _id: &apos;test_percolator&apos; } ] (http://localhost:8888/yaml_tests.js?_c=J9hwb:10807)" type="AssertError"/>
</testcase>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;PUT&apos;, path: &apos;/test_index&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_index/.percolator/test_percolator&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/.percolator/test_percolator?pretty=true&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;.percolator&quot;,&quot;_id&quot;:&quot;test_percolator&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000, method: &apos;POST&apos;, path: &apos;/_refresh&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_refresh?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:10,&quot;successful&quot;:5,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_index/test_type/_percolate&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_index/test_type/_percolate?pretty=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;total&quot;:0}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="109" name="ping/10_ping.yaml" timestamp="2013-11-11T20:07:02.283Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.043">
<testcase name="Ping" time="0.022" classname="ping/10_ping.yaml"/>
<system-out>DEBUG
starting request { method: &apos;HEAD&apos;, path: &apos;/&apos;, timeout: 100 }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/?pretty=true&quot; -XHEAD
&lt;- 200
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="110" name="scroll/10_basic.yaml" timestamp="2013-11-11T20:07:02.326Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.088">
<testcase name="Basic scroll" time="0.078" classname="scroll/10_basic.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;PUT&apos;, path: &apos;/test_scroll&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_scroll?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_scroll/test/42&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_scroll/test/42?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_scroll&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;42&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000, method: &apos;POST&apos;, path: &apos;/_refresh&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_refresh?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:10,&quot;successful&quot;:5,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { body: { query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_scroll/_search&apos;,
query: { scroll: &apos;1m&apos;, search_type: &apos;scan&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_scroll/_search?scroll=1m&amp;search_type=scan&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;_scroll_id&quot;:&quot;c2Nhbjs1OzI5NjE6MGszX1hFX01Ub2lkNHVmOWF6cjZnQTsyOTYzOjBrM19YRV9NVG9pZDR1ZjlhenI2Z0E7Mjk2NDowazNfWEVfTVRvaWQ0dWY5YXpyNmdBOzI5NjI6MGszX1hFX01Ub2lkNHVmOWF6cjZnQTsyOTY1OjBrM19YRV9NVG9pZDR1ZjlhenI2Z0E7MTt0b3RhbF9oaXRzOjE7&quot;,&quot;took&quot;:0,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:0.0,&quot;hits&quot;:[]}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_search/scroll/c2Nhbjs1OzI5NjE6MGszX1hFX01Ub2lkNHVmOWF6cjZnQTsyOTYzOjBrM19YRV9NVG9pZDR1ZjlhenI2Z0E7Mjk2NDowazNfWEVfTVRvaWQ0dWY5YXpyNmdBOzI5NjI6MGszX1hFX01Ub2lkNHVmOWF6cjZnQTsyOTY1OjBrM19YRV9NVG9pZDR1ZjlhenI2Z0E7MTt0b3RhbF9oaXRzOjE7&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_search/scroll/c2Nhbjs1OzI5NjE6MGszX1hFX01Ub2lkNHVmOWF6cjZnQTsyOTYzOjBrM19YRV9NVG9pZDR1ZjlhenI2Z0E7Mjk2NDowazNfWEVfTVRvaWQ0dWY5YXpyNmdBOzI5NjI6MGszX1hFX01Ub2lkNHVmOWF6cjZnQTsyOTY1OjBrM19YRV9NVG9pZDR1ZjlhenI2Z0E7MTt0b3RhbF9oaXRzOjE7?pretty=true&quot; -XGET
&lt;- 200
{&quot;took&quot;:0,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:0.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_scroll&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;42&quot;,&quot;_score&quot;:0.0, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}]}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="111" name="search/10_source_filtering.yaml" timestamp="2013-11-11T20:07:02.415Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.108">
<testcase name="Source filtering" time="0.083" classname="search/10_source_filtering.yaml"/>
<system-out>DEBUG
starting request { body: { include: { field1: &apos;v1&apos;, field2: &apos;v2&apos; }, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;include\&quot;:{\&quot;field1\&quot;:\&quot;v1\&quot;,\&quot;field2\&quot;:\&quot;v2\&quot;},\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000, method: &apos;POST&apos;, path: &apos;/_refresh&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_refresh?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:10,&quot;successful&quot;:5,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { body: &apos;{ _source: true, query: { match_all: {} } }&apos;,
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_all/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_all/_search?pretty=true&quot; -XPOST -d &quot;{ _source: true, query: { match_all: {} } }&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;,&quot;field2&quot;:&quot;v2&quot;},&quot;count&quot;:1}}]}}
INFO
Request complete
DEBUG
starting request { body: &apos;{ _source: false, query: { match_all: {} } }&apos;,
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_all/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_all/_search?pretty=true&quot; -XPOST -d &quot;{ _source: false, query: { match_all: {} } }&quot;
&lt;- 200
{&quot;took&quot;:0,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1.0}]}}
INFO
Request complete
DEBUG
starting request { body: { query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_all/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_all/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;took&quot;:0,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;,&quot;field2&quot;:&quot;v2&quot;},&quot;count&quot;:1}}]}}
INFO
Request complete
DEBUG
starting request { body: { _source: &apos;include.field1&apos;, query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_all/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_all/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;_source\&quot;:\&quot;include.field1\&quot;,\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}]}}
INFO
Request complete
DEBUG
starting request { body: { _source: &apos;include.field2&apos;, query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_all/_search&apos;,
query: { _source_include: &apos;include.field1&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_all/_search?_source_include=include.field1&quot; -XPOST -d &quot;{\&quot;_source\&quot;:\&quot;include.field2\&quot;,\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;took&quot;:0,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}]}}
INFO
Request complete
DEBUG
starting request { body: { query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_all/_search&apos;,
query: { _source_include: &apos;include.field1&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_all/_search?_source_include=include.field1&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}]}}
INFO
Request complete
DEBUG
starting request { body: { query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_all/_search&apos;,
query: { _source_exclude: &apos;count&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_all/_search?_source_exclude=count&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;took&quot;:0,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;include&quot;:{&quot;field2&quot;:&quot;v2&quot;,&quot;field1&quot;:&quot;v1&quot;}}}]}}
INFO
Request complete
DEBUG
starting request { body:
{ _source: [ &apos;include.field1&apos;, &apos;include.field2&apos;, [length]: 2 ],
query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_all/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_all/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;_source\&quot;:[\&quot;include.field1\&quot;,\&quot;include.field2\&quot;],\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;include&quot;:{&quot;field2&quot;:&quot;v2&quot;,&quot;field1&quot;:&quot;v1&quot;}}}]}}
INFO
Request complete
DEBUG
starting request { body:
{ _source: { include: [ &apos;include.field1&apos;, &apos;include.field2&apos;, [length]: 2 ] },
query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_all/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_all/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;_source\&quot;:{\&quot;include\&quot;:[\&quot;include.field1\&quot;,\&quot;include.field2\&quot;]},\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;include&quot;:{&quot;field2&quot;:&quot;v2&quot;,&quot;field1&quot;:&quot;v1&quot;}}}]}}
INFO
Request complete
DEBUG
starting request { body:
{ _source: { includes: &apos;include&apos;, excludes: &apos;*.field2&apos; },
query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_all/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_all/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;_source\&quot;:{\&quot;includes\&quot;:\&quot;include\&quot;,\&quot;excludes\&quot;:\&quot;*.field2\&quot;},\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;took&quot;:0,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;}}}]}}
INFO
Request complete
DEBUG
starting request { body:
{ fields: [ &apos;include.field2&apos;, [length]: 1 ],
query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_all/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_all/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;fields\&quot;:[\&quot;include.field2\&quot;],\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1.0,&quot;fields&quot;:{&quot;include.field2&quot;:&quot;v2&quot;}}]}}
INFO
Request complete
DEBUG
starting request { body:
{ fields: [ &apos;include.field2&apos;, &apos;_source&apos;, [length]: 2 ],
query: { match_all: {} } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_all/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_all/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;fields\&quot;:[\&quot;include.field2\&quot;,\&quot;_source\&quot;],\&quot;query\&quot;:{\&quot;match_all\&quot;:{}}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;include&quot;:{&quot;field1&quot;:&quot;v1&quot;,&quot;field2&quot;:&quot;v2&quot;},&quot;count&quot;:1},&quot;fields&quot;:{&quot;include.field2&quot;:&quot;v2&quot;}}]}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="112" name="search/20_default_values.yaml" timestamp="2013-11-11T20:07:02.523Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.086">
<testcase name="Default index" time="0.07" classname="search/20_default_values.yaml"/>
<system-out>DEBUG
starting request { timeout: 10000, method: &apos;PUT&apos;, path: &apos;/test_2&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_2?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000, method: &apos;PUT&apos;, path: &apos;/test_1&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_2/test/42&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_2/test/42?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_2&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;42&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1%2Ctest_2/_refresh&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1%2Ctest_2/_refresh?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:20,&quot;successful&quot;:10,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { body: { query: { match: { foo: &apos;bar&apos; } } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_all/test/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_all/test/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;match\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:10,&quot;successful&quot;:10,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:2,&quot;max_score&quot;:0.30685282,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:0.30685282, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}},{&quot;_index&quot;:&quot;test_2&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;42&quot;,&quot;_score&quot;:0.30685282, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}]}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="113" name="suggest/10_basic.yaml" timestamp="2013-11-11T20:07:02.609Z" hostname="localhost" tests="2" failures="1" errors="0" time="0.106">
<testcase name="Basic tests for suggest API - pre v1" time="0" classname="suggest/10_basic.yaml"/>
<testcase name="Basic tests for suggest API - post v1" time="0" classname="suggest/10_basic.yaml">
<failure message="Error: Error: expected &apos;meetup&apos; to sort of equal &apos;amsterdam&apos; (http://localhost:8888/yaml_tests.js?_c=J9hwb:10807)" type="AssertError"/>
</testcase>
<system-out>DEBUG
starting request { body: { body: &apos;Amsterdam meetup&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test/test/testing_document&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test/test/testing_document?pretty=true&quot; -XPOST -d &quot;{\&quot;body\&quot;:\&quot;Amsterdam meetup\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;testing_document&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000, method: &apos;POST&apos;, path: &apos;/_refresh&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_refresh?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:10,&quot;successful&quot;:5,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { body: &apos;Amsterdam meetup&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test/test/testing_document&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test/test/testing_document?pretty=true&quot; -XPOST -d &quot;{\&quot;body\&quot;:\&quot;Amsterdam meetup\&quot;}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;testing_document&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000, method: &apos;POST&apos;, path: &apos;/_refresh&apos;, query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_refresh?pretty=true&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_shards&quot;:{&quot;total&quot;:10,&quot;successful&quot;:5,&quot;failed&quot;:0}}
INFO
Request complete
DEBUG
starting request { body: { test_suggestion: { text: &apos;The Amsterdma meetpu&apos;, term: { field: &apos;body&apos; } } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/_suggest&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_suggest?pretty=true&quot; -XPOST -d &quot;{\&quot;test_suggestion\&quot;:{\&quot;text\&quot;:\&quot;The Amsterdma meetpu\&quot;,\&quot;term\&quot;:{\&quot;field\&quot;:\&quot;body\&quot;}}}&quot;
&lt;- 200
{&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;test_suggestion&quot;:[{&quot;text&quot;:&quot;amsterdma&quot;,&quot;offset&quot;:4,&quot;length&quot;:9,&quot;options&quot;:[{&quot;text&quot;:&quot;amsterdam&quot;,&quot;score&quot;:0.8888889,&quot;freq&quot;:1}]},{&quot;text&quot;:&quot;meetpu&quot;,&quot;offset&quot;:14,&quot;length&quot;:6,&quot;options&quot;:[{&quot;text&quot;:&quot;meetup&quot;,&quot;score&quot;:0.8333333,&quot;freq&quot;:1}]}]}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="114" name="update/10_doc.yaml" timestamp="2013-11-11T20:07:02.715Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.048">
<testcase name="Partial document" time="0.038" classname="update/10_doc.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos;, count: 1, nested: { one: 1, two: 2 } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;,\&quot;count\&quot;:1,\&quot;nested\&quot;:{\&quot;one\&quot;:1,\&quot;two\&quot;:2}}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos;, nested: { one: 3 } } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;,\&quot;nested\&quot;:{\&quot;one\&quot;:3}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;baz&quot;,&quot;count&quot;:1,&quot;nested&quot;:{&quot;one&quot;:3,&quot;two&quot;:2}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="115" name="update/15_script.yaml" timestamp="2013-11-11T20:07:02.763Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.06">
<testcase name="Script" time="0.05" classname="update/15_script.yaml"/>
<system-out>DEBUG
starting request { body: { foo: &apos;bar&apos;, count: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;,\&quot;count\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body:
{ lang: &apos;mvel&apos;,
script: &apos;ctx._source.foo = bar&apos;,
params: { bar: &apos;xxx&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { script: &apos;1&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?script=1&quot; -XPOST -d &quot;{\&quot;lang\&quot;:\&quot;mvel\&quot;,\&quot;script\&quot;:\&quot;ctx._source.foo = bar\&quot;,\&quot;params\&quot;:{\&quot;bar\&quot;:\&quot;xxx\&quot;}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;xxx&quot;,&quot;count&quot;:1}}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { lang: &apos;mvel&apos;, script: &apos;ctx._source.foo = \&apos;yyy\&apos;&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?lang=mvel&amp;script=ctx._source.foo%20%3D%20%27yyy%27&quot; -XPOST
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;yyy&quot;,&quot;count&quot;:1}}
INFO
Request complete
DEBUG
starting request { body: { script: &apos;1&apos;, lang: &apos;doesnotexist&apos;, params: { bar: &apos;xxx&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;script\&quot;:\&quot;1\&quot;,\&quot;lang\&quot;:\&quot;doesnotexist\&quot;,\&quot;params\&quot;:{\&quot;bar\&quot;:\&quot;xxx\&quot;}}&quot;
&lt;- 400
{&quot;error&quot;:&quot;ElasticSearchIllegalArgumentException[failed to execute script]; nested: ElasticSearchIllegalArgumentException[script_lang not supported [doesnotexist]]; &quot;,&quot;status&quot;:400}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { lang: &apos;doesnotexist&apos;, script: &apos;1&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?lang=doesnotexist&amp;script=1&quot; -XPOST
&lt;- 400
{&quot;error&quot;:&quot;ElasticSearchIllegalArgumentException[failed to execute script]; nested: ElasticSearchIllegalArgumentException[script_lang not supported [doesnotexist]]; &quot;,&quot;status&quot;:400}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="116" name="update/20_doc_upsert.yaml" timestamp="2013-11-11T20:07:02.823Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.052">
<testcase name="Doc upsert" time="0.037" classname="update/20_doc_upsert.yaml"/>
<system-out>DEBUG
starting request { body: { doc: { foo: &apos;bar&apos;, count: 1 }, upsert: { foo: &apos;baz&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;,\&quot;count\&quot;:1},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;}}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;baz&quot;}}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;bar&apos;, count: 1 }, upsert: { foo: &apos;baz&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;,\&quot;count\&quot;:1},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;,&quot;count&quot;:1}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="117" name="update/22_doc_as_upsert.yaml" timestamp="2013-11-11T20:07:02.875Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.049">
<testcase name="Doc as upsert" time="0.038" classname="update/22_doc_as_upsert.yaml"/>
<system-out>DEBUG
starting request { body: { doc: { foo: &apos;bar&apos;, count: 1 }, doc_as_upsert: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;,\&quot;count\&quot;:1},\&quot;doc_as_upsert\&quot;:1}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;,&quot;count&quot;:1}}
INFO
Request complete
DEBUG
starting request { body: { doc: { count: 2 }, doc_as_upsert: 1 },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;count\&quot;:2},\&quot;doc_as_upsert\&quot;:1}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;,&quot;count&quot;:2}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="118" name="update/25_script_upsert.yaml" timestamp="2013-11-11T20:07:02.924Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.046">
<testcase name="Script upsert" time="0.036" classname="update/25_script_upsert.yaml"/>
<system-out>DEBUG
starting request { body:
{ script: &apos;ctx._source.foo = bar&apos;,
params: { bar: &apos;xxx&apos; },
upsert: { foo: &apos;baz&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;script\&quot;:\&quot;ctx._source.foo = bar\&quot;,\&quot;params\&quot;:{\&quot;bar\&quot;:\&quot;xxx\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;}}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;baz&quot;}}
INFO
Request complete
DEBUG
starting request { body:
{ script: &apos;ctx._source.foo = bar&apos;,
params: { bar: &apos;xxx&apos; },
upsert: { foo: &apos;baz&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;script\&quot;:\&quot;ctx._source.foo = bar\&quot;,\&quot;params\&quot;:{\&quot;bar\&quot;:\&quot;xxx\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?pretty=true&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2,&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;xxx&quot;}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="119" name="update/30_internal_version.yaml" timestamp="2013-11-11T20:07:02.970Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.049">
<testcase name="Internal version" time="0.038" classname="update/30_internal_version.yaml"/>
<system-out>DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
ignore: [ 409, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { version: 1 } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?version=1&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 409
{&quot;error&quot;:&quot;VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [-1], provided [1]]&quot;,&quot;status&quot;:409}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
ignore: [ 409, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { version: 2 } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?version=2&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 409
{&quot;error&quot;:&quot;VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [1], provided [2]]&quot;,&quot;status&quot;:409}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { version: 1 } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?version=1&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="120" name="update/35_external_version.yaml" timestamp="2013-11-11T20:07:03.019Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.048">
<testcase name="External version" time="0.034" classname="update/35_external_version.yaml"/>
<system-out>DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { version: 2, version_type: &apos;external&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?version=2&amp;version_type=external&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
ignore: [ 409, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { version: 2, version_type: &apos;external&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?version=2&amp;version_type=external&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 409
{&quot;error&quot;:&quot;VersionConflictEngineException[[test_1][2] [test][1]: version conflict, current [2], provided [2]]&quot;,&quot;status&quot;:409}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { version: 3, version_type: &apos;external&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?version=3&amp;version_type=external&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="121" name="update/40_routing.yaml" timestamp="2013-11-11T20:07:03.067Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.052">
<testcase name="Routing" time="0.04" classname="update/40_routing.yaml"/>
<system-out>DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?routing=5&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_routing&apos;, routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_routing&amp;routing=5&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_routing&quot;:&quot;5&quot;}}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; } },
ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;}}&quot;
&lt;- 404
{&quot;error&quot;:&quot;DocumentMissingException[[test_1][2] [test][1]: document missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { fields: &apos;foo&apos;, routing: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?fields=foo&amp;routing=5&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2,&quot;get&quot;:{&quot;exists&quot;:true,&quot;fields&quot;:{&quot;foo&quot;:&quot;baz&quot;}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="122" name="update/50_parent.yaml" timestamp="2013-11-11T20:07:03.119Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.254">
<testcase name="Parent" time="0.244" classname="update/50_parent.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 500
{&quot;error&quot;:&quot;RoutingMissingException[routing is required for [test_1]/[test]/[1]]&quot;,&quot;status&quot;:500}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?parent=5&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_parent,_routing&apos;, parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&amp;parent=5&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_routing&quot;:&quot;5&quot;,&quot;_parent&quot;:&quot;5&quot;}}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; } },
ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;}}&quot;
&lt;- 404
{&quot;error&quot;:&quot;DocumentMissingException[[test_1][2] [test][1]: document missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { fields: &apos;foo&apos;, parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?fields=foo&amp;parent=5&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2,&quot;get&quot;:{&quot;exists&quot;:true,&quot;fields&quot;:{&quot;foo&quot;:&quot;baz&quot;}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="123" name="update/55_parent_with_routing.yaml" timestamp="2013-11-11T20:07:03.373Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.258">
<testcase name="Parent with routing" time="0.246" classname="update/55_parent_with_routing.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _parent: { type: &apos;foo&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_parent\&quot;:{\&quot;type\&quot;:\&quot;foo\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { parent: &apos;5&apos;, routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?parent=5&amp;routing=4&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_parent,_routing&apos;, parent: &apos;5&apos;, routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_parent%2C_routing&amp;parent=5&amp;routing=4&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_routing&quot;:&quot;4&quot;,&quot;_parent&quot;:&quot;5&quot;}}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; } },
ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { parent: &apos;5&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?parent=5&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;}}&quot;
&lt;- 404
{&quot;error&quot;:&quot;DocumentMissingException[[test_1][1] [test][1]: document missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { fields: &apos;foo&apos;, parent: &apos;5&apos;, routing: &apos;4&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?fields=foo&amp;parent=5&amp;routing=4&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2,&quot;get&quot;:{&quot;exists&quot;:true,&quot;fields&quot;:{&quot;foo&quot;:&quot;baz&quot;}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="124" name="update/60_refresh.yaml" timestamp="2013-11-11T20:07:03.631Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.267">
<testcase name="Refresh" time="0.256" classname="update/60_refresh.yaml"/>
<system-out>DEBUG
starting request { body: { settings: { &apos;index.refresh_interval&apos;: -1 } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;settings\&quot;:{\&quot;index.refresh_interval\&quot;:-1}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { query: { term: { _id: 1 } } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;term\&quot;:{\&quot;_id\&quot;:1}}}&quot;
&lt;- 200
{&quot;took&quot;:0,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:0,&quot;max_score&quot;:null,&quot;hits&quot;:[]}}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/2/_update&apos;,
query: { refresh: true } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/2/_update?refresh=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { body: { query: { term: { _id: 2 } } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/_search&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/_search?pretty=true&quot; -XPOST -d &quot;{\&quot;query\&quot;:{\&quot;term\&quot;:{\&quot;_id\&quot;:2}}}&quot;
&lt;- 200
{&quot;took&quot;:1,&quot;timed_out&quot;:false,&quot;_shards&quot;:{&quot;total&quot;:5,&quot;successful&quot;:5,&quot;failed&quot;:0},&quot;hits&quot;:{&quot;total&quot;:1,&quot;max_score&quot;:1.0,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_score&quot;:1.0, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;}}]}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="125" name="update/70_timestamp.yaml" timestamp="2013-11-11T20:07:03.898Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.256">
<testcase name="Timestamp" time="0.245" classname="update/70_timestamp.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _timestamp: { enabled: 1, store: &apos;yes&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_timestamp\&quot;:{\&quot;enabled\&quot;:1,\&quot;store\&quot;:\&quot;yes\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_timestamp&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_timestamp&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_timestamp&quot;:1384200424127}}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { timestamp: 1372011280000 } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?timestamp=1372011280000&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_timestamp&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_timestamp&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_timestamp&quot;:1372011280000}}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { timestamp: &apos;2013-06-23T18:14:40.000Z&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?timestamp=2013-06-23T18%3A14%3A40.000Z&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_timestamp&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_timestamp&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_timestamp&quot;:1372011280000}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="126" name="update/75_ttl.yaml" timestamp="2013-11-11T20:07:04.154Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.066">
<testcase name="TTL" time="0.055" classname="update/75_ttl.yaml"/>
<system-out>DEBUG
starting request { body: { mappings: { test: { _ttl: { enabled: 1, store: &apos;yes&apos;, default: &apos;10s&apos; } } } },
timeout: 10000,
method: &apos;PUT&apos;,
path: &apos;/test_1&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1?pretty=true&quot; -XPUT -d &quot;{\&quot;mappings\&quot;:{\&quot;test\&quot;:{\&quot;_ttl\&quot;:{\&quot;enabled\&quot;:1,\&quot;store\&quot;:\&quot;yes\&quot;,\&quot;default\&quot;:\&quot;10s\&quot;}}}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/_cluster/health&apos;,
query: { wait_for_status: &apos;yellow&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/_cluster/health?wait_for_status=yellow&quot; -XGET
&lt;- 200
{&quot;cluster_name&quot;:&quot;elasticsearch&quot;,&quot;status&quot;:&quot;yellow&quot;,&quot;timed_out&quot;:false,&quot;number_of_nodes&quot;:1,&quot;number_of_data_nodes&quot;:1,&quot;active_primary_shards&quot;:5,&quot;active_shards&quot;:5,&quot;relocating_shards&quot;:0,&quot;initializing_shards&quot;:0,&quot;unassigned_shards&quot;:5}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_ttl&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_ttl&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_ttl&quot;:9996}}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { ttl: 100000 } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?ttl=100000&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_ttl&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_ttl&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:2,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_ttl&quot;:99997}}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { ttl: &apos;20s&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?ttl=20s&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 200
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3}
INFO
Request complete
DEBUG
starting request { timeout: 10000,
method: &apos;GET&apos;,
path: &apos;/test_1/test/1&apos;,
query: { fields: &apos;_ttl&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?fields=_ttl&quot; -XGET
&lt;- 200
{&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:3,&quot;exists&quot;:true,&quot;fields&quot;:{&quot;_ttl&quot;:19997}}
INFO
Request complete
DEBUG
starting request { body: { foo: &apos;bar&apos; },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1&apos;,
query: { timestamp: &apos;2013-06-23T18:14:40.000Z&apos;, ttl: &apos;20s&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1?timestamp=2013-06-23T18%3A14%3A40.000Z&amp;ttl=20s&quot; -XPOST -d &quot;{\&quot;foo\&quot;:\&quot;bar\&quot;}&quot;
&lt;- 400
{&quot;error&quot;:&quot;MapperParsingException[failed to parse [_ttl]]; nested: AlreadyExpiredException[already expired [test_1]/[test]/[1] due to expire at [1372011300000] and was processed at [1384200424208]]; &quot;,&quot;status&quot;:400}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="127" name="update/80_fields.yaml" timestamp="2013-11-11T20:07:04.220Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.038">
<testcase name="Fields" time="0.028" classname="update/80_fields.yaml"/>
<system-out>DEBUG
starting request { body: { doc: { foo: &apos;baz&apos; }, upsert: { foo: &apos;bar&apos; } },
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: { fields: &apos;foo,bar,_source&apos; } }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?fields=foo%2Cbar%2C_source&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;baz\&quot;},\&quot;upsert\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 201
{&quot;ok&quot;:true,&quot;_index&quot;:&quot;test_1&quot;,&quot;_type&quot;:&quot;test&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_version&quot;:1,&quot;get&quot;:{&quot;exists&quot;:true, &quot;_source&quot; : {&quot;foo&quot;:&quot;bar&quot;},&quot;fields&quot;:{&quot;foo&quot;:&quot;bar&quot;}}}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="128" name="update/85_fields_meta.yaml" timestamp="2013-11-11T20:07:04.258Z" hostname="localhost" tests="1" failures="0" errors="0" time="0.005">
<testcase name="Metadata Fields" time="0.001" classname="update/85_fields_meta.yaml"/>
<system-out>DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 404
{&quot;error&quot;:&quot;IndexMissingException[[*] missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
<testsuite package="elasticsearch-js:yaml_tests" id="129" name="update/90_missing.yaml" timestamp="2013-11-11T20:07:04.263Z" hostname="localhost" tests="3" failures="1" errors="0" time="NaN">
<testcase name="Missing document (partial doc)" time="0.032" classname="update/90_missing.yaml"/>
<testcase name="Missing document (script)" time="0.029" classname="update/90_missing.yaml"/>
<testcase name="&quot;after each&quot; hook" time="0.01" classname="update/90_missing.yaml">
<failure message="Error: global leak detected: testResults" type="AssertError"/>
</testcase>
<system-out>DEBUG
starting request { body: { doc: { foo: &apos;bar&apos; } },
ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 404
{&quot;error&quot;:&quot;DocumentMissingException[[test_1][2] [test][1]: document missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { body: { doc: { foo: &apos;bar&apos; } },
ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;doc\&quot;:{\&quot;foo\&quot;:\&quot;bar\&quot;}}&quot;
&lt;- 404
{&quot;error&quot;:&quot;DocumentMissingException[[test_1][2] [test][1]: document missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
DEBUG
starting request { body: { script: &apos;ctx._source.foo = bar&apos;, params: { bar: &apos;xxx&apos; } },
ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;script\&quot;:\&quot;ctx._source.foo = bar\&quot;,\&quot;params\&quot;:{\&quot;bar\&quot;:\&quot;xxx\&quot;}}&quot;
&lt;- 404
{&quot;error&quot;:&quot;DocumentMissingException[[test_1][2] [test][1]: document missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { body: { script: &apos;ctx._source.foo = bar&apos;, params: { bar: &apos;xxx&apos; } },
ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;POST&apos;,
path: &apos;/test_1/test/1/_update&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/test_1/test/1/_update?pretty=true&quot; -XPOST -d &quot;{\&quot;script\&quot;:\&quot;ctx._source.foo = bar\&quot;,\&quot;params\&quot;:{\&quot;bar\&quot;:\&quot;xxx\&quot;}}&quot;
&lt;- 404
{&quot;error&quot;:&quot;DocumentMissingException[[test_1][2] [test][1]: document missing]&quot;,&quot;status&quot;:404}
INFO
Request complete
DEBUG
starting request { ignore: [ 404, [length]: 1 ],
timeout: 10000,
method: &apos;DELETE&apos;,
path: &apos;/*&apos;,
query: {} }
INFO
Selected alive Connection, making request
TRACE:
curl &quot;http://localhost:9200/*?pretty=true&quot; -XDELETE
&lt;- 200
{&quot;ok&quot;:true,&quot;acknowledged&quot;:true}
INFO
Request complete
</system-out>
<system-err></system-err>
</testsuite>
</testsuites>