elasticsearch-api 9.4.0 → 9.4.2

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.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/lib/elasticsearch/api/actions/cancel_reindex.rb +4 -3
  3. data/lib/elasticsearch/api/actions/cat/tasks.rb +4 -3
  4. data/lib/elasticsearch/api/actions/connector/check_in.rb +4 -3
  5. data/lib/elasticsearch/api/actions/connector/delete.rb +4 -4
  6. data/lib/elasticsearch/api/actions/connector/get.rb +4 -4
  7. data/lib/elasticsearch/api/actions/connector/list.rb +4 -4
  8. data/lib/elasticsearch/api/actions/connector/post.rb +4 -4
  9. data/lib/elasticsearch/api/actions/connector/put.rb +4 -4
  10. data/lib/elasticsearch/api/actions/connector/sync_job_cancel.rb +4 -4
  11. data/lib/elasticsearch/api/actions/connector/sync_job_check_in.rb +4 -3
  12. data/lib/elasticsearch/api/actions/connector/sync_job_claim.rb +4 -3
  13. data/lib/elasticsearch/api/actions/connector/sync_job_delete.rb +4 -4
  14. data/lib/elasticsearch/api/actions/connector/sync_job_error.rb +4 -3
  15. data/lib/elasticsearch/api/actions/connector/sync_job_get.rb +4 -4
  16. data/lib/elasticsearch/api/actions/connector/sync_job_list.rb +4 -4
  17. data/lib/elasticsearch/api/actions/connector/sync_job_post.rb +4 -4
  18. data/lib/elasticsearch/api/actions/connector/sync_job_update_stats.rb +4 -3
  19. data/lib/elasticsearch/api/actions/connector/update_active_filtering.rb +4 -3
  20. data/lib/elasticsearch/api/actions/connector/update_api_key_id.rb +4 -4
  21. data/lib/elasticsearch/api/actions/connector/update_configuration.rb +4 -4
  22. data/lib/elasticsearch/api/actions/connector/update_error.rb +4 -3
  23. data/lib/elasticsearch/api/actions/connector/update_features.rb +4 -3
  24. data/lib/elasticsearch/api/actions/connector/update_filtering.rb +4 -4
  25. data/lib/elasticsearch/api/actions/connector/update_filtering_validation.rb +4 -3
  26. data/lib/elasticsearch/api/actions/connector/update_index_name.rb +4 -4
  27. data/lib/elasticsearch/api/actions/connector/update_name.rb +4 -4
  28. data/lib/elasticsearch/api/actions/connector/update_native.rb +4 -4
  29. data/lib/elasticsearch/api/actions/connector/update_pipeline.rb +4 -4
  30. data/lib/elasticsearch/api/actions/connector/update_scheduling.rb +4 -4
  31. data/lib/elasticsearch/api/actions/connector/update_service_type.rb +4 -4
  32. data/lib/elasticsearch/api/actions/connector/update_status.rb +4 -3
  33. data/lib/elasticsearch/api/actions/esql/delete_view.rb +5 -4
  34. data/lib/elasticsearch/api/actions/esql/get_query.rb +4 -3
  35. data/lib/elasticsearch/api/actions/esql/get_view.rb +4 -3
  36. data/lib/elasticsearch/api/actions/esql/list_queries.rb +4 -3
  37. data/lib/elasticsearch/api/actions/esql/put_view.rb +4 -3
  38. data/lib/elasticsearch/api/actions/features/reset_features.rb +4 -3
  39. data/lib/elasticsearch/api/actions/fleet/msearch.rb +4 -3
  40. data/lib/elasticsearch/api/actions/fleet/search.rb +4 -3
  41. data/lib/elasticsearch/api/actions/get_reindex.rb +4 -3
  42. data/lib/elasticsearch/api/actions/indices/disk_usage.rb +4 -3
  43. data/lib/elasticsearch/api/actions/indices/field_usage_stats.rb +4 -3
  44. data/lib/elasticsearch/api/actions/indices/split.rb +1 -0
  45. data/lib/elasticsearch/api/actions/inference/embedding.rb +4 -3
  46. data/lib/elasticsearch/api/actions/inference/stream_completion.rb +1 -1
  47. data/lib/elasticsearch/api/actions/list_reindex.rb +4 -3
  48. data/lib/elasticsearch/api/actions/nodes/clear_repositories_metering_archive.rb +4 -3
  49. data/lib/elasticsearch/api/actions/nodes/get_repositories_metering_info.rb +4 -3
  50. data/lib/elasticsearch/api/actions/project/create_many_routing.rb +4 -3
  51. data/lib/elasticsearch/api/actions/project/create_routing.rb +4 -3
  52. data/lib/elasticsearch/api/actions/project/delete_routing.rb +4 -3
  53. data/lib/elasticsearch/api/actions/project/get_many_routing.rb +4 -3
  54. data/lib/elasticsearch/api/actions/project/get_routing.rb +4 -3
  55. data/lib/elasticsearch/api/actions/project/tags.rb +4 -3
  56. data/lib/elasticsearch/api/actions/reindex.rb +2 -1
  57. data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +4 -3
  58. data/lib/elasticsearch/api/actions/search_application/delete.rb +4 -4
  59. data/lib/elasticsearch/api/actions/search_application/delete_behavioral_analytics.rb +4 -3
  60. data/lib/elasticsearch/api/actions/search_application/get.rb +4 -4
  61. data/lib/elasticsearch/api/actions/search_application/get_behavioral_analytics.rb +4 -3
  62. data/lib/elasticsearch/api/actions/search_application/list.rb +4 -4
  63. data/lib/elasticsearch/api/actions/search_application/post_behavioral_analytics_event.rb +4 -3
  64. data/lib/elasticsearch/api/actions/search_application/put.rb +4 -4
  65. data/lib/elasticsearch/api/actions/search_application/put_behavioral_analytics.rb +4 -3
  66. data/lib/elasticsearch/api/actions/search_application/render_query.rb +4 -3
  67. data/lib/elasticsearch/api/actions/search_application/search.rb +4 -4
  68. data/lib/elasticsearch/api/actions/searchable_snapshots/cache_stats.rb +4 -3
  69. data/lib/elasticsearch/api/actions/searchable_snapshots/clear_cache.rb +4 -3
  70. data/lib/elasticsearch/api/actions/security/clone_api_key.rb +4 -3
  71. data/lib/elasticsearch/api/actions/simulate/ingest.rb +4 -3
  72. data/lib/elasticsearch/api/actions/snapshot/repository_verify_integrity.rb +4 -3
  73. data/lib/elasticsearch/api/actions/streams/logs_disable.rb +4 -3
  74. data/lib/elasticsearch/api/actions/streams/logs_enable.rb +4 -3
  75. data/lib/elasticsearch/api/actions/streams/status.rb +4 -3
  76. data/lib/elasticsearch/api/actions/tasks/cancel.rb +4 -3
  77. data/lib/elasticsearch/api/actions/tasks/get.rb +4 -3
  78. data/lib/elasticsearch/api/actions/tasks/list.rb +4 -3
  79. data/lib/elasticsearch/api/utils.rb +1 -1
  80. data/lib/elasticsearch/api/version.rb +2 -2
  81. metadata +2 -2
@@ -24,9 +24,10 @@ module Elasticsearch
24
24
  module Actions
25
25
  # Get the status of streams.
26
26
  # Get the current status for all types of streams.
27
- # This functionality is in technical preview and may be changed or removed in a future
28
- # release. Elastic will apply best effort to fix any issues, but features in technical
29
- # preview are not subject to the support SLA of official GA features.
27
+ # This functionality is experimental and is not ready for production usage. Experimental
28
+ # features may change or be removed at any time. Elastic will work to fix any issues, but
29
+ # experimental features are not subject to the support SLA of official GA features. Specific
30
+ # Support terms apply.
30
31
  #
31
32
  # @option arguments [Time] :master_timeout Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
32
33
  # @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
@@ -31,9 +31,10 @@ module Elasticsearch
31
31
  # The cancelled flag in the response indicates that the cancellation command has been processed and the task will stop as soon as possible.
32
32
  # To troubleshoot why a cancelled task does not complete promptly, use the get task information API with the `?detailed` parameter to identify the other tasks the system is running.
33
33
  # You can also use the node hot threads API to obtain detailed information about the work the system is doing instead of completing the cancelled task.
34
- # This functionality is in technical preview and may be changed or removed in a future
35
- # release. Elastic will apply best effort to fix any issues, but features in technical
36
- # preview are not subject to the support SLA of official GA features.
34
+ # This functionality is experimental and is not ready for production usage. Experimental
35
+ # features may change or be removed at any time. Elastic will work to fix any issues, but
36
+ # experimental features are not subject to the support SLA of official GA features. Specific
37
+ # Support terms apply.
37
38
  #
38
39
  # @option arguments [String] :task_id The task identifier.
39
40
  # @option arguments [String, Array<String>] :actions A comma-separated list or wildcard expression of actions that is used to limit the request.
@@ -27,9 +27,10 @@ module Elasticsearch
27
27
  # WARNING: The task management API is new and should still be considered a beta feature.
28
28
  # The API may change in ways that are not backwards compatible.
29
29
  # If the task identifier is not found, a 404 response code indicates that there are no resources that match the request.
30
- # This functionality is in technical preview and may be changed or removed in a future
31
- # release. Elastic will apply best effort to fix any issues, but features in technical
32
- # preview are not subject to the support SLA of official GA features.
30
+ # This functionality is experimental and is not ready for production usage. Experimental
31
+ # features may change or be removed at any time. Elastic will work to fix any issues, but
32
+ # experimental features are not subject to the support SLA of official GA features. Specific
33
+ # Support terms apply.
33
34
  #
34
35
  # @option arguments [String] :task_id The task identifier. (*Required*)
35
36
  # @option arguments [Time] :timeout The period to wait for a response.
@@ -78,9 +78,10 @@ module Elasticsearch
78
78
  # In this example, `X-Opaque-Id: 123456` is the ID as a part of the response header.
79
79
  # The `X-Opaque-Id` in the task `headers` is the ID for the task that was initiated by the REST request.
80
80
  # The `X-Opaque-Id` in the children `headers` is the child task of the task that was initiated by the REST request.
81
- # This functionality is in technical preview and may be changed or removed in a future
82
- # release. Elastic will apply best effort to fix any issues, but features in technical
83
- # preview are not subject to the support SLA of official GA features.
81
+ # This functionality is experimental and is not ready for production usage. Experimental
82
+ # features may change or be removed at any time. Elastic will work to fix any issues, but
83
+ # experimental features are not subject to the support SLA of official GA features. Specific
84
+ # Support terms apply.
84
85
  #
85
86
  # @option arguments [String, Array<String>] :actions A comma-separated list or wildcard expression of actions used to limit the request.
86
87
  # For example, you can use `cluser:*` to retrieve all cluster-related tasks.
@@ -178,7 +178,7 @@ module Elasticsearch
178
178
  def update_ndjson_headers!(headers, client_headers)
179
179
  current_content = client_headers.keys.find { |c| c.match?(/content-?_?type/i) } || 'content-type'
180
180
  current_accept = client_headers.keys.find { |c| c.match?(/accept/i) } || 'accept'
181
- version = client_headers[current_content].match(/compatible-with=([0-9]+)/)[1] || 9
181
+ version = client_headers[current_content].match(/compatible-with=([0-9]+)/)&.[](1) || 9
182
182
 
183
183
  headers.merge!(
184
184
  {
@@ -17,7 +17,7 @@
17
17
 
18
18
  module Elasticsearch
19
19
  module API
20
- VERSION = '9.4.0'.freeze
21
- ES_SPECIFICATION_COMMIT = '7ada49949544b577bc7c9ab5420771204a12cdd2'.freeze
20
+ VERSION = '9.4.2'.freeze
21
+ ES_SPECIFICATION_COMMIT = '90feb8f8da6b8538a2a3ad837747a0856a19367e'.freeze
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.4.0
4
+ version: 9.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic Client Library Maintainers
@@ -873,7 +873,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
873
873
  - !ruby/object:Gem::Version
874
874
  version: '0'
875
875
  requirements: []
876
- rubygems_version: 4.0.6
876
+ rubygems_version: 4.0.12
877
877
  specification_version: 4
878
878
  summary: Ruby API for Elasticsearch.
879
879
  test_files: []