You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/troubleshooting.asciidoc
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
The client provides several options for logging that can help when things go wrong. Check out the extensive documentation on <<logging>>.
5
5
6
-
If you are having trouble sending a request to Elasticsearch with the client, we suggest enabling `tracing` on the client and testing the cUrl command that appears in your terminal:
6
+
If you are having trouble sending a request to {es} with the client, we suggest enabling `tracing` on the client and testing the cURL command that appears in your terminal:
7
7
8
8
[source,rb]
9
9
----------------------------
@@ -13,11 +13,11 @@ curl -X GET -H 'x-elastic-client-meta: es=8.9.0,rb=3.2.2,t=8.2.1,fd=2.7.4,nh=0.3
13
13
ransport-ruby/8.2.1 (RUBY_VERSION: 3.2.2; linux x86_64; Faraday v2.7.4), Content-Type: application/json' 'http://localhost:9200//?pretty'
14
14
----------------------------
15
15
16
-
Testing the curl command can help find out if there's a connection issue or if the issue is in the client code.
16
+
Testing the cURL command can help find out if there's a connection issue or if the issue is in the client code.
17
17
18
18
[discrete]
19
19
=== Connection
20
-
When working with multiple hosts, you probably want to enable the `retry_on_failure` or `retry_on_status` options to perform a failed request on another node (refer to <<retry-failures>>).
20
+
When working with multiple hosts, you might want to enable the `retry_on_failure` or `retry_on_status` options to perform a failed request on another node (refer to <<retry-failures>>).
21
21
22
22
For optimal performance, use a HTTP library which supports persistent ("keep-alive") connections, such as https://github.com/toland/patron[patron] or https://github.com/typhoeus/typhoeus[Typhoeus]. Require the library (`require 'patron'`) in your code for Faraday 1.x or the adapter (`require 'faraday/patron'`) for Faraday 2.x, and it will be automatically used.
23
23
@@ -26,4 +26,4 @@ For optimal performance, use a HTTP library which supports persistent ("keep-ali
26
26
27
27
If you need more help, you can hop on our https://discuss.elastic.co/[Elastic community forums] and get answers from the experts in the community, including people from Elastic.
28
28
29
-
If you find a bug, have feedback or find any other issue using the client, please https://github.com/elastic/elasticsearch-ruby/issues/new/choose[submit an issue] on GitHub.
29
+
If you find a bug, have feedback, or find any other issue using the client, please https://github.com/elastic/elasticsearch-ruby/issues/new/choose[submit an issue] on GitHub.
0 commit comments