回答編集履歴

4

推敲

2019/01/25 20:08

投稿

set0gut1
set0gut1

スコア2413

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

(ちょっとあとでまた直します)

2019/01/25 20:07

投稿

set0gut1
set0gut1

スコア2413

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

推敲

2019/01/25 20:01

投稿

set0gut1
set0gut1

スコア2413

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リンク化

2019/01/25 19:55

投稿

set0gut1
set0gut1

スコア2413

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