回答編集履歴
4
推敲
test
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
-
POSTメソッドで送るにはどうすんねんって話ですが、こちらドキュメントが
|
7
|
+
POSTメソッドで送るにはどうすんねんって話ですが、こちらドキュメントが探せず…
|
8
8
|
|
9
|
-
|
9
|
+
ソースコード漁ったほうが速いですね。コメントで説明ありました。
|
10
10
|
|
11
11
|
[https://github.com/elastic/elasticsearch-ruby/blob/f221f3abdfe80ca11adbd607be82545878dfbe58/elasticsearch-transport/lib/elasticsearch/transport/client.rb#L102-L103](https://github.com/elastic/elasticsearch-ruby/blob/f221f3abdfe80ca11adbd607be82545878dfbe58/elasticsearch-transport/lib/elasticsearch/transport/client.rb#L102-L103)
|
12
12
|
|
@@ -24,18 +24,6 @@
|
|
24
24
|
|
25
25
|
|
26
26
|
|
27
|
-
ま
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
[https://github.com/elastic/elasticsearch-ruby/blob/f221f3abdfe80ca11adbd607be82545878dfbe58/elasticsearch-api/lib/elasticsearch/api/actions/scroll.rb#L67-L74](https://github.com/elastic/elasticsearch-ruby/blob/f221f3abdfe80ca11adbd607be82545878dfbe58/elasticsearch-api/lib/elasticsearch/api/actions/scroll.rb#L67-L74)
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
↑を見ると、 params の :body にデータを入れる想定のようです。
|
36
|
-
|
37
|
-
params の内容が今どうなってるか知りませんが、 :body に入ってないなら修正の必要ありそうです。
|
38
|
-
|
39
|
-
|
27
|
+
で大丈夫なように見えます。
|
40
28
|
|
41
29
|
お試しください。(動かしてないです)
|
3
(ちょっとあとでまた直します)
test
CHANGED
@@ -24,4 +24,18 @@
|
|
24
24
|
|
25
25
|
|
26
26
|
|
27
|
-
|
27
|
+
また、
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
[https://github.com/elastic/elasticsearch-ruby/blob/f221f3abdfe80ca11adbd607be82545878dfbe58/elasticsearch-api/lib/elasticsearch/api/actions/scroll.rb#L67-L74](https://github.com/elastic/elasticsearch-ruby/blob/f221f3abdfe80ca11adbd607be82545878dfbe58/elasticsearch-api/lib/elasticsearch/api/actions/scroll.rb#L67-L74)
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
↑を見ると、 params の :body にデータを入れる想定のようです。
|
36
|
+
|
37
|
+
params の内容が今どうなってるか知りませんが、 :body に入ってないなら修正の必要ありそうです。
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
お試しください。(動かしてないです)
|
2
推敲
test
CHANGED
@@ -12,6 +12,10 @@
|
|
12
12
|
|
13
13
|
|
14
14
|
|
15
|
+
総合すると、
|
16
|
+
|
17
|
+
|
18
|
+
|
15
19
|
```
|
16
20
|
|
17
21
|
es_client = Elasticsearch::Client.new send_get_body_as: 'POST'
|
@@ -20,4 +24,4 @@
|
|
20
24
|
|
21
25
|
|
22
26
|
|
23
|
-
で
|
27
|
+
で大丈夫っぽいです。お試しください。(動かしてないです)
|
1
URLリンク化
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
一応ソースコードにはコメントで説明ありますね。
|
10
10
|
|
11
|
-
https://github.com/elastic/elasticsearch-ruby/blob/f221f3abdfe80ca11adbd607be82545878dfbe58/elasticsearch-transport/lib/elasticsearch/transport/client.rb#L102-L103
|
11
|
+
[https://github.com/elastic/elasticsearch-ruby/blob/f221f3abdfe80ca11adbd607be82545878dfbe58/elasticsearch-transport/lib/elasticsearch/transport/client.rb#L102-L103](https://github.com/elastic/elasticsearch-ruby/blob/f221f3abdfe80ca11adbd607be82545878dfbe58/elasticsearch-transport/lib/elasticsearch/transport/client.rb#L102-L103)
|
12
12
|
|
13
13
|
|
14
14
|
|