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: troubleshoot/elasticsearch/elasticsearch-client-ruby-api/ruby.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ mapped_pages:
9
9
Use the information in this section to troubleshoot common problems and find answers for frequently asked questions.
10
10
11
11
12
-
## Logging [ruby-ts-logging]
12
+
## Logging [ruby-ts-logging]
13
13
14
-
The client provides several options for logging that can help when things go wrong. Check out the extensive documentation on [Logging](asciidocalypse://docs/elasticsearch-ruby/docs/reference/advanced-config.md#logging).
14
+
The client provides several options for logging that can help when things go wrong. Check out the extensive documentation on [Logging](elasticsearch-ruby://reference/advanced-config.md#logging).
15
15
16
16
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:
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 [Retrying on Failures](asciidocalypse://docs/elasticsearch-ruby/docs/reference/advanced-config.md#retry-failures)).
30
+
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 [Retrying on Failures](elasticsearch-ruby://reference/advanced-config.md#retry-failures)).
31
31
32
32
For optimal performance, use a HTTP library which supports persistent ("keep-alive") connections, such as [patron](https://github.com/toland/patron) or [Typhoeus](https://github.com/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.
33
33
34
34
35
-
## Adapter is not registered on Faraday [ruby-ts-adapter]
35
+
## Adapter is not registered on Faraday [ruby-ts-adapter]
36
36
37
37
If you see a message like:
38
38
@@ -60,13 +60,13 @@ gem 'faraday-typhoeus'
60
60
61
61
Migrating to Faraday 2 solves the issue as long as the adapter is included (unless you’re using the default one `net-http`). Alternatively, you can lock the version of Faraday in your project to 1.x: `gem 'faraday', '~> 1'`
62
62
63
-
::::{important}
63
+
::::{important}
64
64
Migrating to Faraday v2 requires at least Ruby `2.6`. Faraday v1 requires `2.4`.
65
65
::::
66
66
67
67
68
68
69
-
## More Help [_more_help]
69
+
## More Help [_more_help]
70
70
71
71
If you need more help, visit the [Elastic community forums](https://discuss.elastic.co/) and get answers from the experts in the community, including people from Elastic.
0 commit comments