elasticsearch-api 6.3.0 → 6.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/elasticsearch/api/actions/delete_template.rb +21 -0
- data/lib/elasticsearch/api/actions/field_stats.rb +36 -0
- data/lib/elasticsearch/api/actions/get_template.rb +27 -0
- data/lib/elasticsearch/api/actions/indices/delete_mapping.rb +26 -0
- data/lib/elasticsearch/api/actions/indices/delete_warmer.rb +32 -0
- data/lib/elasticsearch/api/actions/indices/get_aliases.rb +37 -0
- data/lib/elasticsearch/api/actions/indices/get_warmer.rb +62 -0
- data/lib/elasticsearch/api/actions/indices/optimize.rb +77 -0
- data/lib/elasticsearch/api/actions/indices/put_warmer.rb +65 -0
- data/lib/elasticsearch/api/actions/indices/seal.rb +24 -0
- data/lib/elasticsearch/api/actions/indices/snapshot_index.rb +44 -0
- data/lib/elasticsearch/api/actions/indices/status.rb +63 -0
- data/lib/elasticsearch/api/actions/list_benchmarks.rb +27 -0
- data/lib/elasticsearch/api/actions/mlt.rb +130 -0
- data/lib/elasticsearch/api/actions/mpercolate.rb +62 -0
- data/lib/elasticsearch/api/actions/nodes/shutdown.rb +39 -0
- data/lib/elasticsearch/api/actions/percolate.rb +73 -0
- data/lib/elasticsearch/api/actions/put_template.rb +25 -0
- data/lib/elasticsearch/api/actions/remote/info.rb +21 -0
- data/lib/elasticsearch/api/actions/search_exists.rb +63 -0
- data/lib/elasticsearch/api/actions/suggest.rb +49 -0
- data/lib/elasticsearch/api/version.rb +1 -1
- data/spec/elasticsearch/api/actions/delete_template_spec.rb +17 -0
- data/spec/elasticsearch/api/actions/field_stats_spec.rb +17 -0
- data/spec/elasticsearch/api/actions/get_template_spec.rb +52 -0
- data/spec/elasticsearch/api/actions/indices/delete_mapping_spec.rb +77 -0
- data/spec/elasticsearch/api/actions/indices/delete_warmer_spec.rb +86 -0
- data/spec/elasticsearch/api/actions/indices/get_aliases_spec.rb +55 -0
- data/spec/elasticsearch/api/actions/indices/get_warmer_spec.rb +48 -0
- data/spec/elasticsearch/api/actions/indices/optimize_spec.rb +63 -0
- data/spec/elasticsearch/api/actions/indices/put_warmer_spec.rb +101 -0
- data/spec/elasticsearch/api/actions/indices/seal_spec.rb +18 -0
- data/spec/elasticsearch/api/actions/indices/snapshot_index_spec.rb +89 -0
- data/spec/elasticsearch/api/actions/indices/status_spec.rb +92 -0
- data/spec/elasticsearch/api/actions/list_benchmarks_spec.rb +17 -0
- data/spec/elasticsearch/api/actions/mlt_spec.rb +130 -0
- data/spec/elasticsearch/api/actions/mpercolate_spec.rb +49 -0
- data/spec/elasticsearch/api/actions/nodes/shutdown_spec.rb +59 -0
- data/spec/elasticsearch/api/actions/percolate_spec.rb +67 -0
- data/spec/elasticsearch/api/actions/put_template_spec.rb +17 -0
- data/spec/elasticsearch/api/actions/remote/info_spec.rb +18 -0
- data/spec/elasticsearch/api/actions/search_exists_spec.rb +63 -0
- data/spec/elasticsearch/api/actions/suggest_spec.rb +77 -0
- metadata +65 -2
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'client#mpercolate' do
|
4
|
+
|
5
|
+
let(:expected_args) do
|
6
|
+
[
|
7
|
+
'GET',
|
8
|
+
'_mpercolate',
|
9
|
+
params,
|
10
|
+
body
|
11
|
+
]
|
12
|
+
end
|
13
|
+
|
14
|
+
let(:body) do
|
15
|
+
nil
|
16
|
+
end
|
17
|
+
|
18
|
+
let(:params) do
|
19
|
+
{}
|
20
|
+
end
|
21
|
+
|
22
|
+
context 'when a body is provided as a document' do
|
23
|
+
|
24
|
+
let(:body) do
|
25
|
+
"{\"percolate\":{\"index\":\"my-index\",\"type\":\"my-type\"}}\n{\"doc\":{\"message\":\"foo bar\"}}\n" +
|
26
|
+
"{\"percolate\":{\"index\":\"my-other-index\",\"type\":\"my-other-type\",\"id\":\"1\"}}\n{}\n"
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'performs the request' do
|
30
|
+
expect(client_double.mpercolate(body: [
|
31
|
+
{ percolate: { index: "my-index", type: "my-type" } },
|
32
|
+
{ doc: { message: "foo bar" } },
|
33
|
+
{ percolate: { index: "my-other-index", type: "my-other-type", id: "1" } },
|
34
|
+
{ }
|
35
|
+
])).to eq({})
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
context 'when a body is provided as a string' do
|
40
|
+
|
41
|
+
let(:body) do
|
42
|
+
%Q|{"foo":"bar"}\n{"moo":"lam"}|
|
43
|
+
end
|
44
|
+
|
45
|
+
it 'performs the request' do
|
46
|
+
expect(client_double.mpercolate(body: %Q|{"foo":"bar"}\n{"moo":"lam"}|)).to eq({})
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'client.nodes#shutdown' do
|
4
|
+
|
5
|
+
let(:expected_args) do
|
6
|
+
[
|
7
|
+
'POST',
|
8
|
+
url,
|
9
|
+
params,
|
10
|
+
nil,
|
11
|
+
nil
|
12
|
+
]
|
13
|
+
end
|
14
|
+
|
15
|
+
let(:url) do
|
16
|
+
'_cluster/nodes/_shutdown'
|
17
|
+
end
|
18
|
+
|
19
|
+
it 'performs the request' do
|
20
|
+
expect(client_double.nodes.shutdown).to eq({})
|
21
|
+
end
|
22
|
+
|
23
|
+
let(:params) do
|
24
|
+
{}
|
25
|
+
end
|
26
|
+
|
27
|
+
context 'when the node id is specified' do
|
28
|
+
|
29
|
+
let(:url) do
|
30
|
+
'_cluster/nodes/foo/_shutdown'
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'performs the request' do
|
34
|
+
expect(client_double.nodes.shutdown(node_id: 'foo')).to eq({})
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
context 'when multiple node ids are specified as a list' do
|
39
|
+
|
40
|
+
let(:url) do
|
41
|
+
'_cluster/nodes/A,B,C/_shutdown'
|
42
|
+
end
|
43
|
+
|
44
|
+
it 'performs the request' do
|
45
|
+
expect(client_double.nodes.shutdown(node_id: ['A', 'B', 'C'])).to eq({})
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
context 'when multiple node ids are specified as a String' do
|
50
|
+
|
51
|
+
let(:url) do
|
52
|
+
'_cluster/nodes/A,B,C/_shutdown'
|
53
|
+
end
|
54
|
+
|
55
|
+
it 'performs the request' do
|
56
|
+
expect(client_double.nodes.shutdown(node_id: 'A,B,C')).to eq({})
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'client#percolate' do
|
4
|
+
|
5
|
+
let(:expected_args) do
|
6
|
+
[
|
7
|
+
'GET',
|
8
|
+
url,
|
9
|
+
{ },
|
10
|
+
body
|
11
|
+
]
|
12
|
+
end
|
13
|
+
|
14
|
+
let(:body) do
|
15
|
+
{ doc: { foo: 'bar' }}
|
16
|
+
end
|
17
|
+
|
18
|
+
let(:url) do
|
19
|
+
'foo/bar/_percolate'
|
20
|
+
end
|
21
|
+
|
22
|
+
let(:client) do
|
23
|
+
Class.new { include Elasticsearch::API }.new
|
24
|
+
end
|
25
|
+
|
26
|
+
it 'requires the :index argument' do
|
27
|
+
expect {
|
28
|
+
client.percolate(type: 'bar', body: {})
|
29
|
+
}.to raise_exception(ArgumentError)
|
30
|
+
end
|
31
|
+
|
32
|
+
it 'requires the :type argument' do
|
33
|
+
expect {
|
34
|
+
client.percolate(index: 'foo', body: {})
|
35
|
+
}.to raise_exception(ArgumentError)
|
36
|
+
end
|
37
|
+
|
38
|
+
it 'performs the request' do
|
39
|
+
expect(client_double.percolate(index: 'foo', type: 'bar', body: { doc: { foo: 'bar' } })).to eq({})
|
40
|
+
end
|
41
|
+
|
42
|
+
context 'when the request needs to be URL-escaped' do
|
43
|
+
|
44
|
+
let(:url) do
|
45
|
+
'foo%5Ebar/bar%2Fbam/_percolate'
|
46
|
+
end
|
47
|
+
|
48
|
+
it 'URL-escapes the parts' do
|
49
|
+
expect(client_double.percolate(index: 'foo^bar', type: 'bar/bam', body: { doc: { foo: 'bar' } })).to eq({})
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
context 'when the document id needs to be URL-escaped' do
|
54
|
+
|
55
|
+
let(:url) do
|
56
|
+
'foo%5Ebar/bar%2Fbam/some%2Fid/_percolate'
|
57
|
+
end
|
58
|
+
|
59
|
+
let(:body) do
|
60
|
+
nil
|
61
|
+
end
|
62
|
+
|
63
|
+
it 'URL-escapes the id' do
|
64
|
+
expect(client_double.percolate(index: 'foo^bar', type: 'bar/bam', id: 'some/id')).to eq({})
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'client#put_template' do
|
4
|
+
|
5
|
+
let(:expected_args) do
|
6
|
+
[
|
7
|
+
'POST',
|
8
|
+
'_scripts/foo',
|
9
|
+
{ },
|
10
|
+
{ }
|
11
|
+
]
|
12
|
+
end
|
13
|
+
|
14
|
+
it 'performs the request' do
|
15
|
+
expect(client_double.put_template(id: 'foo', body: { })).to eq({})
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'client.remote#info' do
|
4
|
+
|
5
|
+
let(:expected_args) do
|
6
|
+
[
|
7
|
+
'GET',
|
8
|
+
'_remote/info',
|
9
|
+
{},
|
10
|
+
nil,
|
11
|
+
nil
|
12
|
+
]
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'performs the request' do
|
16
|
+
expect(client_double.remote.info).to eq({})
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
module Elasticsearch
|
2
|
+
module API
|
3
|
+
module Actions
|
4
|
+
|
5
|
+
# Return whether documents exists for a particular query
|
6
|
+
#
|
7
|
+
# @option arguments [List] :index A comma-separated list of indices to restrict the results
|
8
|
+
# @option arguments [List] :type A comma-separated list of types to restrict the results
|
9
|
+
# @option arguments [Hash] :body A query to restrict the results specified with the Query DSL (optional)
|
10
|
+
# @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when
|
11
|
+
# unavailable (missing or closed)
|
12
|
+
# @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves
|
13
|
+
# into no concrete indices.
|
14
|
+
# @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices
|
15
|
+
# that are open, closed or both.
|
16
|
+
# (options: open, closed, none, all)
|
17
|
+
# @option arguments [Number] :min_score Include only documents with a specific `_score` value in the result
|
18
|
+
# @option arguments [String] :preference Specify the node or shard the operation should be performed on
|
19
|
+
# (default: random)
|
20
|
+
# @option arguments [String] :routing Specific routing value
|
21
|
+
# @option arguments [String] :q Query in the Lucene query string syntax
|
22
|
+
# @option arguments [String] :analyzer The analyzer to use for the query string
|
23
|
+
# @option arguments [Boolean] :analyze_wildcard Specify whether wildcard and prefix queries should be
|
24
|
+
# analyzed (default: false)
|
25
|
+
# @option arguments [String] :default_operator The default operator for query string query (AND or OR)
|
26
|
+
# (options: AND, OR)
|
27
|
+
# @option arguments [String] :df The field to use as default where no field prefix is given
|
28
|
+
# in the query string
|
29
|
+
# @option arguments [Boolean] :lenient Specify whether format-based query failures
|
30
|
+
# (such as providing text to a numeric field) should be ignored
|
31
|
+
# @option arguments [Boolean] :lowercase_expanded_terms Specify whether query terms should be lowercased
|
32
|
+
#
|
33
|
+
# @see http://www.elastic.co/guide/en/elasticsearch/reference/master/search-exists.html
|
34
|
+
#
|
35
|
+
def search_exists(arguments={})
|
36
|
+
method = 'POST'
|
37
|
+
path = "_search/exists"
|
38
|
+
params = Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__)
|
39
|
+
body = arguments[:body]
|
40
|
+
|
41
|
+
perform_request(method, path, params, body).body
|
42
|
+
end
|
43
|
+
|
44
|
+
# Register this action with its valid params when the module is loaded.
|
45
|
+
#
|
46
|
+
# @since 6.2.0
|
47
|
+
ParamsRegistry.register(:search_exists, [
|
48
|
+
:ignore_unavailable,
|
49
|
+
:allow_no_indices,
|
50
|
+
:expand_wildcards,
|
51
|
+
:min_score,
|
52
|
+
:preference,
|
53
|
+
:routing,
|
54
|
+
:q,
|
55
|
+
:analyzer,
|
56
|
+
:analyze_wildcard,
|
57
|
+
:default_operator,
|
58
|
+
:df,
|
59
|
+
:lenient,
|
60
|
+
:lowercase_expanded_terms ].freeze)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,77 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'client#suggest' do
|
4
|
+
|
5
|
+
let(:expected_args) do
|
6
|
+
[
|
7
|
+
'POST',
|
8
|
+
url,
|
9
|
+
params,
|
10
|
+
body
|
11
|
+
]
|
12
|
+
end
|
13
|
+
|
14
|
+
let(:url) do
|
15
|
+
'_suggest'
|
16
|
+
end
|
17
|
+
|
18
|
+
let(:params) do
|
19
|
+
{}
|
20
|
+
end
|
21
|
+
|
22
|
+
let(:body) do
|
23
|
+
{}
|
24
|
+
end
|
25
|
+
|
26
|
+
it 'performs the request' do
|
27
|
+
expect(client_double.suggest(body: {})).to eq({})
|
28
|
+
end
|
29
|
+
|
30
|
+
context 'when an index is specified' do
|
31
|
+
|
32
|
+
let(:url) do
|
33
|
+
'foo/_suggest'
|
34
|
+
end
|
35
|
+
|
36
|
+
it 'performs the request' do
|
37
|
+
expect(client_double.suggest(index: 'foo', body: {}))
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
context 'when there are URL params specified' do
|
42
|
+
|
43
|
+
let(:url) do
|
44
|
+
'foo/_suggest'
|
45
|
+
end
|
46
|
+
|
47
|
+
let(:params) do
|
48
|
+
{ routing: 'abc123' }
|
49
|
+
end
|
50
|
+
|
51
|
+
it 'performs the request' do
|
52
|
+
expect(client_double.suggest(index: 'foo', routing: 'abc123', body: {}))
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
context 'when the request must be URL-escaped' do
|
57
|
+
|
58
|
+
let(:url) do
|
59
|
+
'foo%5Ebar/_suggest'
|
60
|
+
end
|
61
|
+
|
62
|
+
it 'performs the request' do
|
63
|
+
expect(client_double.suggest(index: 'foo^bar', body: {}))
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
context 'when the request definition is specified in the body' do
|
68
|
+
|
69
|
+
let(:body) do
|
70
|
+
{ my_suggest: { text: 'test' } }
|
71
|
+
end
|
72
|
+
|
73
|
+
it 'performs the request' do
|
74
|
+
expect(client_double.suggest(body: { my_suggest: { text: 'test' } } ))
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.3.
|
4
|
+
version: 6.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karel Minarik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -393,13 +393,16 @@ files:
|
|
393
393
|
- lib/elasticsearch/api/actions/delete_by_query.rb
|
394
394
|
- lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb
|
395
395
|
- lib/elasticsearch/api/actions/delete_script.rb
|
396
|
+
- lib/elasticsearch/api/actions/delete_template.rb
|
396
397
|
- lib/elasticsearch/api/actions/exists.rb
|
397
398
|
- lib/elasticsearch/api/actions/exists_source.rb
|
398
399
|
- lib/elasticsearch/api/actions/explain.rb
|
399
400
|
- lib/elasticsearch/api/actions/field_caps.rb
|
401
|
+
- lib/elasticsearch/api/actions/field_stats.rb
|
400
402
|
- lib/elasticsearch/api/actions/get.rb
|
401
403
|
- lib/elasticsearch/api/actions/get_script.rb
|
402
404
|
- lib/elasticsearch/api/actions/get_source.rb
|
405
|
+
- lib/elasticsearch/api/actions/get_template.rb
|
403
406
|
- lib/elasticsearch/api/actions/index.rb
|
404
407
|
- lib/elasticsearch/api/actions/indices/analyze.rb
|
405
408
|
- lib/elasticsearch/api/actions/indices/clear_cache.rb
|
@@ -407,7 +410,9 @@ files:
|
|
407
410
|
- lib/elasticsearch/api/actions/indices/create.rb
|
408
411
|
- lib/elasticsearch/api/actions/indices/delete.rb
|
409
412
|
- lib/elasticsearch/api/actions/indices/delete_alias.rb
|
413
|
+
- lib/elasticsearch/api/actions/indices/delete_mapping.rb
|
410
414
|
- lib/elasticsearch/api/actions/indices/delete_template.rb
|
415
|
+
- lib/elasticsearch/api/actions/indices/delete_warmer.rb
|
411
416
|
- lib/elasticsearch/api/actions/indices/exists.rb
|
412
417
|
- lib/elasticsearch/api/actions/indices/exists_alias.rb
|
413
418
|
- lib/elasticsearch/api/actions/indices/exists_template.rb
|
@@ -418,24 +423,31 @@ files:
|
|
418
423
|
- lib/elasticsearch/api/actions/indices/freeze.rb
|
419
424
|
- lib/elasticsearch/api/actions/indices/get.rb
|
420
425
|
- lib/elasticsearch/api/actions/indices/get_alias.rb
|
426
|
+
- lib/elasticsearch/api/actions/indices/get_aliases.rb
|
421
427
|
- lib/elasticsearch/api/actions/indices/get_field_mapping.rb
|
422
428
|
- lib/elasticsearch/api/actions/indices/get_mapping.rb
|
423
429
|
- lib/elasticsearch/api/actions/indices/get_settings.rb
|
424
430
|
- lib/elasticsearch/api/actions/indices/get_template.rb
|
431
|
+
- lib/elasticsearch/api/actions/indices/get_warmer.rb
|
425
432
|
- lib/elasticsearch/api/actions/indices/open.rb
|
433
|
+
- lib/elasticsearch/api/actions/indices/optimize.rb
|
426
434
|
- lib/elasticsearch/api/actions/indices/params_registry.rb
|
427
435
|
- lib/elasticsearch/api/actions/indices/put_alias.rb
|
428
436
|
- lib/elasticsearch/api/actions/indices/put_mapping.rb
|
429
437
|
- lib/elasticsearch/api/actions/indices/put_settings.rb
|
430
438
|
- lib/elasticsearch/api/actions/indices/put_template.rb
|
439
|
+
- lib/elasticsearch/api/actions/indices/put_warmer.rb
|
431
440
|
- lib/elasticsearch/api/actions/indices/recovery.rb
|
432
441
|
- lib/elasticsearch/api/actions/indices/refresh.rb
|
433
442
|
- lib/elasticsearch/api/actions/indices/rollover.rb
|
443
|
+
- lib/elasticsearch/api/actions/indices/seal.rb
|
434
444
|
- lib/elasticsearch/api/actions/indices/segments.rb
|
435
445
|
- lib/elasticsearch/api/actions/indices/shard_stores.rb
|
436
446
|
- lib/elasticsearch/api/actions/indices/shrink.rb
|
447
|
+
- lib/elasticsearch/api/actions/indices/snapshot_index.rb
|
437
448
|
- lib/elasticsearch/api/actions/indices/split.rb
|
438
449
|
- lib/elasticsearch/api/actions/indices/stats.rb
|
450
|
+
- lib/elasticsearch/api/actions/indices/status.rb
|
439
451
|
- lib/elasticsearch/api/actions/indices/unfreeze.rb
|
440
452
|
- lib/elasticsearch/api/actions/indices/update_aliases.rb
|
441
453
|
- lib/elasticsearch/api/actions/indices/upgrade.rb
|
@@ -447,7 +459,10 @@ files:
|
|
447
459
|
- lib/elasticsearch/api/actions/ingest/processor_grok.rb
|
448
460
|
- lib/elasticsearch/api/actions/ingest/put_pipeline.rb
|
449
461
|
- lib/elasticsearch/api/actions/ingest/simulate.rb
|
462
|
+
- lib/elasticsearch/api/actions/list_benchmarks.rb
|
450
463
|
- lib/elasticsearch/api/actions/mget.rb
|
464
|
+
- lib/elasticsearch/api/actions/mlt.rb
|
465
|
+
- lib/elasticsearch/api/actions/mpercolate.rb
|
451
466
|
- lib/elasticsearch/api/actions/msearch.rb
|
452
467
|
- lib/elasticsearch/api/actions/msearch_template.rb
|
453
468
|
- lib/elasticsearch/api/actions/mtermvectors.rb
|
@@ -455,18 +470,23 @@ files:
|
|
455
470
|
- lib/elasticsearch/api/actions/nodes/info.rb
|
456
471
|
- lib/elasticsearch/api/actions/nodes/params_registry.rb
|
457
472
|
- lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb
|
473
|
+
- lib/elasticsearch/api/actions/nodes/shutdown.rb
|
458
474
|
- lib/elasticsearch/api/actions/nodes/stats.rb
|
459
475
|
- lib/elasticsearch/api/actions/nodes/usage.rb
|
460
476
|
- lib/elasticsearch/api/actions/params_registry.rb
|
477
|
+
- lib/elasticsearch/api/actions/percolate.rb
|
461
478
|
- lib/elasticsearch/api/actions/ping.rb
|
462
479
|
- lib/elasticsearch/api/actions/put_script.rb
|
480
|
+
- lib/elasticsearch/api/actions/put_template.rb
|
463
481
|
- lib/elasticsearch/api/actions/rank_eval.rb
|
464
482
|
- lib/elasticsearch/api/actions/reindex.rb
|
465
483
|
- lib/elasticsearch/api/actions/reindex_rethrottle.rb
|
484
|
+
- lib/elasticsearch/api/actions/remote/info.rb
|
466
485
|
- lib/elasticsearch/api/actions/render_search_template.rb
|
467
486
|
- lib/elasticsearch/api/actions/scripts_painless_execute.rb
|
468
487
|
- lib/elasticsearch/api/actions/scroll.rb
|
469
488
|
- lib/elasticsearch/api/actions/search.rb
|
489
|
+
- lib/elasticsearch/api/actions/search_exists.rb
|
470
490
|
- lib/elasticsearch/api/actions/search_shards.rb
|
471
491
|
- lib/elasticsearch/api/actions/search_template.rb
|
472
492
|
- lib/elasticsearch/api/actions/snapshot/create.rb
|
@@ -479,6 +499,7 @@ files:
|
|
479
499
|
- lib/elasticsearch/api/actions/snapshot/restore.rb
|
480
500
|
- lib/elasticsearch/api/actions/snapshot/status.rb
|
481
501
|
- lib/elasticsearch/api/actions/snapshot/verify_repository.rb
|
502
|
+
- lib/elasticsearch/api/actions/suggest.rb
|
482
503
|
- lib/elasticsearch/api/actions/tasks/cancel.rb
|
483
504
|
- lib/elasticsearch/api/actions/tasks/get.rb
|
484
505
|
- lib/elasticsearch/api/actions/tasks/list.rb
|
@@ -537,12 +558,15 @@ files:
|
|
537
558
|
- spec/elasticsearch/api/actions/delete_by_query_spec.rb
|
538
559
|
- spec/elasticsearch/api/actions/delete_document_spec.rb
|
539
560
|
- spec/elasticsearch/api/actions/delete_script_spec.rb
|
561
|
+
- spec/elasticsearch/api/actions/delete_template_spec.rb
|
540
562
|
- spec/elasticsearch/api/actions/exists_document_spec.rb
|
541
563
|
- spec/elasticsearch/api/actions/explain_document_spec.rb
|
542
564
|
- spec/elasticsearch/api/actions/field_caps_spec.rb
|
565
|
+
- spec/elasticsearch/api/actions/field_stats_spec.rb
|
543
566
|
- spec/elasticsearch/api/actions/get_document_source_spec.rb
|
544
567
|
- spec/elasticsearch/api/actions/get_document_spec.rb
|
545
568
|
- spec/elasticsearch/api/actions/get_script_spec.rb
|
569
|
+
- spec/elasticsearch/api/actions/get_template_spec.rb
|
546
570
|
- spec/elasticsearch/api/actions/hashie_spec.rb
|
547
571
|
- spec/elasticsearch/api/actions/index_document_spec.rb
|
548
572
|
- spec/elasticsearch/api/actions/indices/analyze_spec.rb
|
@@ -550,8 +574,10 @@ files:
|
|
550
574
|
- spec/elasticsearch/api/actions/indices/close_spec.rb
|
551
575
|
- spec/elasticsearch/api/actions/indices/create_spec.rb
|
552
576
|
- spec/elasticsearch/api/actions/indices/delete_alias_spec.rb
|
577
|
+
- spec/elasticsearch/api/actions/indices/delete_mapping_spec.rb
|
553
578
|
- spec/elasticsearch/api/actions/indices/delete_spec.rb
|
554
579
|
- spec/elasticsearch/api/actions/indices/delete_template_spec.rb
|
580
|
+
- spec/elasticsearch/api/actions/indices/delete_warmer_spec.rb
|
555
581
|
- spec/elasticsearch/api/actions/indices/exists_alias_spec.rb
|
556
582
|
- spec/elasticsearch/api/actions/indices/exists_spec.rb
|
557
583
|
- spec/elasticsearch/api/actions/indices/exists_template_spec.rb
|
@@ -560,23 +586,30 @@ files:
|
|
560
586
|
- spec/elasticsearch/api/actions/indices/flush_synced_spec.rb
|
561
587
|
- spec/elasticsearch/api/actions/indices/forcemerge_spec.rb
|
562
588
|
- spec/elasticsearch/api/actions/indices/get_alias_spec.rb
|
589
|
+
- spec/elasticsearch/api/actions/indices/get_aliases_spec.rb
|
563
590
|
- spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
|
564
591
|
- spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
|
565
592
|
- spec/elasticsearch/api/actions/indices/get_settings_spec.rb
|
566
593
|
- spec/elasticsearch/api/actions/indices/get_spec.rb
|
567
594
|
- spec/elasticsearch/api/actions/indices/get_template_spec.rb
|
595
|
+
- spec/elasticsearch/api/actions/indices/get_warmer_spec.rb
|
568
596
|
- spec/elasticsearch/api/actions/indices/open_spec.rb
|
597
|
+
- spec/elasticsearch/api/actions/indices/optimize_spec.rb
|
569
598
|
- spec/elasticsearch/api/actions/indices/put_alias_spec.rb
|
570
599
|
- spec/elasticsearch/api/actions/indices/put_mapping_spec.rb
|
571
600
|
- spec/elasticsearch/api/actions/indices/put_settings_spec.rb
|
572
601
|
- spec/elasticsearch/api/actions/indices/put_template_spec.rb
|
602
|
+
- spec/elasticsearch/api/actions/indices/put_warmer_spec.rb
|
573
603
|
- spec/elasticsearch/api/actions/indices/recovery_spec.rb
|
574
604
|
- spec/elasticsearch/api/actions/indices/refresh_spec.rb
|
575
605
|
- spec/elasticsearch/api/actions/indices/rollover_spec.rb
|
606
|
+
- spec/elasticsearch/api/actions/indices/seal_spec.rb
|
576
607
|
- spec/elasticsearch/api/actions/indices/segments_spec.rb
|
577
608
|
- spec/elasticsearch/api/actions/indices/shard_stores_spec.rb
|
578
609
|
- spec/elasticsearch/api/actions/indices/shrink_spec.rb
|
610
|
+
- spec/elasticsearch/api/actions/indices/snapshot_index_spec.rb
|
579
611
|
- spec/elasticsearch/api/actions/indices/split_spec.rb
|
612
|
+
- spec/elasticsearch/api/actions/indices/status_spec.rb
|
580
613
|
- spec/elasticsearch/api/actions/indices/update_aliases_spec.rb
|
581
614
|
- spec/elasticsearch/api/actions/indices/upgrade_spec.rb
|
582
615
|
- spec/elasticsearch/api/actions/indices/validate_query_spec.rb
|
@@ -586,19 +619,27 @@ files:
|
|
586
619
|
- spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb
|
587
620
|
- spec/elasticsearch/api/actions/ingest/simulate_spec.rb
|
588
621
|
- spec/elasticsearch/api/actions/json_builders_spec.rb
|
622
|
+
- spec/elasticsearch/api/actions/list_benchmarks_spec.rb
|
589
623
|
- spec/elasticsearch/api/actions/mget_spec.rb
|
624
|
+
- spec/elasticsearch/api/actions/mlt_spec.rb
|
625
|
+
- spec/elasticsearch/api/actions/mpercolate_spec.rb
|
590
626
|
- spec/elasticsearch/api/actions/msearch_spec.rb
|
591
627
|
- spec/elasticsearch/api/actions/msearch_template_spec.rb
|
592
628
|
- spec/elasticsearch/api/actions/mtermvectors_spec.rb
|
593
629
|
- spec/elasticsearch/api/actions/nodes/hot_threads_spec.rb
|
594
630
|
- spec/elasticsearch/api/actions/nodes/info_spec.rb
|
595
631
|
- spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb
|
632
|
+
- spec/elasticsearch/api/actions/nodes/shutdown_spec.rb
|
596
633
|
- spec/elasticsearch/api/actions/nodes/stats_spec.rb
|
634
|
+
- spec/elasticsearch/api/actions/percolate_spec.rb
|
597
635
|
- spec/elasticsearch/api/actions/ping_spec.rb
|
598
636
|
- spec/elasticsearch/api/actions/put_script_spec.rb
|
637
|
+
- spec/elasticsearch/api/actions/put_template_spec.rb
|
599
638
|
- spec/elasticsearch/api/actions/reindex_spec.rb
|
639
|
+
- spec/elasticsearch/api/actions/remote/info_spec.rb
|
600
640
|
- spec/elasticsearch/api/actions/render_search_template_spec.rb
|
601
641
|
- spec/elasticsearch/api/actions/scoll_spec.rb
|
642
|
+
- spec/elasticsearch/api/actions/search_exists_spec.rb
|
602
643
|
- spec/elasticsearch/api/actions/search_shards_spec.rb
|
603
644
|
- spec/elasticsearch/api/actions/search_spec.rb
|
604
645
|
- spec/elasticsearch/api/actions/search_template_spec.rb
|
@@ -611,6 +652,7 @@ files:
|
|
611
652
|
- spec/elasticsearch/api/actions/snapshot/restore_spec.rb
|
612
653
|
- spec/elasticsearch/api/actions/snapshot/status_spec.rb
|
613
654
|
- spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb
|
655
|
+
- spec/elasticsearch/api/actions/suggest_spec.rb
|
614
656
|
- spec/elasticsearch/api/actions/tasks/cancel_spec.rb
|
615
657
|
- spec/elasticsearch/api/actions/tasks/get_spec.rb
|
616
658
|
- spec/elasticsearch/api/actions/tasks/list_spec.rb
|
@@ -695,12 +737,15 @@ test_files:
|
|
695
737
|
- spec/elasticsearch/api/actions/delete_by_query_spec.rb
|
696
738
|
- spec/elasticsearch/api/actions/delete_document_spec.rb
|
697
739
|
- spec/elasticsearch/api/actions/delete_script_spec.rb
|
740
|
+
- spec/elasticsearch/api/actions/delete_template_spec.rb
|
698
741
|
- spec/elasticsearch/api/actions/exists_document_spec.rb
|
699
742
|
- spec/elasticsearch/api/actions/explain_document_spec.rb
|
700
743
|
- spec/elasticsearch/api/actions/field_caps_spec.rb
|
744
|
+
- spec/elasticsearch/api/actions/field_stats_spec.rb
|
701
745
|
- spec/elasticsearch/api/actions/get_document_source_spec.rb
|
702
746
|
- spec/elasticsearch/api/actions/get_document_spec.rb
|
703
747
|
- spec/elasticsearch/api/actions/get_script_spec.rb
|
748
|
+
- spec/elasticsearch/api/actions/get_template_spec.rb
|
704
749
|
- spec/elasticsearch/api/actions/hashie_spec.rb
|
705
750
|
- spec/elasticsearch/api/actions/index_document_spec.rb
|
706
751
|
- spec/elasticsearch/api/actions/indices/analyze_spec.rb
|
@@ -708,8 +753,10 @@ test_files:
|
|
708
753
|
- spec/elasticsearch/api/actions/indices/close_spec.rb
|
709
754
|
- spec/elasticsearch/api/actions/indices/create_spec.rb
|
710
755
|
- spec/elasticsearch/api/actions/indices/delete_alias_spec.rb
|
756
|
+
- spec/elasticsearch/api/actions/indices/delete_mapping_spec.rb
|
711
757
|
- spec/elasticsearch/api/actions/indices/delete_spec.rb
|
712
758
|
- spec/elasticsearch/api/actions/indices/delete_template_spec.rb
|
759
|
+
- spec/elasticsearch/api/actions/indices/delete_warmer_spec.rb
|
713
760
|
- spec/elasticsearch/api/actions/indices/exists_alias_spec.rb
|
714
761
|
- spec/elasticsearch/api/actions/indices/exists_spec.rb
|
715
762
|
- spec/elasticsearch/api/actions/indices/exists_template_spec.rb
|
@@ -718,23 +765,30 @@ test_files:
|
|
718
765
|
- spec/elasticsearch/api/actions/indices/flush_synced_spec.rb
|
719
766
|
- spec/elasticsearch/api/actions/indices/forcemerge_spec.rb
|
720
767
|
- spec/elasticsearch/api/actions/indices/get_alias_spec.rb
|
768
|
+
- spec/elasticsearch/api/actions/indices/get_aliases_spec.rb
|
721
769
|
- spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
|
722
770
|
- spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
|
723
771
|
- spec/elasticsearch/api/actions/indices/get_settings_spec.rb
|
724
772
|
- spec/elasticsearch/api/actions/indices/get_spec.rb
|
725
773
|
- spec/elasticsearch/api/actions/indices/get_template_spec.rb
|
774
|
+
- spec/elasticsearch/api/actions/indices/get_warmer_spec.rb
|
726
775
|
- spec/elasticsearch/api/actions/indices/open_spec.rb
|
776
|
+
- spec/elasticsearch/api/actions/indices/optimize_spec.rb
|
727
777
|
- spec/elasticsearch/api/actions/indices/put_alias_spec.rb
|
728
778
|
- spec/elasticsearch/api/actions/indices/put_mapping_spec.rb
|
729
779
|
- spec/elasticsearch/api/actions/indices/put_settings_spec.rb
|
730
780
|
- spec/elasticsearch/api/actions/indices/put_template_spec.rb
|
781
|
+
- spec/elasticsearch/api/actions/indices/put_warmer_spec.rb
|
731
782
|
- spec/elasticsearch/api/actions/indices/recovery_spec.rb
|
732
783
|
- spec/elasticsearch/api/actions/indices/refresh_spec.rb
|
733
784
|
- spec/elasticsearch/api/actions/indices/rollover_spec.rb
|
785
|
+
- spec/elasticsearch/api/actions/indices/seal_spec.rb
|
734
786
|
- spec/elasticsearch/api/actions/indices/segments_spec.rb
|
735
787
|
- spec/elasticsearch/api/actions/indices/shard_stores_spec.rb
|
736
788
|
- spec/elasticsearch/api/actions/indices/shrink_spec.rb
|
789
|
+
- spec/elasticsearch/api/actions/indices/snapshot_index_spec.rb
|
737
790
|
- spec/elasticsearch/api/actions/indices/split_spec.rb
|
791
|
+
- spec/elasticsearch/api/actions/indices/status_spec.rb
|
738
792
|
- spec/elasticsearch/api/actions/indices/update_aliases_spec.rb
|
739
793
|
- spec/elasticsearch/api/actions/indices/upgrade_spec.rb
|
740
794
|
- spec/elasticsearch/api/actions/indices/validate_query_spec.rb
|
@@ -744,19 +798,27 @@ test_files:
|
|
744
798
|
- spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb
|
745
799
|
- spec/elasticsearch/api/actions/ingest/simulate_spec.rb
|
746
800
|
- spec/elasticsearch/api/actions/json_builders_spec.rb
|
801
|
+
- spec/elasticsearch/api/actions/list_benchmarks_spec.rb
|
747
802
|
- spec/elasticsearch/api/actions/mget_spec.rb
|
803
|
+
- spec/elasticsearch/api/actions/mlt_spec.rb
|
804
|
+
- spec/elasticsearch/api/actions/mpercolate_spec.rb
|
748
805
|
- spec/elasticsearch/api/actions/msearch_spec.rb
|
749
806
|
- spec/elasticsearch/api/actions/msearch_template_spec.rb
|
750
807
|
- spec/elasticsearch/api/actions/mtermvectors_spec.rb
|
751
808
|
- spec/elasticsearch/api/actions/nodes/hot_threads_spec.rb
|
752
809
|
- spec/elasticsearch/api/actions/nodes/info_spec.rb
|
753
810
|
- spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb
|
811
|
+
- spec/elasticsearch/api/actions/nodes/shutdown_spec.rb
|
754
812
|
- spec/elasticsearch/api/actions/nodes/stats_spec.rb
|
813
|
+
- spec/elasticsearch/api/actions/percolate_spec.rb
|
755
814
|
- spec/elasticsearch/api/actions/ping_spec.rb
|
756
815
|
- spec/elasticsearch/api/actions/put_script_spec.rb
|
816
|
+
- spec/elasticsearch/api/actions/put_template_spec.rb
|
757
817
|
- spec/elasticsearch/api/actions/reindex_spec.rb
|
818
|
+
- spec/elasticsearch/api/actions/remote/info_spec.rb
|
758
819
|
- spec/elasticsearch/api/actions/render_search_template_spec.rb
|
759
820
|
- spec/elasticsearch/api/actions/scoll_spec.rb
|
821
|
+
- spec/elasticsearch/api/actions/search_exists_spec.rb
|
760
822
|
- spec/elasticsearch/api/actions/search_shards_spec.rb
|
761
823
|
- spec/elasticsearch/api/actions/search_spec.rb
|
762
824
|
- spec/elasticsearch/api/actions/search_template_spec.rb
|
@@ -769,6 +831,7 @@ test_files:
|
|
769
831
|
- spec/elasticsearch/api/actions/snapshot/restore_spec.rb
|
770
832
|
- spec/elasticsearch/api/actions/snapshot/status_spec.rb
|
771
833
|
- spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb
|
834
|
+
- spec/elasticsearch/api/actions/suggest_spec.rb
|
772
835
|
- spec/elasticsearch/api/actions/tasks/cancel_spec.rb
|
773
836
|
- spec/elasticsearch/api/actions/tasks/get_spec.rb
|
774
837
|
- spec/elasticsearch/api/actions/tasks/list_spec.rb
|