elasticsearch-api 8.19.2 → 9.0.0

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 (1117) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -7
  3. data/elasticsearch-api.gemspec +7 -22
  4. data/lib/elasticsearch/api/actions/async_search/delete.rb +10 -7
  5. data/lib/elasticsearch/api/actions/async_search/get.rb +17 -9
  6. data/lib/elasticsearch/api/actions/async_search/status.rb +13 -8
  7. data/lib/elasticsearch/api/actions/async_search/submit.rb +47 -40
  8. data/lib/elasticsearch/api/actions/bulk.rb +113 -23
  9. data/lib/elasticsearch/api/actions/cat/aliases.rb +26 -17
  10. data/lib/elasticsearch/api/actions/cat/allocation.rb +25 -17
  11. data/lib/elasticsearch/api/actions/cat/component_templates.rb +27 -16
  12. data/lib/elasticsearch/api/actions/cat/count.rb +24 -16
  13. data/lib/elasticsearch/api/actions/cat/fielddata.rb +21 -14
  14. data/lib/elasticsearch/api/actions/cat/health.rb +27 -15
  15. data/lib/elasticsearch/api/actions/cat/help.rb +7 -6
  16. data/lib/elasticsearch/api/actions/cat/indices.rb +37 -21
  17. data/lib/elasticsearch/api/actions/cat/master.rb +22 -15
  18. data/lib/elasticsearch/api/actions/cat/ml_data_frame_analytics.rb +21 -14
  19. data/lib/elasticsearch/api/actions/cat/ml_datafeeds.rb +29 -15
  20. data/lib/elasticsearch/api/actions/cat/ml_jobs.rb +30 -15
  21. data/lib/elasticsearch/api/actions/cat/ml_trained_models.rb +25 -17
  22. data/lib/elasticsearch/api/actions/cat/nodeattrs.rb +22 -15
  23. data/lib/elasticsearch/api/actions/cat/nodes.rb +23 -17
  24. data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +24 -16
  25. data/lib/elasticsearch/api/actions/cat/plugins.rb +22 -15
  26. data/lib/elasticsearch/api/actions/cat/recovery.rb +27 -18
  27. data/lib/elasticsearch/api/actions/cat/repositories.rb +22 -15
  28. data/lib/elasticsearch/api/actions/cat/segments.rb +28 -22
  29. data/lib/elasticsearch/api/actions/cat/shards.rb +26 -17
  30. data/lib/elasticsearch/api/actions/cat/snapshots.rb +25 -16
  31. data/lib/elasticsearch/api/actions/cat/tasks.rb +25 -19
  32. data/lib/elasticsearch/api/actions/cat/templates.rb +25 -16
  33. data/lib/elasticsearch/api/actions/cat/thread_pool.rb +27 -17
  34. data/lib/elasticsearch/api/actions/cat/transforms.rb +25 -17
  35. data/lib/elasticsearch/api/actions/clear_scroll.rb +12 -18
  36. data/lib/elasticsearch/api/actions/close_point_in_time.rb +11 -9
  37. data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +15 -11
  38. data/lib/elasticsearch/api/actions/cluster/delete_component_template.rb +12 -9
  39. data/lib/elasticsearch/api/actions/cluster/delete_voting_config_exclusions.rb +14 -8
  40. data/lib/elasticsearch/api/actions/cluster/exists_component_template.rb +14 -9
  41. data/lib/elasticsearch/api/actions/cluster/get_component_template.rb +14 -11
  42. data/lib/elasticsearch/api/actions/cluster/get_settings.rb +13 -10
  43. data/lib/elasticsearch/api/actions/cluster/health.rb +26 -19
  44. data/lib/elasticsearch/api/actions/cluster/info.rb +8 -7
  45. data/lib/elasticsearch/api/actions/cluster/pending_tasks.rb +14 -8
  46. data/lib/elasticsearch/api/actions/cluster/post_voting_config_exclusions.rb +29 -10
  47. data/lib/elasticsearch/api/actions/cluster/put_component_template.rb +28 -11
  48. data/lib/elasticsearch/api/actions/cluster/put_settings.rb +22 -9
  49. data/lib/elasticsearch/api/actions/cluster/remote_info.rb +8 -6
  50. data/lib/elasticsearch/api/actions/cluster/reroute.rb +23 -13
  51. data/lib/elasticsearch/api/actions/cluster/state.rb +29 -16
  52. data/lib/elasticsearch/api/actions/cluster/stats.rb +12 -9
  53. data/lib/elasticsearch/api/actions/connector/check_in.rb +8 -7
  54. data/lib/elasticsearch/api/actions/connector/delete.rb +13 -8
  55. data/lib/elasticsearch/api/actions/connector/get.rb +10 -8
  56. data/lib/elasticsearch/api/actions/connector/list.rb +13 -11
  57. data/lib/elasticsearch/api/actions/connector/post.rb +10 -7
  58. data/lib/elasticsearch/api/actions/connector/put.rb +8 -8
  59. data/lib/elasticsearch/api/actions/connector/sync_job_cancel.rb +9 -7
  60. data/lib/elasticsearch/api/actions/connector/sync_job_check_in.rb +10 -7
  61. data/lib/elasticsearch/api/actions/connector/sync_job_claim.rb +14 -8
  62. data/lib/elasticsearch/api/actions/connector/sync_job_delete.rb +9 -7
  63. data/lib/elasticsearch/api/actions/connector/sync_job_error.rb +11 -8
  64. data/lib/elasticsearch/api/actions/connector/sync_job_get.rb +7 -7
  65. data/lib/elasticsearch/api/actions/connector/sync_job_list.rb +11 -10
  66. data/lib/elasticsearch/api/actions/connector/sync_job_post.rb +8 -7
  67. data/lib/elasticsearch/api/actions/connector/sync_job_update_stats.rb +13 -8
  68. data/lib/elasticsearch/api/actions/connector/update_active_filtering.rb +8 -7
  69. data/lib/elasticsearch/api/actions/connector/update_api_key_id.rb +12 -8
  70. data/lib/elasticsearch/api/actions/connector/update_configuration.rb +9 -8
  71. data/lib/elasticsearch/api/actions/connector/update_error.rb +11 -8
  72. data/lib/elasticsearch/api/actions/connector/update_features.rb +18 -8
  73. data/lib/elasticsearch/api/actions/connector/update_filtering.rb +11 -8
  74. data/lib/elasticsearch/api/actions/connector/update_filtering_validation.rb +9 -8
  75. data/lib/elasticsearch/api/actions/connector/update_index_name.rb +9 -8
  76. data/lib/elasticsearch/api/actions/connector/update_name.rb +8 -8
  77. data/lib/elasticsearch/api/actions/connector/update_native.rb +8 -8
  78. data/lib/elasticsearch/api/actions/connector/update_pipeline.rb +9 -8
  79. data/lib/elasticsearch/api/actions/connector/update_scheduling.rb +8 -8
  80. data/lib/elasticsearch/api/actions/connector/update_service_type.rb +8 -8
  81. data/lib/elasticsearch/api/actions/connector/update_status.rb +8 -8
  82. data/lib/elasticsearch/api/actions/count.rb +50 -26
  83. data/lib/elasticsearch/api/actions/create.rb +111 -24
  84. data/lib/elasticsearch/api/actions/cross_cluster_replication/delete_auto_follow_pattern.rb +11 -8
  85. data/lib/elasticsearch/api/actions/cross_cluster_replication/follow.rb +16 -11
  86. data/lib/elasticsearch/api/actions/cross_cluster_replication/follow_info.rb +13 -9
  87. data/lib/elasticsearch/api/actions/cross_cluster_replication/follow_stats.rb +12 -9
  88. data/lib/elasticsearch/api/actions/cross_cluster_replication/forget_follower.rb +19 -10
  89. data/lib/elasticsearch/api/actions/cross_cluster_replication/get_auto_follow_pattern.rb +12 -8
  90. data/lib/elasticsearch/api/actions/cross_cluster_replication/pause_auto_follow_pattern.rb +16 -8
  91. data/lib/elasticsearch/api/actions/cross_cluster_replication/pause_follow.rb +15 -9
  92. data/lib/elasticsearch/api/actions/cross_cluster_replication/put_auto_follow_pattern.rb +14 -9
  93. data/lib/elasticsearch/api/actions/cross_cluster_replication/resume_auto_follow_pattern.rb +13 -8
  94. data/lib/elasticsearch/api/actions/cross_cluster_replication/resume_follow.rb +14 -10
  95. data/lib/elasticsearch/api/actions/cross_cluster_replication/stats.rb +11 -8
  96. data/lib/elasticsearch/api/actions/cross_cluster_replication/unfollow.rb +14 -9
  97. data/lib/elasticsearch/api/actions/dangling_indices/delete_dangling_index.rb +11 -9
  98. data/lib/elasticsearch/api/actions/dangling_indices/import_dangling_index.rb +12 -9
  99. data/lib/elasticsearch/api/actions/dangling_indices/list_dangling_indices.rb +9 -6
  100. data/lib/elasticsearch/api/actions/delete.rb +49 -18
  101. data/lib/elasticsearch/api/actions/delete_by_query.rb +120 -38
  102. data/lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb +11 -8
  103. data/lib/elasticsearch/api/actions/delete_script.rb +14 -9
  104. data/lib/elasticsearch/api/actions/enrich/delete_policy.rb +9 -8
  105. data/lib/elasticsearch/api/actions/enrich/execute_policy.rb +10 -9
  106. data/lib/elasticsearch/api/actions/enrich/get_policy.rb +10 -8
  107. data/lib/elasticsearch/api/actions/enrich/put_policy.rb +10 -9
  108. data/lib/elasticsearch/api/actions/enrich/stats.rb +8 -7
  109. data/lib/elasticsearch/api/actions/eql/delete.rb +11 -7
  110. data/lib/elasticsearch/api/actions/eql/get.rb +12 -9
  111. data/lib/elasticsearch/api/actions/eql/get_status.rb +8 -7
  112. data/lib/elasticsearch/api/actions/eql/search.rb +20 -18
  113. data/lib/elasticsearch/api/actions/esql/async_query.rb +24 -11
  114. data/lib/elasticsearch/api/actions/esql/async_query_delete.rb +14 -7
  115. data/lib/elasticsearch/api/actions/esql/async_query_get.rb +19 -11
  116. data/lib/elasticsearch/api/actions/esql/async_query_stop.rb +13 -8
  117. data/lib/elasticsearch/api/actions/esql/query.rb +15 -11
  118. data/lib/elasticsearch/api/actions/exists.rb +46 -20
  119. data/lib/elasticsearch/api/actions/exists_source.rb +28 -18
  120. data/lib/elasticsearch/api/actions/explain.rb +36 -22
  121. data/lib/elasticsearch/api/actions/features/get_features.rb +14 -7
  122. data/lib/elasticsearch/api/actions/features/reset_features.rb +17 -7
  123. data/lib/elasticsearch/api/actions/field_caps.rb +28 -20
  124. data/lib/elasticsearch/api/actions/fleet/global_checkpoints.rb +18 -12
  125. data/lib/elasticsearch/api/actions/fleet/msearch.rb +31 -11
  126. data/lib/elasticsearch/api/actions/fleet/search.rb +64 -14
  127. data/lib/elasticsearch/api/actions/get.rb +77 -21
  128. data/lib/elasticsearch/api/actions/get_script.rb +11 -8
  129. data/lib/elasticsearch/api/actions/get_script_context.rb +7 -6
  130. data/lib/elasticsearch/api/actions/get_script_languages.rb +7 -6
  131. data/lib/elasticsearch/api/actions/get_source.rb +31 -18
  132. data/lib/elasticsearch/api/actions/graph/explore.rb +24 -13
  133. data/lib/elasticsearch/api/actions/health_report.rb +22 -10
  134. data/lib/elasticsearch/api/actions/index.rb +124 -24
  135. data/lib/elasticsearch/api/actions/index_lifecycle_management/delete_lifecycle.rb +10 -9
  136. data/lib/elasticsearch/api/actions/index_lifecycle_management/explain_lifecycle.rb +15 -11
  137. data/lib/elasticsearch/api/actions/index_lifecycle_management/get_lifecycle.rb +9 -9
  138. data/lib/elasticsearch/api/actions/index_lifecycle_management/get_status.rb +7 -6
  139. data/lib/elasticsearch/api/actions/index_lifecycle_management/migrate_to_data_tiers.rb +22 -8
  140. data/lib/elasticsearch/api/actions/index_lifecycle_management/move_to_step.rb +19 -10
  141. data/lib/elasticsearch/api/actions/index_lifecycle_management/put_lifecycle.rb +12 -11
  142. data/lib/elasticsearch/api/actions/index_lifecycle_management/remove_policy.rb +10 -8
  143. data/lib/elasticsearch/api/actions/index_lifecycle_management/retry.rb +11 -8
  144. data/lib/elasticsearch/api/actions/index_lifecycle_management/start.rb +11 -8
  145. data/lib/elasticsearch/api/actions/index_lifecycle_management/stop.rb +12 -8
  146. data/lib/elasticsearch/api/actions/indices/add_block.rb +28 -15
  147. data/lib/elasticsearch/api/actions/indices/analyze.rb +22 -12
  148. data/lib/elasticsearch/api/actions/indices/cancel_migrate_reindex.rb +13 -8
  149. data/lib/elasticsearch/api/actions/indices/clear_cache.rb +27 -15
  150. data/lib/elasticsearch/api/actions/indices/clone.rb +47 -14
  151. data/lib/elasticsearch/api/actions/indices/close.rb +34 -14
  152. data/lib/elasticsearch/api/actions/indices/create.rb +30 -12
  153. data/lib/elasticsearch/api/actions/indices/create_data_stream.rb +15 -9
  154. data/lib/elasticsearch/api/actions/indices/create_from.rb +16 -10
  155. data/lib/elasticsearch/api/actions/indices/data_streams_stats.rb +13 -8
  156. data/lib/elasticsearch/api/actions/indices/delete.rb +28 -14
  157. data/lib/elasticsearch/api/actions/indices/delete_alias.rb +17 -12
  158. data/lib/elasticsearch/api/actions/indices/delete_data_lifecycle.rb +10 -9
  159. data/lib/elasticsearch/api/actions/indices/delete_data_stream.rb +10 -9
  160. data/lib/elasticsearch/api/actions/indices/delete_index_template.rb +12 -9
  161. data/lib/elasticsearch/api/actions/indices/delete_template.rb +13 -10
  162. data/lib/elasticsearch/api/actions/indices/disk_usage.rb +26 -13
  163. data/lib/elasticsearch/api/actions/indices/downsample.rb +17 -11
  164. data/lib/elasticsearch/api/actions/indices/exists.rb +20 -15
  165. data/lib/elasticsearch/api/actions/indices/exists_alias.rb +22 -15
  166. data/lib/elasticsearch/api/actions/indices/exists_index_template.rb +11 -10
  167. data/lib/elasticsearch/api/actions/indices/exists_template.rb +17 -11
  168. data/lib/elasticsearch/api/actions/indices/explain_data_lifecycle.rb +9 -8
  169. data/lib/elasticsearch/api/actions/indices/field_usage_stats.rb +21 -12
  170. data/lib/elasticsearch/api/actions/indices/flush.rb +28 -13
  171. data/lib/elasticsearch/api/actions/indices/forcemerge.rb +49 -11
  172. data/lib/elasticsearch/api/actions/indices/get.rb +23 -16
  173. data/lib/elasticsearch/api/actions/indices/get_alias.rb +25 -15
  174. data/lib/elasticsearch/api/actions/indices/get_data_lifecycle.rb +15 -10
  175. data/lib/elasticsearch/api/actions/indices/get_data_lifecycle_stats.rb +7 -6
  176. data/lib/elasticsearch/api/actions/indices/get_data_stream.rb +14 -11
  177. data/lib/elasticsearch/api/actions/indices/get_field_mapping.rb +30 -19
  178. data/lib/elasticsearch/api/actions/indices/get_index_template.rb +12 -11
  179. data/lib/elasticsearch/api/actions/indices/get_mapping.rb +21 -13
  180. data/lib/elasticsearch/api/actions/indices/get_migrate_reindex_status.rb +13 -8
  181. data/lib/elasticsearch/api/actions/indices/get_settings.rb +32 -19
  182. data/lib/elasticsearch/api/actions/indices/get_template.rb +15 -10
  183. data/lib/elasticsearch/api/actions/indices/migrate_reindex.rb +14 -7
  184. data/lib/elasticsearch/api/actions/indices/migrate_to_data_stream.rb +19 -9
  185. data/lib/elasticsearch/api/actions/indices/modify_data_stream.rb +8 -7
  186. data/lib/elasticsearch/api/actions/indices/open.rb +41 -14
  187. data/lib/elasticsearch/api/actions/indices/promote_data_stream.rb +16 -8
  188. data/lib/elasticsearch/api/actions/indices/put_alias.rb +20 -13
  189. data/lib/elasticsearch/api/actions/indices/put_data_lifecycle.rb +19 -12
  190. data/lib/elasticsearch/api/actions/indices/put_index_template.rb +31 -10
  191. data/lib/elasticsearch/api/actions/indices/put_mapping.rb +40 -15
  192. data/lib/elasticsearch/api/actions/indices/put_settings.rb +44 -17
  193. data/lib/elasticsearch/api/actions/indices/put_template.rb +28 -11
  194. data/lib/elasticsearch/api/actions/indices/recovery.rb +28 -13
  195. data/lib/elasticsearch/api/actions/indices/refresh.rb +26 -11
  196. data/lib/elasticsearch/api/actions/indices/reload_search_analyzers.rb +21 -11
  197. data/lib/elasticsearch/api/actions/indices/resolve_cluster.rb +60 -12
  198. data/lib/elasticsearch/api/actions/indices/resolve_index.rb +18 -10
  199. data/lib/elasticsearch/api/actions/indices/rollover.rb +48 -17
  200. data/lib/elasticsearch/api/actions/indices/segments.rb +19 -12
  201. data/lib/elasticsearch/api/actions/indices/shard_stores.rb +23 -12
  202. data/lib/elasticsearch/api/actions/indices/shrink.rb +39 -15
  203. data/lib/elasticsearch/api/actions/indices/simulate_index_template.rb +12 -12
  204. data/lib/elasticsearch/api/actions/indices/simulate_template.rb +13 -11
  205. data/lib/elasticsearch/api/actions/indices/split.rb +40 -15
  206. data/lib/elasticsearch/api/actions/indices/stats.rb +29 -20
  207. data/lib/elasticsearch/api/actions/indices/update_aliases.rb +12 -9
  208. data/lib/elasticsearch/api/actions/indices/validate_query.rb +33 -24
  209. data/lib/elasticsearch/api/actions/inference/chat_completion_unified.rb +9 -8
  210. data/lib/elasticsearch/api/actions/inference/completion.rb +9 -9
  211. data/lib/elasticsearch/api/actions/inference/delete.rb +12 -12
  212. data/lib/elasticsearch/api/actions/inference/get.rb +10 -10
  213. data/lib/elasticsearch/api/actions/inference/inference.rb +19 -15
  214. data/lib/elasticsearch/api/actions/inference/put.rb +20 -12
  215. data/lib/elasticsearch/api/actions/inference/put_alibabacloud.rb +16 -11
  216. data/lib/elasticsearch/api/actions/inference/put_amazonbedrock.rb +11 -11
  217. data/lib/elasticsearch/api/actions/inference/put_anthropic.rb +17 -11
  218. data/lib/elasticsearch/api/actions/inference/put_azureaistudio.rb +16 -11
  219. data/lib/elasticsearch/api/actions/inference/put_azureopenai.rb +21 -11
  220. data/lib/elasticsearch/api/actions/inference/put_cohere.rb +21 -12
  221. data/lib/elasticsearch/api/actions/inference/put_elasticsearch.rb +12 -11
  222. data/lib/elasticsearch/api/actions/inference/put_elser.rb +12 -11
  223. data/lib/elasticsearch/api/actions/inference/put_googleaistudio.rb +16 -11
  224. data/lib/elasticsearch/api/actions/inference/put_googlevertexai.rb +16 -11
  225. data/lib/elasticsearch/api/actions/inference/put_hugging_face.rb +27 -11
  226. data/lib/elasticsearch/api/actions/inference/put_jinaai.rb +23 -12
  227. data/lib/elasticsearch/api/actions/inference/put_mistral.rb +17 -11
  228. data/lib/elasticsearch/api/actions/inference/put_openai.rb +22 -12
  229. data/lib/elasticsearch/api/actions/inference/put_voyageai.rb +12 -11
  230. data/lib/elasticsearch/api/actions/inference/put_watsonx.rb +19 -11
  231. data/lib/elasticsearch/api/actions/inference/rerank.rb +10 -10
  232. data/lib/elasticsearch/api/actions/inference/sparse_embedding.rb +9 -9
  233. data/lib/elasticsearch/api/actions/inference/stream_completion.rb +12 -9
  234. data/lib/elasticsearch/api/actions/inference/text_embedding.rb +9 -9
  235. data/lib/elasticsearch/api/actions/inference/update.rb +15 -11
  236. data/lib/elasticsearch/api/actions/info.rb +7 -6
  237. data/lib/elasticsearch/api/actions/ingest/delete_geoip_database.rb +11 -9
  238. data/lib/elasticsearch/api/actions/ingest/delete_ip_location_database.rb +13 -9
  239. data/lib/elasticsearch/api/actions/ingest/delete_pipeline.rb +13 -9
  240. data/lib/elasticsearch/api/actions/ingest/geo_ip_stats.rb +7 -6
  241. data/lib/elasticsearch/api/actions/ingest/get_geoip_database.rb +10 -7
  242. data/lib/elasticsearch/api/actions/ingest/get_ip_location_database.rb +13 -8
  243. data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +13 -8
  244. data/lib/elasticsearch/api/actions/ingest/processor_grok.rb +9 -6
  245. data/lib/elasticsearch/api/actions/ingest/put_geoip_database.rb +12 -10
  246. data/lib/elasticsearch/api/actions/ingest/put_ip_location_database.rb +14 -10
  247. data/lib/elasticsearch/api/actions/ingest/put_pipeline.rb +11 -10
  248. data/lib/elasticsearch/api/actions/ingest/simulate.rb +12 -9
  249. data/lib/elasticsearch/api/actions/license/delete.rb +10 -8
  250. data/lib/elasticsearch/api/actions/license/get.rb +10 -8
  251. data/lib/elasticsearch/api/actions/license/get_basic_status.rb +6 -6
  252. data/lib/elasticsearch/api/actions/license/get_trial_status.rb +6 -6
  253. data/lib/elasticsearch/api/actions/license/post.rb +16 -10
  254. data/lib/elasticsearch/api/actions/license/post_start_basic.rb +13 -8
  255. data/lib/elasticsearch/api/actions/license/post_start_trial.rb +12 -8
  256. data/lib/elasticsearch/api/actions/logstash/delete_pipeline.rb +9 -7
  257. data/lib/elasticsearch/api/actions/logstash/get_pipeline.rb +8 -7
  258. data/lib/elasticsearch/api/actions/logstash/put_pipeline.rb +10 -8
  259. data/lib/elasticsearch/api/actions/machine_learning/clear_trained_model_deployment_cache.rb +10 -6
  260. data/lib/elasticsearch/api/actions/machine_learning/close_job.rb +17 -11
  261. data/lib/elasticsearch/api/actions/machine_learning/delete_calendar.rb +8 -7
  262. data/lib/elasticsearch/api/actions/machine_learning/delete_calendar_event.rb +10 -9
  263. data/lib/elasticsearch/api/actions/machine_learning/delete_calendar_job.rb +10 -9
  264. data/lib/elasticsearch/api/actions/machine_learning/delete_data_frame_analytics.rb +9 -9
  265. data/lib/elasticsearch/api/actions/machine_learning/delete_datafeed.rb +12 -8
  266. data/lib/elasticsearch/api/actions/machine_learning/delete_expired_data.rb +20 -10
  267. data/lib/elasticsearch/api/actions/machine_learning/delete_filter.rb +9 -7
  268. data/lib/elasticsearch/api/actions/machine_learning/delete_forecast.rb +23 -12
  269. data/lib/elasticsearch/api/actions/machine_learning/delete_job.rb +20 -10
  270. data/lib/elasticsearch/api/actions/machine_learning/delete_model_snapshot.rb +12 -9
  271. data/lib/elasticsearch/api/actions/machine_learning/delete_trained_model.rb +10 -9
  272. data/lib/elasticsearch/api/actions/machine_learning/delete_trained_model_alias.rb +12 -9
  273. data/lib/elasticsearch/api/actions/machine_learning/estimate_model_memory.rb +10 -7
  274. data/lib/elasticsearch/api/actions/machine_learning/evaluate_data_frame.rb +11 -7
  275. data/lib/elasticsearch/api/actions/machine_learning/explain_data_frame_analytics.rb +20 -12
  276. data/lib/elasticsearch/api/actions/machine_learning/flush_job.rb +26 -13
  277. data/lib/elasticsearch/api/actions/machine_learning/forecast.rb +24 -11
  278. data/lib/elasticsearch/api/actions/machine_learning/get_buckets.rb +27 -23
  279. data/lib/elasticsearch/api/actions/machine_learning/get_calendar_events.rb +12 -12
  280. data/lib/elasticsearch/api/actions/machine_learning/get_calendars.rb +14 -14
  281. data/lib/elasticsearch/api/actions/machine_learning/get_categories.rb +21 -17
  282. data/lib/elasticsearch/api/actions/machine_learning/get_data_frame_analytics.rb +26 -11
  283. data/lib/elasticsearch/api/actions/machine_learning/get_data_frame_analytics_stats.rb +21 -11
  284. data/lib/elasticsearch/api/actions/machine_learning/get_datafeed_stats.rb +23 -8
  285. data/lib/elasticsearch/api/actions/machine_learning/get_datafeeds.rb +25 -9
  286. data/lib/elasticsearch/api/actions/machine_learning/get_filters.rb +10 -9
  287. data/lib/elasticsearch/api/actions/machine_learning/get_influencers.rb +25 -16
  288. data/lib/elasticsearch/api/actions/machine_learning/get_job_stats.rb +18 -8
  289. data/lib/elasticsearch/api/actions/machine_learning/get_jobs.rb +24 -9
  290. data/lib/elasticsearch/api/actions/machine_learning/get_memory_stats.rb +14 -9
  291. data/lib/elasticsearch/api/actions/machine_learning/get_model_snapshot_upgrade_stats.rb +18 -10
  292. data/lib/elasticsearch/api/actions/machine_learning/get_model_snapshots.rb +23 -20
  293. data/lib/elasticsearch/api/actions/machine_learning/get_overall_buckets.rb +47 -15
  294. data/lib/elasticsearch/api/actions/machine_learning/get_records.rb +28 -16
  295. data/lib/elasticsearch/api/actions/machine_learning/get_trained_models.rb +27 -15
  296. data/lib/elasticsearch/api/actions/machine_learning/get_trained_models_stats.rb +18 -10
  297. data/lib/elasticsearch/api/actions/machine_learning/infer_trained_model.rb +8 -13
  298. data/lib/elasticsearch/api/actions/machine_learning/info.rb +13 -6
  299. data/lib/elasticsearch/api/actions/machine_learning/open_job.rb +16 -9
  300. data/lib/elasticsearch/api/actions/machine_learning/post_calendar_events.rb +8 -8
  301. data/lib/elasticsearch/api/actions/machine_learning/post_data.rb +12 -10
  302. data/lib/elasticsearch/api/actions/machine_learning/preview_data_frame_analytics.rb +13 -12
  303. data/lib/elasticsearch/api/actions/machine_learning/preview_datafeed.rb +25 -14
  304. data/lib/elasticsearch/api/actions/machine_learning/put_calendar.rb +8 -8
  305. data/lib/elasticsearch/api/actions/machine_learning/put_calendar_job.rb +9 -9
  306. data/lib/elasticsearch/api/actions/machine_learning/put_data_frame_analytics.rb +15 -8
  307. data/lib/elasticsearch/api/actions/machine_learning/put_datafeed.rb +26 -12
  308. data/lib/elasticsearch/api/actions/machine_learning/put_filter.rb +10 -8
  309. data/lib/elasticsearch/api/actions/machine_learning/put_job.rb +21 -12
  310. data/lib/elasticsearch/api/actions/machine_learning/put_trained_model.rb +14 -10
  311. data/lib/elasticsearch/api/actions/machine_learning/put_trained_model_alias.rb +28 -10
  312. data/lib/elasticsearch/api/actions/machine_learning/put_trained_model_definition_part.rb +11 -10
  313. data/lib/elasticsearch/api/actions/machine_learning/put_trained_model_vocabulary.rb +10 -8
  314. data/lib/elasticsearch/api/actions/machine_learning/reset_job.rb +16 -9
  315. data/lib/elasticsearch/api/actions/machine_learning/revert_model_snapshot.rb +25 -11
  316. data/lib/elasticsearch/api/actions/machine_learning/set_upgrade_mode.rb +22 -8
  317. data/lib/elasticsearch/api/actions/machine_learning/start_data_frame_analytics.rb +23 -10
  318. data/lib/elasticsearch/api/actions/machine_learning/start_datafeed.rb +34 -11
  319. data/lib/elasticsearch/api/actions/machine_learning/start_trained_model_deployment.rb +29 -15
  320. data/lib/elasticsearch/api/actions/machine_learning/stop_data_frame_analytics.rb +24 -12
  321. data/lib/elasticsearch/api/actions/machine_learning/stop_datafeed.rb +21 -11
  322. data/lib/elasticsearch/api/actions/machine_learning/stop_trained_model_deployment.rb +13 -10
  323. data/lib/elasticsearch/api/actions/machine_learning/update_data_frame_analytics.rb +10 -8
  324. data/lib/elasticsearch/api/actions/machine_learning/update_datafeed.rb +25 -12
  325. data/lib/elasticsearch/api/actions/machine_learning/update_filter.rb +9 -8
  326. data/lib/elasticsearch/api/actions/machine_learning/update_job.rb +9 -8
  327. data/lib/elasticsearch/api/actions/machine_learning/update_model_snapshot.rb +11 -10
  328. data/lib/elasticsearch/api/actions/machine_learning/update_trained_model_deployment.rb +14 -9
  329. data/lib/elasticsearch/api/actions/machine_learning/upgrade_job_snapshot.rb +21 -11
  330. data/lib/elasticsearch/api/actions/mget.rb +34 -18
  331. data/lib/elasticsearch/api/actions/migration/deprecations.rb +11 -8
  332. data/lib/elasticsearch/api/actions/migration/get_feature_upgrade_status.rb +10 -6
  333. data/lib/elasticsearch/api/actions/migration/post_feature_upgrade.rb +10 -6
  334. data/lib/elasticsearch/api/actions/msearch.rb +41 -23
  335. data/lib/elasticsearch/api/actions/msearch_template.rb +28 -14
  336. data/lib/elasticsearch/api/actions/mtermvectors.rb +35 -29
  337. data/lib/elasticsearch/api/actions/nodes/clear_repositories_metering_archive.rb +15 -10
  338. data/lib/elasticsearch/api/actions/nodes/get_repositories_metering_info.rb +10 -7
  339. data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +18 -14
  340. data/lib/elasticsearch/api/actions/nodes/info.rb +14 -13
  341. data/lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb +16 -9
  342. data/lib/elasticsearch/api/actions/nodes/stats.rb +25 -23
  343. data/lib/elasticsearch/api/actions/nodes/usage.rb +14 -12
  344. data/lib/elasticsearch/api/actions/open_point_in_time.rb +46 -16
  345. data/lib/elasticsearch/api/actions/ping.rb +7 -6
  346. data/lib/elasticsearch/api/actions/put_script.rb +20 -13
  347. data/lib/elasticsearch/api/actions/query_rules/delete_rule.rb +11 -9
  348. data/lib/elasticsearch/api/actions/query_rules/delete_ruleset.rb +10 -8
  349. data/lib/elasticsearch/api/actions/query_rules/get_rule.rb +10 -9
  350. data/lib/elasticsearch/api/actions/query_rules/get_ruleset.rb +8 -7
  351. data/lib/elasticsearch/api/actions/query_rules/list_rulesets.rb +9 -8
  352. data/lib/elasticsearch/api/actions/query_rules/put_rule.rb +15 -10
  353. data/lib/elasticsearch/api/actions/query_rules/put_ruleset.rb +14 -8
  354. data/lib/elasticsearch/api/actions/query_rules/test.rb +9 -8
  355. data/lib/elasticsearch/api/actions/rank_eval.rb +16 -13
  356. data/lib/elasticsearch/api/actions/reindex.rb +156 -16
  357. data/lib/elasticsearch/api/actions/reindex_rethrottle.rb +17 -8
  358. data/lib/elasticsearch/api/actions/render_search_template.rb +16 -11
  359. data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +18 -10
  360. data/lib/elasticsearch/api/actions/scroll.rb +19 -19
  361. data/lib/elasticsearch/api/actions/search.rb +135 -57
  362. data/lib/elasticsearch/api/actions/search_application/delete.rb +8 -7
  363. data/lib/elasticsearch/api/actions/search_application/delete_behavioral_analytics.rb +8 -7
  364. data/lib/elasticsearch/api/actions/search_application/get.rb +7 -7
  365. data/lib/elasticsearch/api/actions/search_application/get_behavioral_analytics.rb +7 -7
  366. data/lib/elasticsearch/api/actions/search_application/list.rb +10 -9
  367. data/lib/elasticsearch/api/actions/search_application/post_behavioral_analytics_event.rb +11 -11
  368. data/lib/elasticsearch/api/actions/search_application/put.rb +9 -9
  369. data/lib/elasticsearch/api/actions/search_application/put_behavioral_analytics.rb +7 -7
  370. data/lib/elasticsearch/api/actions/search_application/render_query.rb +12 -8
  371. data/lib/elasticsearch/api/actions/search_application/search.rb +11 -9
  372. data/lib/elasticsearch/api/actions/search_mvt.rb +155 -21
  373. data/lib/elasticsearch/api/actions/search_shards.rb +29 -15
  374. data/lib/elasticsearch/api/actions/search_template.rb +31 -22
  375. data/lib/elasticsearch/api/actions/searchable_snapshots/cache_stats.rb +10 -8
  376. data/lib/elasticsearch/api/actions/searchable_snapshots/clear_cache.rb +12 -10
  377. data/lib/elasticsearch/api/actions/searchable_snapshots/mount.rb +18 -13
  378. data/lib/elasticsearch/api/actions/searchable_snapshots/stats.rb +9 -9
  379. data/lib/elasticsearch/api/actions/security/activate_user_profile.rb +16 -7
  380. data/lib/elasticsearch/api/actions/security/authenticate.rb +10 -6
  381. data/lib/elasticsearch/api/actions/security/bulk_delete_role.rb +10 -8
  382. data/lib/elasticsearch/api/actions/security/bulk_put_role.rb +10 -8
  383. data/lib/elasticsearch/api/actions/security/bulk_update_api_keys.rb +16 -7
  384. data/lib/elasticsearch/api/actions/security/change_password.rb +11 -9
  385. data/lib/elasticsearch/api/actions/security/clear_api_key_cache.rb +12 -8
  386. data/lib/elasticsearch/api/actions/security/clear_cached_privileges.rb +11 -7
  387. data/lib/elasticsearch/api/actions/security/clear_cached_realms.rb +16 -8
  388. data/lib/elasticsearch/api/actions/security/clear_cached_roles.rb +10 -7
  389. data/lib/elasticsearch/api/actions/security/clear_cached_service_tokens.rb +17 -10
  390. data/lib/elasticsearch/api/actions/security/create_api_key.rb +16 -8
  391. data/lib/elasticsearch/api/actions/security/create_cross_cluster_api_key.rb +16 -7
  392. data/lib/elasticsearch/api/actions/security/create_service_token.rb +18 -12
  393. data/lib/elasticsearch/api/actions/security/delegate_pki.rb +14 -7
  394. data/lib/elasticsearch/api/actions/security/delete_privileges.rb +14 -10
  395. data/lib/elasticsearch/api/actions/security/delete_role.rb +11 -8
  396. data/lib/elasticsearch/api/actions/security/delete_role_mapping.rb +12 -8
  397. data/lib/elasticsearch/api/actions/security/delete_service_token.rb +12 -11
  398. data/lib/elasticsearch/api/actions/security/delete_user.rb +9 -8
  399. data/lib/elasticsearch/api/actions/security/disable_user.rb +11 -8
  400. data/lib/elasticsearch/api/actions/security/disable_user_profile.rb +17 -9
  401. data/lib/elasticsearch/api/actions/security/enable_user.rb +10 -8
  402. data/lib/elasticsearch/api/actions/security/enable_user_profile.rb +18 -9
  403. data/lib/elasticsearch/api/actions/security/enroll_kibana.rb +9 -6
  404. data/lib/elasticsearch/api/actions/security/enroll_node.rb +9 -6
  405. data/lib/elasticsearch/api/actions/security/get_api_key.rb +26 -14
  406. data/lib/elasticsearch/api/actions/security/get_builtin_privileges.rb +7 -6
  407. data/lib/elasticsearch/api/actions/security/get_privileges.rb +16 -10
  408. data/lib/elasticsearch/api/actions/security/get_role.rb +13 -8
  409. data/lib/elasticsearch/api/actions/security/get_role_mapping.rb +10 -7
  410. data/lib/elasticsearch/api/actions/security/get_service_accounts.rb +15 -10
  411. data/lib/elasticsearch/api/actions/security/get_service_credentials.rb +13 -9
  412. data/lib/elasticsearch/api/actions/security/get_settings.rb +13 -7
  413. data/lib/elasticsearch/api/actions/security/get_token.rb +16 -7
  414. data/lib/elasticsearch/api/actions/security/get_user.rb +10 -9
  415. data/lib/elasticsearch/api/actions/security/get_user_privileges.rb +14 -7
  416. data/lib/elasticsearch/api/actions/security/get_user_profile.rb +16 -9
  417. data/lib/elasticsearch/api/actions/security/grant_api_key.rb +23 -9
  418. data/lib/elasticsearch/api/actions/security/has_privileges.rb +10 -7
  419. data/lib/elasticsearch/api/actions/security/has_privileges_user_profile.rb +10 -7
  420. data/lib/elasticsearch/api/actions/security/invalidate_api_key.rb +17 -7
  421. data/lib/elasticsearch/api/actions/security/invalidate_token.rb +16 -7
  422. data/lib/elasticsearch/api/actions/security/oidc_authenticate.rb +10 -7
  423. data/lib/elasticsearch/api/actions/security/oidc_logout.rb +11 -7
  424. data/lib/elasticsearch/api/actions/security/oidc_prepare_authentication.rb +11 -7
  425. data/lib/elasticsearch/api/actions/security/put_privileges.rb +20 -8
  426. data/lib/elasticsearch/api/actions/security/put_role.rb +12 -9
  427. data/lib/elasticsearch/api/actions/security/put_role_mapping.rb +27 -9
  428. data/lib/elasticsearch/api/actions/security/put_user.rb +15 -9
  429. data/lib/elasticsearch/api/actions/security/query_api_keys.rb +19 -11
  430. data/lib/elasticsearch/api/actions/security/query_role.rb +13 -8
  431. data/lib/elasticsearch/api/actions/security/query_user.rb +13 -9
  432. data/lib/elasticsearch/api/actions/security/saml_authenticate.rb +16 -7
  433. data/lib/elasticsearch/api/actions/security/saml_complete_logout.rb +15 -7
  434. data/lib/elasticsearch/api/actions/security/saml_invalidate.rb +14 -7
  435. data/lib/elasticsearch/api/actions/security/saml_logout.rb +12 -7
  436. data/lib/elasticsearch/api/actions/security/saml_prepare_authentication.rb +17 -7
  437. data/lib/elasticsearch/api/actions/security/saml_service_provider_metadata.rb +10 -7
  438. data/lib/elasticsearch/api/actions/security/suggest_user_profiles.rb +17 -9
  439. data/lib/elasticsearch/api/actions/security/update_api_key.rb +21 -8
  440. data/lib/elasticsearch/api/actions/security/update_cross_cluster_api_key.rb +18 -8
  441. data/lib/elasticsearch/api/actions/security/update_settings.rb +15 -9
  442. data/lib/elasticsearch/api/actions/security/update_user_profile_data.rb +26 -12
  443. data/lib/elasticsearch/api/actions/simulate/ingest.rb +25 -10
  444. data/lib/elasticsearch/api/actions/snapshot/cleanup_repository.rb +14 -9
  445. data/lib/elasticsearch/api/actions/snapshot/clone.rb +15 -12
  446. data/lib/elasticsearch/api/actions/snapshot/create.rb +17 -12
  447. data/lib/elasticsearch/api/actions/snapshot/create_repository.rb +22 -11
  448. data/lib/elasticsearch/api/actions/snapshot/delete.rb +14 -12
  449. data/lib/elasticsearch/api/actions/snapshot/delete_repository.rb +17 -10
  450. data/lib/elasticsearch/api/actions/snapshot/get.rb +41 -23
  451. data/lib/elasticsearch/api/actions/snapshot/get_repository.rb +14 -10
  452. data/lib/elasticsearch/api/actions/snapshot/repository_analyze.rb +99 -19
  453. data/lib/elasticsearch/api/actions/snapshot/restore.rb +27 -12
  454. data/lib/elasticsearch/api/actions/snapshot/status.rb +30 -13
  455. data/lib/elasticsearch/api/actions/snapshot/verify_repository.rb +14 -9
  456. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/delete_lifecycle.rb +13 -9
  457. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/execute_lifecycle.rb +13 -9
  458. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/execute_retention.rb +12 -8
  459. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_lifecycle.rb +12 -9
  460. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_stats.rb +9 -8
  461. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_status.rb +12 -8
  462. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/put_lifecycle.rb +17 -11
  463. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/start.rb +14 -8
  464. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/stop.rb +18 -8
  465. data/lib/elasticsearch/api/actions/sql/clear_cursor.rb +7 -7
  466. data/lib/elasticsearch/api/actions/sql/delete_async.rb +12 -7
  467. data/lib/elasticsearch/api/actions/sql/get_async.rb +18 -11
  468. data/lib/elasticsearch/api/actions/sql/get_async_status.rb +8 -7
  469. data/lib/elasticsearch/api/actions/sql/query.rb +11 -8
  470. data/lib/elasticsearch/api/actions/sql/translate.rb +9 -7
  471. data/lib/elasticsearch/api/actions/ssl/certificates.rb +16 -6
  472. data/lib/elasticsearch/api/actions/synonyms/delete_synonym.rb +19 -7
  473. data/lib/elasticsearch/api/actions/synonyms/delete_synonym_rule.rb +10 -9
  474. data/lib/elasticsearch/api/actions/synonyms/get_synonym.rb +9 -9
  475. data/lib/elasticsearch/api/actions/synonyms/get_synonym_rule.rb +10 -9
  476. data/lib/elasticsearch/api/actions/synonyms/get_synonyms_sets.rb +9 -8
  477. data/lib/elasticsearch/api/actions/synonyms/put_synonym.rb +12 -8
  478. data/lib/elasticsearch/api/actions/synonyms/put_synonym_rule.rb +13 -10
  479. data/lib/elasticsearch/api/actions/tasks/cancel.rb +19 -11
  480. data/lib/elasticsearch/api/actions/tasks/get.rb +16 -9
  481. data/lib/elasticsearch/api/actions/tasks/list.rb +71 -13
  482. data/lib/elasticsearch/api/actions/terms_enum.rb +19 -11
  483. data/lib/elasticsearch/api/actions/termvectors.rb +49 -22
  484. data/lib/elasticsearch/api/actions/text_structure/find_field_structure.rb +83 -20
  485. data/lib/elasticsearch/api/actions/text_structure/find_message_structure.rb +80 -18
  486. data/lib/elasticsearch/api/actions/text_structure/find_structure.rb +95 -23
  487. data/lib/elasticsearch/api/actions/text_structure/test_grok_pattern.rb +12 -8
  488. data/lib/elasticsearch/api/actions/transform/delete_transform.rb +12 -10
  489. data/lib/elasticsearch/api/actions/transform/get_node_stats.rb +12 -7
  490. data/lib/elasticsearch/api/actions/transform/get_transform.rb +22 -11
  491. data/lib/elasticsearch/api/actions/transform/get_transform_stats.rb +19 -10
  492. data/lib/elasticsearch/api/actions/transform/preview_transform.rb +19 -13
  493. data/lib/elasticsearch/api/actions/transform/put_transform.rb +32 -10
  494. data/lib/elasticsearch/api/actions/transform/reset_transform.rb +13 -9
  495. data/lib/elasticsearch/api/actions/transform/schedule_now_transform.rb +13 -8
  496. data/lib/elasticsearch/api/actions/transform/start_transform.rb +22 -9
  497. data/lib/elasticsearch/api/actions/transform/stop_transform.rb +21 -12
  498. data/lib/elasticsearch/api/actions/transform/update_transform.rb +19 -10
  499. data/lib/elasticsearch/api/actions/transform/upgrade_transforms.rb +20 -8
  500. data/lib/elasticsearch/api/actions/update.rb +44 -24
  501. data/lib/elasticsearch/api/actions/update_by_query.rb +131 -39
  502. data/lib/elasticsearch/api/actions/update_by_query_rethrottle.rb +11 -8
  503. data/lib/elasticsearch/api/actions/watcher/ack_watch.rb +17 -10
  504. data/lib/elasticsearch/api/actions/watcher/activate_watch.rb +8 -7
  505. data/lib/elasticsearch/api/actions/watcher/deactivate_watch.rb +8 -7
  506. data/lib/elasticsearch/api/actions/watcher/delete_watch.rb +13 -8
  507. data/lib/elasticsearch/api/actions/watcher/execute_watch.rb +18 -9
  508. data/lib/elasticsearch/api/actions/watcher/get_settings.rb +10 -7
  509. data/lib/elasticsearch/api/actions/watcher/get_watch.rb +7 -7
  510. data/lib/elasticsearch/api/actions/watcher/put_watch.rb +21 -13
  511. data/lib/elasticsearch/api/actions/watcher/query_watches.rb +10 -8
  512. data/lib/elasticsearch/api/actions/watcher/start.rb +8 -7
  513. data/lib/elasticsearch/api/actions/watcher/stats.rb +10 -8
  514. data/lib/elasticsearch/api/actions/watcher/stop.rb +10 -7
  515. data/lib/elasticsearch/api/actions/watcher/update_settings.rb +17 -9
  516. data/lib/elasticsearch/api/actions/xpack/info.rb +15 -9
  517. data/lib/elasticsearch/api/actions/xpack/usage.rb +11 -7
  518. data/lib/elasticsearch/api/utils.rb +32 -87
  519. data/lib/elasticsearch/api/version.rb +2 -1
  520. data/lib/elasticsearch/api.rb +80 -59
  521. metadata +9 -1156
  522. data/Gemfile +0 -35
  523. data/Rakefile +0 -99
  524. data/api-spec-testing/README.md +0 -118
  525. data/api-spec-testing/custom_cleanup.rb +0 -32
  526. data/api-spec-testing/logging.rb +0 -28
  527. data/api-spec-testing/rspec_matchers.rb +0 -344
  528. data/api-spec-testing/test_file/action.rb +0 -251
  529. data/api-spec-testing/test_file/task_group.rb +0 -346
  530. data/api-spec-testing/test_file/test.rb +0 -296
  531. data/api-spec-testing/test_file.rb +0 -185
  532. data/api-spec-testing/wipe_cluster.rb +0 -521
  533. data/lib/elasticsearch/api/actions/autoscaling/delete_autoscaling_policy.rb +0 -62
  534. data/lib/elasticsearch/api/actions/autoscaling/get_autoscaling_capacity.rb +0 -51
  535. data/lib/elasticsearch/api/actions/autoscaling/get_autoscaling_policy.rb +0 -61
  536. data/lib/elasticsearch/api/actions/autoscaling/put_autoscaling_policy.rb +0 -64
  537. data/lib/elasticsearch/api/actions/capabilities.rb +0 -57
  538. data/lib/elasticsearch/api/actions/connector/secret_delete.rb +0 -64
  539. data/lib/elasticsearch/api/actions/connector/secret_get.rb +0 -64
  540. data/lib/elasticsearch/api/actions/connector/secret_post.rb +0 -57
  541. data/lib/elasticsearch/api/actions/connector/secret_put.rb +0 -66
  542. data/lib/elasticsearch/api/actions/fleet/delete_secret.rb +0 -64
  543. data/lib/elasticsearch/api/actions/fleet/get_secret.rb +0 -64
  544. data/lib/elasticsearch/api/actions/fleet/post_secret.rb +0 -57
  545. data/lib/elasticsearch/api/actions/indices/delete_data_stream_options.rb +0 -63
  546. data/lib/elasticsearch/api/actions/indices/get_data_stream_options.rb +0 -62
  547. data/lib/elasticsearch/api/actions/indices/get_data_stream_settings.rb +0 -61
  548. data/lib/elasticsearch/api/actions/indices/put_data_stream_options.rb +0 -65
  549. data/lib/elasticsearch/api/actions/indices/put_data_stream_settings.rb +0 -65
  550. data/lib/elasticsearch/api/actions/indices/unfreeze.rb +0 -71
  551. data/lib/elasticsearch/api/actions/inference/put_amazonsagemaker.rb +0 -70
  552. data/lib/elasticsearch/api/actions/inference/put_custom.rb +0 -66
  553. data/lib/elasticsearch/api/actions/inference/put_deepseek.rb +0 -70
  554. data/lib/elasticsearch/api/actions/knn_search.rb +0 -65
  555. data/lib/elasticsearch/api/actions/machine_learning/validate.rb +0 -53
  556. data/lib/elasticsearch/api/actions/machine_learning/validate_detector.rb +0 -53
  557. data/lib/elasticsearch/api/actions/monitoring/bulk.rb +0 -81
  558. data/lib/elasticsearch/api/actions/profiling/flamegraph.rb +0 -53
  559. data/lib/elasticsearch/api/actions/profiling/stacktraces.rb +0 -53
  560. data/lib/elasticsearch/api/actions/profiling/status.rb +0 -53
  561. data/lib/elasticsearch/api/actions/profiling/topn_functions.rb +0 -53
  562. data/lib/elasticsearch/api/actions/rollup/delete_job.rb +0 -64
  563. data/lib/elasticsearch/api/actions/rollup/get_jobs.rb +0 -66
  564. data/lib/elasticsearch/api/actions/rollup/get_rollup_caps.rb +0 -66
  565. data/lib/elasticsearch/api/actions/rollup/get_rollup_index_caps.rb +0 -64
  566. data/lib/elasticsearch/api/actions/rollup/put_job.rb +0 -66
  567. data/lib/elasticsearch/api/actions/rollup/rollup_search.rb +0 -68
  568. data/lib/elasticsearch/api/actions/rollup/start_job.rb +0 -64
  569. data/lib/elasticsearch/api/actions/rollup/stop_job.rb +0 -66
  570. data/lib/elasticsearch/api/actions/shutdown/delete_node.rb +0 -62
  571. data/lib/elasticsearch/api/actions/shutdown/get_node.rb +0 -63
  572. data/lib/elasticsearch/api/actions/shutdown/put_node.rb +0 -64
  573. data/lib/elasticsearch/api/actions/transform/set_upgrade_mode.rb +0 -52
  574. data/lib/elasticsearch/api/namespace/async_search.rb +0 -36
  575. data/lib/elasticsearch/api/namespace/autoscaling.rb +0 -36
  576. data/lib/elasticsearch/api/namespace/cat.rb +0 -36
  577. data/lib/elasticsearch/api/namespace/cluster.rb +0 -37
  578. data/lib/elasticsearch/api/namespace/common.rb +0 -42
  579. data/lib/elasticsearch/api/namespace/connector.rb +0 -36
  580. data/lib/elasticsearch/api/namespace/cross_cluster_replication.rb +0 -38
  581. data/lib/elasticsearch/api/namespace/dangling_indices.rb +0 -35
  582. data/lib/elasticsearch/api/namespace/data_frame_transform_deprecated.rb +0 -36
  583. data/lib/elasticsearch/api/namespace/enrich.rb +0 -36
  584. data/lib/elasticsearch/api/namespace/eql.rb +0 -36
  585. data/lib/elasticsearch/api/namespace/esql.rb +0 -36
  586. data/lib/elasticsearch/api/namespace/features.rb +0 -36
  587. data/lib/elasticsearch/api/namespace/fleet.rb +0 -36
  588. data/lib/elasticsearch/api/namespace/graph.rb +0 -36
  589. data/lib/elasticsearch/api/namespace/index_lifecycle_management.rb +0 -38
  590. data/lib/elasticsearch/api/namespace/indices.rb +0 -37
  591. data/lib/elasticsearch/api/namespace/inference.rb +0 -36
  592. data/lib/elasticsearch/api/namespace/ingest.rb +0 -36
  593. data/lib/elasticsearch/api/namespace/license.rb +0 -36
  594. data/lib/elasticsearch/api/namespace/logstash.rb +0 -36
  595. data/lib/elasticsearch/api/namespace/machine_learning.rb +0 -38
  596. data/lib/elasticsearch/api/namespace/migration.rb +0 -36
  597. data/lib/elasticsearch/api/namespace/monitoring.rb +0 -36
  598. data/lib/elasticsearch/api/namespace/nodes.rb +0 -37
  599. data/lib/elasticsearch/api/namespace/profiling.rb +0 -36
  600. data/lib/elasticsearch/api/namespace/query_rules.rb +0 -36
  601. data/lib/elasticsearch/api/namespace/query_ruleset.rb +0 -36
  602. data/lib/elasticsearch/api/namespace/remote.rb +0 -37
  603. data/lib/elasticsearch/api/namespace/rollup.rb +0 -36
  604. data/lib/elasticsearch/api/namespace/search_application.rb +0 -36
  605. data/lib/elasticsearch/api/namespace/searchable_snapshots.rb +0 -36
  606. data/lib/elasticsearch/api/namespace/security.rb +0 -36
  607. data/lib/elasticsearch/api/namespace/shutdown.rb +0 -37
  608. data/lib/elasticsearch/api/namespace/simulate.rb +0 -36
  609. data/lib/elasticsearch/api/namespace/snapshot.rb +0 -37
  610. data/lib/elasticsearch/api/namespace/snapshot_lifecycle_management.rb +0 -38
  611. data/lib/elasticsearch/api/namespace/sql.rb +0 -36
  612. data/lib/elasticsearch/api/namespace/ssl.rb +0 -36
  613. data/lib/elasticsearch/api/namespace/synonyms.rb +0 -36
  614. data/lib/elasticsearch/api/namespace/tasks.rb +0 -37
  615. data/lib/elasticsearch/api/namespace/text_structure.rb +0 -36
  616. data/lib/elasticsearch/api/namespace/transform.rb +0 -36
  617. data/lib/elasticsearch/api/namespace/watcher.rb +0 -36
  618. data/lib/elasticsearch/api/namespace/xpack.rb +0 -36
  619. data/spec/elasticsearch/api/actions/bulk_spec.rb +0 -143
  620. data/spec/elasticsearch/api/actions/capabilities_spec.rb +0 -35
  621. data/spec/elasticsearch/api/actions/cat/aliases_spec.rb +0 -36
  622. data/spec/elasticsearch/api/actions/cat/allocation_spec.rb +0 -36
  623. data/spec/elasticsearch/api/actions/cat/component_templates_spec.rb +0 -58
  624. data/spec/elasticsearch/api/actions/cat/count_spec.rb +0 -36
  625. data/spec/elasticsearch/api/actions/cat/fielddata_spec.rb +0 -54
  626. data/spec/elasticsearch/api/actions/cat/health_spec.rb +0 -36
  627. data/spec/elasticsearch/api/actions/cat/help_spec.rb +0 -36
  628. data/spec/elasticsearch/api/actions/cat/indices_spec.rb +0 -36
  629. data/spec/elasticsearch/api/actions/cat/master_spec.rb +0 -36
  630. data/spec/elasticsearch/api/actions/cat/nodeattrs_spec.rb +0 -36
  631. data/spec/elasticsearch/api/actions/cat/nodes_spec.rb +0 -36
  632. data/spec/elasticsearch/api/actions/cat/pending_tasks_spec.rb +0 -36
  633. data/spec/elasticsearch/api/actions/cat/plugins_spec.rb +0 -36
  634. data/spec/elasticsearch/api/actions/cat/recovery_spec.rb +0 -36
  635. data/spec/elasticsearch/api/actions/cat/repositories_spec.rb +0 -36
  636. data/spec/elasticsearch/api/actions/cat/segments_spec.rb +0 -61
  637. data/spec/elasticsearch/api/actions/cat/shards_spec.rb +0 -36
  638. data/spec/elasticsearch/api/actions/cat/snapshot_spec.rb +0 -36
  639. data/spec/elasticsearch/api/actions/cat/tasks_spec.rb +0 -36
  640. data/spec/elasticsearch/api/actions/cat/templates_spec.rb +0 -36
  641. data/spec/elasticsearch/api/actions/cat/thread_pool_spec.rb +0 -36
  642. data/spec/elasticsearch/api/actions/clear_scroll_spec.rb +0 -54
  643. data/spec/elasticsearch/api/actions/close_point_in_time_spec.rb +0 -35
  644. data/spec/elasticsearch/api/actions/cluster/allocation_explain_spec.rb +0 -36
  645. data/spec/elasticsearch/api/actions/cluster/get_settings_spec.rb +0 -36
  646. data/spec/elasticsearch/api/actions/cluster/health_spec.rb +0 -72
  647. data/spec/elasticsearch/api/actions/cluster/info_spec.rb +0 -36
  648. data/spec/elasticsearch/api/actions/cluster/pending_tasks_spec.rb +0 -36
  649. data/spec/elasticsearch/api/actions/cluster/put_settings_spec.rb +0 -36
  650. data/spec/elasticsearch/api/actions/cluster/remote_info_spec.rb +0 -36
  651. data/spec/elasticsearch/api/actions/cluster/reroute_spec.rb +0 -54
  652. data/spec/elasticsearch/api/actions/cluster/state_spec.rb +0 -54
  653. data/spec/elasticsearch/api/actions/cluster/stats_spec.rb +0 -36
  654. data/spec/elasticsearch/api/actions/connector/check_in_spec.rb +0 -38
  655. data/spec/elasticsearch/api/actions/connector/delete_spec.rb +0 -38
  656. data/spec/elasticsearch/api/actions/connector/get_spec.rb +0 -38
  657. data/spec/elasticsearch/api/actions/connector/list_spec.rb +0 -35
  658. data/spec/elasticsearch/api/actions/connector/post_spec.rb +0 -35
  659. data/spec/elasticsearch/api/actions/connector/put_spec.rb +0 -43
  660. data/spec/elasticsearch/api/actions/connector/sync_job_claim_spec.rb +0 -40
  661. data/spec/elasticsearch/api/actions/connector/update_active_filtering_spec.rb +0 -38
  662. data/spec/elasticsearch/api/actions/connector/update_api_key_id_spec.rb +0 -38
  663. data/spec/elasticsearch/api/actions/connector/update_configuration_spec.rb +0 -38
  664. data/spec/elasticsearch/api/actions/connector/update_error_spec.rb +0 -38
  665. data/spec/elasticsearch/api/actions/connector/update_features_spec.rb +0 -38
  666. data/spec/elasticsearch/api/actions/connector/update_filtering_spec.rb +0 -38
  667. data/spec/elasticsearch/api/actions/connector/update_filtering_validation_spec.rb +0 -38
  668. data/spec/elasticsearch/api/actions/connector/update_index_name_spec.rb +0 -38
  669. data/spec/elasticsearch/api/actions/connector/update_name_spec.rb +0 -38
  670. data/spec/elasticsearch/api/actions/connector/update_native_spec.rb +0 -38
  671. data/spec/elasticsearch/api/actions/connector/update_pipeline_spec.rb +0 -38
  672. data/spec/elasticsearch/api/actions/connector/update_scheduling_spec.rb +0 -42
  673. data/spec/elasticsearch/api/actions/connector/update_service_type_spec.rb +0 -38
  674. data/spec/elasticsearch/api/actions/connector/update_status_spec.rb +0 -38
  675. data/spec/elasticsearch/api/actions/connector_secret/delete_spec.rb +0 -35
  676. data/spec/elasticsearch/api/actions/connector_secret/get_spec.rb +0 -35
  677. data/spec/elasticsearch/api/actions/connector_secret/post_spec.rb +0 -35
  678. data/spec/elasticsearch/api/actions/connector_secret/put_spec.rb +0 -35
  679. data/spec/elasticsearch/api/actions/connector_sync_job/cancel_spec.rb +0 -38
  680. data/spec/elasticsearch/api/actions/connector_sync_job/check_in_spec.rb +0 -38
  681. data/spec/elasticsearch/api/actions/connector_sync_job/delete_spec.rb +0 -38
  682. data/spec/elasticsearch/api/actions/connector_sync_job/error_spec.rb +0 -38
  683. data/spec/elasticsearch/api/actions/connector_sync_job/get_spec.rb +0 -38
  684. data/spec/elasticsearch/api/actions/connector_sync_job/list_spec.rb +0 -35
  685. data/spec/elasticsearch/api/actions/connector_sync_job/post_spec.rb +0 -35
  686. data/spec/elasticsearch/api/actions/connector_sync_job/update_stats_spec.rb +0 -38
  687. data/spec/elasticsearch/api/actions/count_spec.rb +0 -69
  688. data/spec/elasticsearch/api/actions/create_document_spec.rb +0 -120
  689. data/spec/elasticsearch/api/actions/dangling_indices/delete_dangling_indices_spec.rb +0 -49
  690. data/spec/elasticsearch/api/actions/dangling_indices/import_dangling_indices_spec.rb +0 -49
  691. data/spec/elasticsearch/api/actions/dangling_indices/list_dangling_indices_spec.rb +0 -37
  692. data/spec/elasticsearch/api/actions/data_frame/update_data_frame_transform_spec.rb +0 -82
  693. data/spec/elasticsearch/api/actions/delete_by_query_spec.rb +0 -65
  694. data/spec/elasticsearch/api/actions/delete_document_spec.rb +0 -101
  695. data/spec/elasticsearch/api/actions/delete_script_spec.rb +0 -38
  696. data/spec/elasticsearch/api/actions/esql/async_query_delete_spec.rb +0 -35
  697. data/spec/elasticsearch/api/actions/esql/async_query_get._spec.rb +0 -35
  698. data/spec/elasticsearch/api/actions/esql/async_query_spec.rb +0 -35
  699. data/spec/elasticsearch/api/actions/esql/async_query_stop_spec.rb +0 -35
  700. data/spec/elasticsearch/api/actions/esql/query_spec.rb +0 -35
  701. data/spec/elasticsearch/api/actions/exists_document_spec.rb +0 -117
  702. data/spec/elasticsearch/api/actions/explain_document_spec.rb +0 -133
  703. data/spec/elasticsearch/api/actions/features/get_features_spec.rb +0 -39
  704. data/spec/elasticsearch/api/actions/features/reset_features_spec.rb +0 -39
  705. data/spec/elasticsearch/api/actions/field_caps_spec.rb +0 -36
  706. data/spec/elasticsearch/api/actions/fleet/global_checkpoints_spec.rb +0 -45
  707. data/spec/elasticsearch/api/actions/fleet/msearch_spec.rb +0 -45
  708. data/spec/elasticsearch/api/actions/fleet/search_spec.rb +0 -35
  709. data/spec/elasticsearch/api/actions/get_document_source_spec.rb +0 -101
  710. data/spec/elasticsearch/api/actions/get_document_spec.rb +0 -111
  711. data/spec/elasticsearch/api/actions/get_script_spec.rb +0 -51
  712. data/spec/elasticsearch/api/actions/hashie_spec.rb +0 -89
  713. data/spec/elasticsearch/api/actions/health_report_spec.rb +0 -52
  714. data/spec/elasticsearch/api/actions/index_document_spec.rb +0 -142
  715. data/spec/elasticsearch/api/actions/index_lifecycle_management/migrate_to_data_tiers_spec.rb +0 -37
  716. data/spec/elasticsearch/api/actions/indices/add_block_spec.rb +0 -65
  717. data/spec/elasticsearch/api/actions/indices/analyze_spec.rb +0 -80
  718. data/spec/elasticsearch/api/actions/indices/cancel_migrate_reindex_spec.rb +0 -35
  719. data/spec/elasticsearch/api/actions/indices/clear_cache_spec.rb +0 -103
  720. data/spec/elasticsearch/api/actions/indices/clone_spec.rb +0 -124
  721. data/spec/elasticsearch/api/actions/indices/close_spec.rb +0 -97
  722. data/spec/elasticsearch/api/actions/indices/create_from_spec.rb +0 -35
  723. data/spec/elasticsearch/api/actions/indices/create_spec.rb +0 -97
  724. data/spec/elasticsearch/api/actions/indices/data_streams_stats_spec.rb +0 -70
  725. data/spec/elasticsearch/api/actions/indices/delete_alias_spec.rb +0 -97
  726. data/spec/elasticsearch/api/actions/indices/delete_data_lifecycle_spec.rb +0 -35
  727. data/spec/elasticsearch/api/actions/indices/delete_data_stream_options_spec.rb +0 -37
  728. data/spec/elasticsearch/api/actions/indices/delete_spec.rb +0 -131
  729. data/spec/elasticsearch/api/actions/indices/delete_template_spec.rb +0 -98
  730. data/spec/elasticsearch/api/actions/indices/disk_usage_spec.rb +0 -49
  731. data/spec/elasticsearch/api/actions/indices/exists_alias_spec.rb +0 -133
  732. data/spec/elasticsearch/api/actions/indices/exists_spec.rb +0 -131
  733. data/spec/elasticsearch/api/actions/indices/exists_template_spec.rb +0 -105
  734. data/spec/elasticsearch/api/actions/indices/explain_data_lifecycle_spec.rb +0 -36
  735. data/spec/elasticsearch/api/actions/indices/field_usage_stats_spec.rb +0 -47
  736. data/spec/elasticsearch/api/actions/indices/flush_spec.rb +0 -136
  737. data/spec/elasticsearch/api/actions/indices/forcemerge_spec.rb +0 -36
  738. data/spec/elasticsearch/api/actions/indices/get_alias_spec.rb +0 -85
  739. data/spec/elasticsearch/api/actions/indices/get_data_lifecycle_spec.rb +0 -35
  740. data/spec/elasticsearch/api/actions/indices/get_data_lifecycle_stats_spec.rb +0 -35
  741. data/spec/elasticsearch/api/actions/indices/get_data_stream_options_spec.rb +0 -37
  742. data/spec/elasticsearch/api/actions/indices/get_data_stream_settings_spec.rb +0 -37
  743. data/spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb +0 -62
  744. data/spec/elasticsearch/api/actions/indices/get_mapping_spec.rb +0 -102
  745. data/spec/elasticsearch/api/actions/indices/get_migrate_reindex_status_spec.rb +0 -35
  746. data/spec/elasticsearch/api/actions/indices/get_settings_spec.rb +0 -106
  747. data/spec/elasticsearch/api/actions/indices/get_spec.rb +0 -55
  748. data/spec/elasticsearch/api/actions/indices/migrate_reindex_spec.rb +0 -35
  749. data/spec/elasticsearch/api/actions/indices/open_spec.rb +0 -77
  750. data/spec/elasticsearch/api/actions/indices/put_alias_spec.rb +0 -115
  751. data/spec/elasticsearch/api/actions/indices/put_data_lifecycle_spec.rb +0 -35
  752. data/spec/elasticsearch/api/actions/indices/put_data_stream_options_spec.rb +0 -35
  753. data/spec/elasticsearch/api/actions/indices/put_data_stream_settings_spec.rb +0 -35
  754. data/spec/elasticsearch/api/actions/indices/put_mapping_spec.rb +0 -119
  755. data/spec/elasticsearch/api/actions/indices/put_settings_spec.rb +0 -153
  756. data/spec/elasticsearch/api/actions/indices/put_template_spec.rb +0 -119
  757. data/spec/elasticsearch/api/actions/indices/recovery_spec.rb +0 -36
  758. data/spec/elasticsearch/api/actions/indices/refresh_spec.rb +0 -136
  759. data/spec/elasticsearch/api/actions/indices/resolve_cluster_spec.rb +0 -56
  760. data/spec/elasticsearch/api/actions/indices/rollover_spec.rb +0 -70
  761. data/spec/elasticsearch/api/actions/indices/segments_spec.rb +0 -136
  762. data/spec/elasticsearch/api/actions/indices/shard_stores_spec.rb +0 -36
  763. data/spec/elasticsearch/api/actions/indices/shrink_spec.rb +0 -44
  764. data/spec/elasticsearch/api/actions/indices/split_spec.rb +0 -37
  765. data/spec/elasticsearch/api/actions/indices/stats_spec.rb +0 -186
  766. data/spec/elasticsearch/api/actions/indices/unfreeze_spec.rb +0 -97
  767. data/spec/elasticsearch/api/actions/indices/update_aliases_spec.rb +0 -68
  768. data/spec/elasticsearch/api/actions/indices/validate_query_spec.rb +0 -180
  769. data/spec/elasticsearch/api/actions/inference/chat_completion_unified_spec.rb +0 -36
  770. data/spec/elasticsearch/api/actions/inference/completion_spec.rb +0 -36
  771. data/spec/elasticsearch/api/actions/inference/delete_spec.rb +0 -36
  772. data/spec/elasticsearch/api/actions/inference/get_spec.rb +0 -36
  773. data/spec/elasticsearch/api/actions/inference/inference_spec.rb +0 -36
  774. data/spec/elasticsearch/api/actions/inference/put_alibabacloud_spec.rb +0 -36
  775. data/spec/elasticsearch/api/actions/inference/put_amazonbedrock_spec.rb +0 -36
  776. data/spec/elasticsearch/api/actions/inference/put_amazonsagemaker_spec.rb +0 -36
  777. data/spec/elasticsearch/api/actions/inference/put_anthropic_spec.rb +0 -36
  778. data/spec/elasticsearch/api/actions/inference/put_azureaistudio_spec.rb +0 -36
  779. data/spec/elasticsearch/api/actions/inference/put_azureopenai_spec.rb +0 -36
  780. data/spec/elasticsearch/api/actions/inference/put_cohere_spec.rb +0 -36
  781. data/spec/elasticsearch/api/actions/inference/put_custom_spec.rb +0 -36
  782. data/spec/elasticsearch/api/actions/inference/put_deepseek_spec.rb +0 -36
  783. data/spec/elasticsearch/api/actions/inference/put_elasticsearch_spec.rb +0 -36
  784. data/spec/elasticsearch/api/actions/inference/put_elser_spec.rb +0 -36
  785. data/spec/elasticsearch/api/actions/inference/put_googleaistudio_spec.rb +0 -36
  786. data/spec/elasticsearch/api/actions/inference/put_googlevertexai_spec.rb +0 -36
  787. data/spec/elasticsearch/api/actions/inference/put_huggingface_spec.rb +0 -36
  788. data/spec/elasticsearch/api/actions/inference/put_jinaai_spec.rb +0 -36
  789. data/spec/elasticsearch/api/actions/inference/put_mistral_spec.rb +0 -36
  790. data/spec/elasticsearch/api/actions/inference/put_openai_spec.rb +0 -36
  791. data/spec/elasticsearch/api/actions/inference/put_spec.rb +0 -36
  792. data/spec/elasticsearch/api/actions/inference/put_voyageai_spec.rb +0 -36
  793. data/spec/elasticsearch/api/actions/inference/put_watsonx_spec.rb +0 -36
  794. data/spec/elasticsearch/api/actions/inference/rerank_spec.rb +0 -35
  795. data/spec/elasticsearch/api/actions/inference/sparse_embedding_spec.rb +0 -35
  796. data/spec/elasticsearch/api/actions/inference/stream_completion_spec.rb +0 -35
  797. data/spec/elasticsearch/api/actions/inference/text_embedding_spec.rb +0 -35
  798. data/spec/elasticsearch/api/actions/inference/update_spec.rb +0 -36
  799. data/spec/elasticsearch/api/actions/info_spec.rb +0 -36
  800. data/spec/elasticsearch/api/actions/ingest/delete_geoip_database_spec.rb +0 -39
  801. data/spec/elasticsearch/api/actions/ingest/delete_ip_location_database_spec.rb +0 -39
  802. data/spec/elasticsearch/api/actions/ingest/delete_pipeline_spec.rb +0 -72
  803. data/spec/elasticsearch/api/actions/ingest/geo_ip_stats_spec.rb +0 -39
  804. data/spec/elasticsearch/api/actions/ingest/get_geoip_database_spec.rb +0 -39
  805. data/spec/elasticsearch/api/actions/ingest/get_ip_location_database_spec.rb +0 -39
  806. data/spec/elasticsearch/api/actions/ingest/get_pipeline_spec.rb +0 -62
  807. data/spec/elasticsearch/api/actions/ingest/put_geoip_database_spec.rb +0 -45
  808. data/spec/elasticsearch/api/actions/ingest/put_ip_location_database_spec.rb +0 -45
  809. data/spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb +0 -72
  810. data/spec/elasticsearch/api/actions/ingest/simulate_spec.rb +0 -61
  811. data/spec/elasticsearch/api/actions/json_builders_spec.rb +0 -86
  812. data/spec/elasticsearch/api/actions/machine_learning/get_memory_stats_spec.rb +0 -59
  813. data/spec/elasticsearch/api/actions/machine_learning/get_model_snapshot_upgrade_stats_spec.rb +0 -60
  814. data/spec/elasticsearch/api/actions/machine_learning/infer_trained_model_deployment_spec.rb +0 -47
  815. data/spec/elasticsearch/api/actions/machine_learning/put_trained_model_definition_part_spec.rb +0 -64
  816. data/spec/elasticsearch/api/actions/machine_learning/put_trained_model_vocabulary_spec.rb +0 -56
  817. data/spec/elasticsearch/api/actions/machine_learning/reset_job_spec.rb +0 -47
  818. data/spec/elasticsearch/api/actions/machine_learning/set_upgrade_mode_spec.rb +0 -53
  819. data/spec/elasticsearch/api/actions/machine_learning/start_trained_model_deployment_spec.rb +0 -48
  820. data/spec/elasticsearch/api/actions/machine_learning/stop_trained_model_deployment_spec.rb +0 -48
  821. data/spec/elasticsearch/api/actions/machine_learning/update_trained_model_deployment_spec.rb +0 -36
  822. data/spec/elasticsearch/api/actions/mget_spec.rb +0 -110
  823. data/spec/elasticsearch/api/actions/migration/get_feature_upgrade_status_spec.rb +0 -35
  824. data/spec/elasticsearch/api/actions/migration/post_feature_upgrade_spec.rb +0 -35
  825. data/spec/elasticsearch/api/actions/msearch_spec.rb +0 -187
  826. data/spec/elasticsearch/api/actions/msearch_template_spec.rb +0 -105
  827. data/spec/elasticsearch/api/actions/mtermvectors_spec.rb +0 -45
  828. data/spec/elasticsearch/api/actions/nodes/clear_repositories_metering_archive_spec.rb +0 -53
  829. data/spec/elasticsearch/api/actions/nodes/get_repositories_metering_info_spec.rb +0 -46
  830. data/spec/elasticsearch/api/actions/nodes/hot_threads_spec.rb +0 -84
  831. data/spec/elasticsearch/api/actions/nodes/info_spec.rb +0 -147
  832. data/spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb +0 -118
  833. data/spec/elasticsearch/api/actions/nodes/stats_spec.rb +0 -110
  834. data/spec/elasticsearch/api/actions/open_point_in_time_spec.rb +0 -35
  835. data/spec/elasticsearch/api/actions/ping_spec.rb +0 -77
  836. data/spec/elasticsearch/api/actions/profiling/flamegraph_spec.rb +0 -35
  837. data/spec/elasticsearch/api/actions/profiling/stacktraces_spec.rb +0 -35
  838. data/spec/elasticsearch/api/actions/profiling/status_spec.rb +0 -36
  839. data/spec/elasticsearch/api/actions/profiling/topn_functions_spec.rb +0 -35
  840. data/spec/elasticsearch/api/actions/put_script_spec.rb +0 -58
  841. data/spec/elasticsearch/api/actions/query_rules/delete_ruleset_spec.rb +0 -36
  842. data/spec/elasticsearch/api/actions/query_rules/delete_spec.rb +0 -35
  843. data/spec/elasticsearch/api/actions/query_rules/get_ruleset_spec.rb +0 -35
  844. data/spec/elasticsearch/api/actions/query_rules/get_spec.rb +0 -35
  845. data/spec/elasticsearch/api/actions/query_rules/put_ruleset_spec.rb +0 -35
  846. data/spec/elasticsearch/api/actions/query_rules/put_spec.rb +0 -35
  847. data/spec/elasticsearch/api/actions/query_rules/test_spec.rb +0 -35
  848. data/spec/elasticsearch/api/actions/rank_eval_spec.rb +0 -139
  849. data/spec/elasticsearch/api/actions/reindex_spec.rb +0 -36
  850. data/spec/elasticsearch/api/actions/render_search_template_spec.rb +0 -54
  851. data/spec/elasticsearch/api/actions/scroll_spec.rb +0 -54
  852. data/spec/elasticsearch/api/actions/search_application/delete_behavioral_analytics_spec.rb +0 -36
  853. data/spec/elasticsearch/api/actions/search_application/delete_spec.rb +0 -35
  854. data/spec/elasticsearch/api/actions/search_application/get_behavioral_analytics_spec.rb +0 -35
  855. data/spec/elasticsearch/api/actions/search_application/get_spec.rb +0 -35
  856. data/spec/elasticsearch/api/actions/search_application/list_spec.rb +0 -35
  857. data/spec/elasticsearch/api/actions/search_application/post_behavioral_analytics_event_spec.rb +0 -40
  858. data/spec/elasticsearch/api/actions/search_application/put_behavioral_analytics_spec.rb +0 -36
  859. data/spec/elasticsearch/api/actions/search_application/put_spec.rb +0 -35
  860. data/spec/elasticsearch/api/actions/search_application/render_query_spec.rb +0 -36
  861. data/spec/elasticsearch/api/actions/search_application/search_spec.rb +0 -35
  862. data/spec/elasticsearch/api/actions/search_mvt_spec.rb +0 -55
  863. data/spec/elasticsearch/api/actions/search_shards_spec.rb +0 -36
  864. data/spec/elasticsearch/api/actions/search_spec.rb +0 -119
  865. data/spec/elasticsearch/api/actions/search_template_spec.rb +0 -35
  866. data/spec/elasticsearch/api/actions/searchable_snapshots/cache_stats_spec.rb +0 -56
  867. data/spec/elasticsearch/api/actions/searchable_snapshots/clear_cache_spec.rb +0 -57
  868. data/spec/elasticsearch/api/actions/searchable_snapshots/mount_spec.rb +0 -58
  869. data/spec/elasticsearch/api/actions/searchable_snapshots/stats_spec.rb +0 -57
  870. data/spec/elasticsearch/api/actions/security/bulk_delete_role_spec.rb +0 -35
  871. data/spec/elasticsearch/api/actions/security/bulk_put_role_spec.rb +0 -35
  872. data/spec/elasticsearch/api/actions/security/clear_cached_service_tokens_spec.rb +0 -60
  873. data/spec/elasticsearch/api/actions/security/create_api_key_spec.rb +0 -81
  874. data/spec/elasticsearch/api/actions/security/create_cross_cluster_api_key_spec.rb +0 -36
  875. data/spec/elasticsearch/api/actions/security/create_service_token_spec.rb +0 -83
  876. data/spec/elasticsearch/api/actions/security/delegate_pki_spec.rb +0 -39
  877. data/spec/elasticsearch/api/actions/security/delete_service_token_spec.rb +0 -62
  878. data/spec/elasticsearch/api/actions/security/disable_user_profile_spec.rb +0 -35
  879. data/spec/elasticsearch/api/actions/security/enable_user_profile_spec.rb +0 -35
  880. data/spec/elasticsearch/api/actions/security/enroll_kibana_spec.rb +0 -35
  881. data/spec/elasticsearch/api/actions/security/get_api_key_spec.rb +0 -57
  882. data/spec/elasticsearch/api/actions/security/get_builtin_privileges_spec.rb +0 -36
  883. data/spec/elasticsearch/api/actions/security/get_service_accounts_spec.rb +0 -83
  884. data/spec/elasticsearch/api/actions/security/get_service_credentials_spec.rb +0 -55
  885. data/spec/elasticsearch/api/actions/security/has_privileges_user_profile_spec.rb +0 -35
  886. data/spec/elasticsearch/api/actions/security/invalidate_api_key_spec.rb +0 -39
  887. data/spec/elasticsearch/api/actions/security/query_api_keys_spec.rb +0 -49
  888. data/spec/elasticsearch/api/actions/security/query_role_spec.rb +0 -35
  889. data/spec/elasticsearch/api/actions/security/query_user_spec.rb +0 -49
  890. data/spec/elasticsearch/api/actions/security/saml_authenticate_spec.rb +0 -45
  891. data/spec/elasticsearch/api/actions/security/saml_complete_logout_spec.rb +0 -45
  892. data/spec/elasticsearch/api/actions/security/saml_invalidate_spec.rb +0 -45
  893. data/spec/elasticsearch/api/actions/security/saml_logout_spec.rb +0 -45
  894. data/spec/elasticsearch/api/actions/security/saml_prepare_authentication_spec.rb +0 -45
  895. data/spec/elasticsearch/api/actions/security/saml_service_provider_metadata_spec.rb +0 -48
  896. data/spec/elasticsearch/api/actions/security/suggest_user_profiles_spec.rb +0 -46
  897. data/spec/elasticsearch/api/actions/security/update_api_key_spec.rb +0 -35
  898. data/spec/elasticsearch/api/actions/security/update_cross_cluster_api_key_spec.rb +0 -37
  899. data/spec/elasticsearch/api/actions/shutdown/delete_node_spec.rb +0 -45
  900. data/spec/elasticsearch/api/actions/shutdown/get_node_spec.rb +0 -58
  901. data/spec/elasticsearch/api/actions/shutdown/put_node_spec.rb +0 -51
  902. data/spec/elasticsearch/api/actions/simulate/ingest_spec.rb +0 -35
  903. data/spec/elasticsearch/api/actions/snapshot/clone_spec.rb +0 -70
  904. data/spec/elasticsearch/api/actions/snapshot/create_repository_spec.rb +0 -53
  905. data/spec/elasticsearch/api/actions/snapshot/create_spec.rb +0 -53
  906. data/spec/elasticsearch/api/actions/snapshot/delete_repository_spec.rb +0 -64
  907. data/spec/elasticsearch/api/actions/snapshot/delete_spec.rb +0 -53
  908. data/spec/elasticsearch/api/actions/snapshot/get_repository_spec.rb +0 -36
  909. data/spec/elasticsearch/api/actions/snapshot/get_spec.rb +0 -53
  910. data/spec/elasticsearch/api/actions/snapshot/repository_analize_spec.rb +0 -48
  911. data/spec/elasticsearch/api/actions/snapshot/restore_spec.rb +0 -50
  912. data/spec/elasticsearch/api/actions/snapshot/status_spec.rb +0 -61
  913. data/spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb +0 -36
  914. data/spec/elasticsearch/api/actions/sql/delete_async_spec.rb +0 -47
  915. data/spec/elasticsearch/api/actions/sql/get_async_spec.rb +0 -47
  916. data/spec/elasticsearch/api/actions/sql/get_async_stats_spec.rb +0 -47
  917. data/spec/elasticsearch/api/actions/tasks/cancel_spec.rb +0 -61
  918. data/spec/elasticsearch/api/actions/tasks/get_spec.rb +0 -36
  919. data/spec/elasticsearch/api/actions/tasks/list_spec.rb +0 -39
  920. data/spec/elasticsearch/api/actions/terms_enum_spec.rb +0 -39
  921. data/spec/elasticsearch/api/actions/termvectors_spec.rb +0 -78
  922. data/spec/elasticsearch/api/actions/text_structure/find_field_structure_spec.rb +0 -35
  923. data/spec/elasticsearch/api/actions/text_structure/find_message_structure_spec.rb +0 -35
  924. data/spec/elasticsearch/api/actions/text_structure/find_structure_spec.rb +0 -35
  925. data/spec/elasticsearch/api/actions/text_structure/test_grok_pattern_spec.rb +0 -35
  926. data/spec/elasticsearch/api/actions/transform/get_node_stats_spec.rb +0 -35
  927. data/spec/elasticsearch/api/actions/transform/schedule_now_transform_spec.rb +0 -36
  928. data/spec/elasticsearch/api/actions/transform/set_upgrade_mode_spec.rb +0 -35
  929. data/spec/elasticsearch/api/actions/update_by_query_spec.rb +0 -35
  930. data/spec/elasticsearch/api/actions/update_document_spec.rb +0 -120
  931. data/spec/elasticsearch/api/actions/watcher/get_settings_spec.rb +0 -35
  932. data/spec/elasticsearch/api/actions/watcher/update_settings_spec.rb +0 -47
  933. data/spec/elasticsearch/api/api_response_spec.rb +0 -65
  934. data/spec/elasticsearch/api/api_spec.rb +0 -40
  935. data/spec/elasticsearch/api/client_spec.rb +0 -42
  936. data/spec/elasticsearch/api/perform_request_spec.rb +0 -100
  937. data/spec/elasticsearch/api/utils_spec.rb +0 -355
  938. data/spec/free/integration/capabilities_spec.rb +0 -26
  939. data/spec/free/integration/health_spec.rb +0 -28
  940. data/spec/free/integration/spec_helper.rb +0 -28
  941. data/spec/platinum/integration/analytics/usage_spec.rb +0 -56
  942. data/spec/platinum/integration/api_key/admin_user_query_api_keys_spec.rb +0 -111
  943. data/spec/platinum/integration/api_key/api_key_admin_user_spec.rb +0 -127
  944. data/spec/platinum/integration/api_key/api_key_cross_cluster_spec.rb +0 -113
  945. data/spec/platinum/integration/api_key/api_key_invalidation_spec.rb +0 -105
  946. data/spec/platinum/integration/api_key/api_key_query_spec.rb +0 -149
  947. data/spec/platinum/integration/api_key/api_key_query_with_aggs_spec.rb +0 -120
  948. data/spec/platinum/integration/api_key/api_key_spec.rb +0 -156
  949. data/spec/platinum/integration/api_key/api_key_update_spec.rb +0 -134
  950. data/spec/platinum/integration/eql/eql_async_spec.rb +0 -72
  951. data/spec/platinum/integration/health/health_spec.rb +0 -49
  952. data/spec/platinum/integration/ml/get_memory_stats_spec.rb +0 -47
  953. data/spec/platinum/integration/platinum_helper.rb +0 -42
  954. data/spec/platinum/integration/security/users_query_spec.rb +0 -49
  955. data/spec/platinum/integration/service_accounts/service_accounts_spec.rb +0 -65
  956. data/spec/platinum/integration/snapshots/snapshots_spec.rb +0 -84
  957. data/spec/platinum/integration/spatial/script_doc_values_spec.rb +0 -147
  958. data/spec/platinum/integration/token/token_spec.rb +0 -94
  959. data/spec/platinum/unit/async_search/delete_test.rb +0 -39
  960. data/spec/platinum/unit/async_search/get_test.rb +0 -39
  961. data/spec/platinum/unit/async_search/status_test.rb +0 -39
  962. data/spec/platinum/unit/async_search/submit_test.rb +0 -50
  963. data/spec/platinum/unit/autoscaling/delete_autoscaling_policy_test.rb +0 -46
  964. data/spec/platinum/unit/autoscaling/get_autoscaling_capacity_test.rb +0 -40
  965. data/spec/platinum/unit/autoscaling/get_autoscaling_policy_test.rb +0 -46
  966. data/spec/platinum/unit/autoscaling/put_autoscaling_policy_test.rb +0 -52
  967. data/spec/platinum/unit/enrich/delete_policy_test.rb +0 -43
  968. data/spec/platinum/unit/eql/delete_test.rb +0 -46
  969. data/spec/platinum/unit/eql/get_status_test.rb +0 -46
  970. data/spec/platinum/unit/eql/get_test.rb +0 -46
  971. data/spec/platinum/unit/eql/search_test.rb +0 -52
  972. data/spec/platinum/unit/graph/explore_test.rb +0 -43
  973. data/spec/platinum/unit/index_lifecycle_management/explain_test.rb +0 -43
  974. data/spec/platinum/unit/index_lifecycle_management/get_status_test.rb +0 -43
  975. data/spec/platinum/unit/index_lifecycle_management/move_to_step.rb +0 -43
  976. data/spec/platinum/unit/index_lifecycle_management/remove_policy_test.rb +0 -43
  977. data/spec/platinum/unit/index_lifecycle_management/retry_policy_test.rb +0 -43
  978. data/spec/platinum/unit/index_lifecycle_management/start_test.rb +0 -43
  979. data/spec/platinum/unit/index_lifecycle_management/stop_test.rb +0 -43
  980. data/spec/platinum/unit/indices/create_data_stream_test.rb +0 -46
  981. data/spec/platinum/unit/indices/data_stream_stats_test.rb +0 -54
  982. data/spec/platinum/unit/indices/delete_data_stream_test.rb +0 -46
  983. data/spec/platinum/unit/indices/downsample_test.rb +0 -58
  984. data/spec/platinum/unit/indices/get_data_stream_test.rb +0 -50
  985. data/spec/platinum/unit/indices/migrate_to_data_stream_test.rb +0 -46
  986. data/spec/platinum/unit/indices/modify_data_stream_test.rb +0 -46
  987. data/spec/platinum/unit/indices/promote_data_stream_test.rb +0 -46
  988. data/spec/platinum/unit/info_test.rb +0 -40
  989. data/spec/platinum/unit/knn_search_test.rb +0 -39
  990. data/spec/platinum/unit/license/delete_test.rb +0 -43
  991. data/spec/platinum/unit/license/get_test.rb +0 -43
  992. data/spec/platinum/unit/license/post_test.rb +0 -43
  993. data/spec/platinum/unit/logstash/delete_pipeline_test.rb +0 -46
  994. data/spec/platinum/unit/logstash/get_pipeline_test.rb +0 -46
  995. data/spec/platinum/unit/logstash/put_pipeline_test.rb +0 -46
  996. data/spec/platinum/unit/machine_learning/clear_trained_model_deployment_cache_test.rb +0 -40
  997. data/spec/platinum/unit/machine_learning/close_job_test.rb +0 -43
  998. data/spec/platinum/unit/machine_learning/delete_datafeed_test.rb +0 -43
  999. data/spec/platinum/unit/machine_learning/delete_expired_data_test.rb +0 -43
  1000. data/spec/platinum/unit/machine_learning/delete_filter_test.rb +0 -43
  1001. data/spec/platinum/unit/machine_learning/delete_forecast_test.rb +0 -43
  1002. data/spec/platinum/unit/machine_learning/delete_job_test.rb +0 -43
  1003. data/spec/platinum/unit/machine_learning/delete_model_alias_test.rb +0 -40
  1004. data/spec/platinum/unit/machine_learning/delete_model_snapshot_test.rb +0 -43
  1005. data/spec/platinum/unit/machine_learning/flush_job_test.rb +0 -43
  1006. data/spec/platinum/unit/machine_learning/forecast_test.rb +0 -43
  1007. data/spec/platinum/unit/machine_learning/get_buckets_test.rb +0 -43
  1008. data/spec/platinum/unit/machine_learning/get_categories_test.rb +0 -43
  1009. data/spec/platinum/unit/machine_learning/get_datafeed_stats_test.rb +0 -43
  1010. data/spec/platinum/unit/machine_learning/get_datafeeds_test.rb +0 -43
  1011. data/spec/platinum/unit/machine_learning/get_filters_test.rb +0 -43
  1012. data/spec/platinum/unit/machine_learning/get_influencers_test.rb +0 -43
  1013. data/spec/platinum/unit/machine_learning/get_job_stats_test.rb +0 -43
  1014. data/spec/platinum/unit/machine_learning/get_jobs_test.rb +0 -43
  1015. data/spec/platinum/unit/machine_learning/get_model_snapshots_test.rb +0 -43
  1016. data/spec/platinum/unit/machine_learning/get_overall_buckets_test.rb +0 -43
  1017. data/spec/platinum/unit/machine_learning/get_records_test.rb +0 -43
  1018. data/spec/platinum/unit/machine_learning/open_job_test.rb +0 -43
  1019. data/spec/platinum/unit/machine_learning/post_data_test.rb +0 -43
  1020. data/spec/platinum/unit/machine_learning/preview_data_frame_analytics_test.rb +0 -64
  1021. data/spec/platinum/unit/machine_learning/preview_datafeed_test.rb +0 -43
  1022. data/spec/platinum/unit/machine_learning/put_datafeed_test.rb +0 -43
  1023. data/spec/platinum/unit/machine_learning/put_filter_test.rb +0 -43
  1024. data/spec/platinum/unit/machine_learning/put_job_test.rb +0 -43
  1025. data/spec/platinum/unit/machine_learning/put_trained_model_alias_test.rb +0 -40
  1026. data/spec/platinum/unit/machine_learning/revert_model_snapshot_test.rb +0 -43
  1027. data/spec/platinum/unit/machine_learning/start_datafeed_test.rb +0 -43
  1028. data/spec/platinum/unit/machine_learning/stop_datafeed_test.rb +0 -43
  1029. data/spec/platinum/unit/machine_learning/update_data_frame_analytics_test.rb +0 -40
  1030. data/spec/platinum/unit/machine_learning/update_datafeed_test.rb +0 -43
  1031. data/spec/platinum/unit/machine_learning/update_filter_test.rb +0 -43
  1032. data/spec/platinum/unit/machine_learning/update_job_test.rb +0 -43
  1033. data/spec/platinum/unit/machine_learning/update_model_snapshot_test.rb +0 -43
  1034. data/spec/platinum/unit/machine_learning/upgrade_job_snapshot_test.rb +0 -43
  1035. data/spec/platinum/unit/machine_learning/validate_detector_test.rb +0 -43
  1036. data/spec/platinum/unit/machine_learning/validate_test.rb +0 -43
  1037. data/spec/platinum/unit/migration/deprecations_test.rb +0 -42
  1038. data/spec/platinum/unit/monitoring/bulk_test.rb +0 -43
  1039. data/spec/platinum/unit/rollup/get_rollup_index_caps_test.rb +0 -40
  1040. data/spec/platinum/unit/security/activate_user_profile_test.rb +0 -40
  1041. data/spec/platinum/unit/security/authenticate_test.rb +0 -43
  1042. data/spec/platinum/unit/security/bulk_update_api_key_test.rb +0 -40
  1043. data/spec/platinum/unit/security/change_password_test.rb +0 -55
  1044. data/spec/platinum/unit/security/clear_api_key_cache_test.rb +0 -40
  1045. data/spec/platinum/unit/security/clear_cached_privileges_test.rb +0 -40
  1046. data/spec/platinum/unit/security/clear_cached_realms_test.rb +0 -43
  1047. data/spec/platinum/unit/security/clear_cached_roles_test.rb +0 -43
  1048. data/spec/platinum/unit/security/delete_privileges_test.rb +0 -43
  1049. data/spec/platinum/unit/security/delete_role_mapping_test.rb +0 -43
  1050. data/spec/platinum/unit/security/delete_role_test.rb +0 -43
  1051. data/spec/platinum/unit/security/delete_user_test.rb +0 -43
  1052. data/spec/platinum/unit/security/disable_user_test.rb +0 -43
  1053. data/spec/platinum/unit/security/enable_user_test.rb +0 -43
  1054. data/spec/platinum/unit/security/get_privileges_test.rb +0 -78
  1055. data/spec/platinum/unit/security/get_role_mapping_test.rb +0 -54
  1056. data/spec/platinum/unit/security/get_role_test.rb +0 -62
  1057. data/spec/platinum/unit/security/get_token_test.rb +0 -43
  1058. data/spec/platinum/unit/security/get_user_privileges_test.rb +0 -43
  1059. data/spec/platinum/unit/security/get_user_profile_test.rb +0 -40
  1060. data/spec/platinum/unit/security/get_user_test.rb +0 -61
  1061. data/spec/platinum/unit/security/grant_api_key_test.rb +0 -41
  1062. data/spec/platinum/unit/security/has_privileges_test.rb +0 -55
  1063. data/spec/platinum/unit/security/invalidate_token_test.rb +0 -43
  1064. data/spec/platinum/unit/security/oidc_authenticate_test.rb +0 -40
  1065. data/spec/platinum/unit/security/oidc_logout_test.rb +0 -40
  1066. data/spec/platinum/unit/security/oidc_prepare_authentication_test.rb +0 -40
  1067. data/spec/platinum/unit/security/put_privileges_test.rb +0 -43
  1068. data/spec/platinum/unit/security/put_role_mapping_test.rb +0 -43
  1069. data/spec/platinum/unit/security/put_role_test.rb +0 -43
  1070. data/spec/platinum/unit/security/put_user_test.rb +0 -43
  1071. data/spec/platinum/unit/security/update_user_profile_data_test.rb +0 -40
  1072. data/spec/platinum/unit/ssl/certificates_test.rb +0 -43
  1073. data/spec/platinum/unit/test_helper.rb +0 -72
  1074. data/spec/platinum/unit/transform/reset_transform_spec.rb +0 -34
  1075. data/spec/platinum/unit/transform/upgrade_transforms_spec.rb +0 -34
  1076. data/spec/platinum/unit/usage_test.rb +0 -40
  1077. data/spec/platinum/unit/watcher/ack_watch_test.rb +0 -55
  1078. data/spec/platinum/unit/watcher/activate_watch_test.rb +0 -43
  1079. data/spec/platinum/unit/watcher/deactivate_watch_test.rb +0 -43
  1080. data/spec/platinum/unit/watcher/delete_watch_test.rb +0 -43
  1081. data/spec/platinum/unit/watcher/execute_watch_test.rb +0 -55
  1082. data/spec/platinum/unit/watcher/get_watch_test.rb +0 -43
  1083. data/spec/platinum/unit/watcher/put_watch_test.rb +0 -43
  1084. data/spec/platinum/unit/watcher/query_watches_test.rb +0 -52
  1085. data/spec/platinum/unit/watcher/start_test.rb +0 -41
  1086. data/spec/platinum/unit/watcher/stats_test.rb +0 -43
  1087. data/spec/platinum/unit/watcher/stop_test.rb +0 -43
  1088. data/spec/rest_api/rest_api_tests_helper.rb +0 -103
  1089. data/spec/rest_api/rest_api_yaml_spec.rb +0 -92
  1090. data/spec/rest_api/run_rspec_matchers.rb +0 -111
  1091. data/spec/rest_api/skipped_tests_free.yml +0 -263
  1092. data/spec/rest_api/skipped_tests_platinum.yml +0 -421
  1093. data/spec/rspec_formatter.rb +0 -31
  1094. data/spec/spec_helper.rb +0 -75
  1095. data/spec/unit/actions/async_search/delete_spec.rb +0 -35
  1096. data/spec/unit/actions/async_search/get_spec.rb +0 -35
  1097. data/spec/unit/actions/async_search/status_spec.rb +0 -34
  1098. data/spec/unit/actions/async_search/submit_spec.rb +0 -87
  1099. data/spec/yaml-test-runner/run.rb +0 -70
  1100. data/utils/Gemfile +0 -28
  1101. data/utils/README.md +0 -48
  1102. data/utils/Thorfile +0 -6
  1103. data/utils/thor/.rubocop.yml +0 -4
  1104. data/utils/thor/endpoint_spec.rb +0 -220
  1105. data/utils/thor/endpoint_specifics.rb +0 -158
  1106. data/utils/thor/generate_source.rb +0 -127
  1107. data/utils/thor/generator/build_hash_helper.rb +0 -64
  1108. data/utils/thor/generator/docs_helper.rb +0 -62
  1109. data/utils/thor/generator/files_helper.rb +0 -68
  1110. data/utils/thor/lister.rb +0 -57
  1111. data/utils/thor/templates/_body.erb +0 -34
  1112. data/utils/thor/templates/_documentation_top.erb +0 -56
  1113. data/utils/thor/templates/_method_setup.erb +0 -37
  1114. data/utils/thor/templates/_perform_request.erb +0 -50
  1115. data/utils/thor/templates/method.erb +0 -79
  1116. data/utils/thor/templates/test.erb +0 -43
  1117. data/utils/thor/templates/test_helper.rb +0 -83
@@ -15,24 +15,41 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module Indices
24
24
  module Actions
25
- # Create or update a legacy index template
25
+ # Create or update an index template.
26
+ # Index templates define settings, mappings, and aliases that can be applied automatically to new indices.
27
+ # Elasticsearch applies templates to new indices based on an index pattern that matches the index name.
28
+ # IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8.
29
+ # Composable templates always take precedence over legacy templates.
30
+ # If no composable template matches a new index, matching legacy templates are applied according to their order.
31
+ # Index templates are only applied during index creation.
32
+ # Changes to index templates do not affect existing indices.
33
+ # Settings and mappings specified in create index API requests override any settings or mappings specified in an index template.
34
+ # You can use C-style +/* *\/+ block comments in index templates.
35
+ # You can include comments anywhere in the request body, except before the opening curly bracket.
36
+ # **Indices matching multiple templates**
37
+ # Multiple index templates can potentially match an index, in this case, both the settings and mappings are merged into the final configuration of the index.
38
+ # The order of the merging can be controlled using the order parameter, with lower order being applied first, and higher orders overriding them.
39
+ # NOTE: Multiple matching templates with the same order value will result in a non-deterministic merging order.
26
40
  #
27
- # @option arguments [String] :name The name of the template
28
- # @option arguments [Integer] :order The order for this template when merging multiple matching ones (higher numbers are merged later, overriding the lower numbers)
29
- # @option arguments [Boolean] :create Whether the index template should only be added if new or can also replace an existing one
41
+ # @option arguments [String] :name The name of the template (*Required*)
42
+ # @option arguments [Boolean] :create If true, this request cannot replace or update existing index templates.
43
+ # @option arguments [Time] :master_timeout Period to wait for a connection to the master node. If no response is
44
+ # received before the timeout expires, the request fails and returns an error. Server default: 30s.
45
+ # @option arguments [Integer] :order Order in which Elasticsearch applies this template if index
46
+ # matches multiple templates.Templates with lower 'order' values are merged first. Templates with higher
47
+ # 'order' values are merged later, overriding templates with lower values.
30
48
  # @option arguments [String] :cause User defined reason for creating/updating the index template
31
- # @option arguments [Time] :master_timeout Specify timeout for connection to master
32
49
  # @option arguments [Hash] :headers Custom HTTP headers
33
- # @option arguments [Hash] :body The template definition (*Required*)
50
+ # @option arguments [Hash] :body request body
34
51
  #
35
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.19/indices-templates-v1.html
52
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-indices-put-template
36
53
  #
37
54
  def put_template(arguments = {})
38
55
  request_opts = { endpoint: arguments[:endpoint] || 'indices.put_template' }
@@ -53,7 +70,7 @@ module Elasticsearch
53
70
  _name = arguments.delete(:name)
54
71
 
55
72
  method = Elasticsearch::API::HTTP_PUT
56
- path = "_template/#{Utils.__listify(_name)}"
73
+ path = "_template/#{Utils.listify(_name)}"
57
74
  params = Utils.process_params(arguments)
58
75
 
59
76
  Elasticsearch::API::Response.new(
@@ -15,24 +15,39 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module Indices
24
24
  module Actions
25
- # Get index recovery information
25
+ # Get index recovery information.
26
+ # Get information about ongoing and completed shard recoveries for one or more indices.
27
+ # For data streams, the API returns information for the stream's backing indices.
28
+ # All recoveries, whether ongoing or complete, are kept in the cluster state and may be reported on at any time.
29
+ # Shard recovery is the process of initializing a shard copy, such as restoring a primary shard from a snapshot or creating a replica shard from a primary shard.
30
+ # When a shard recovery completes, the recovered shard is available for search and indexing.
31
+ # Recovery automatically occurs during the following processes:
32
+ # * When creating an index for the first time.
33
+ # * When a node rejoins the cluster and starts up any missing primary shard copies using the data that it holds in its data path.
34
+ # * Creation of new replica shard copies from the primary.
35
+ # * Relocation of a shard copy to a different node in the same cluster.
36
+ # * A snapshot restore operation.
37
+ # * A clone, shrink, or split operation.
38
+ # You can determine the cause of a shard recovery using the recovery or cat recovery APIs.
39
+ # The index recovery API reports information about completed recoveries only for shard copies that currently exist in the cluster.
40
+ # It only reports the last recovery for each shard copy and does not report historical information about earlier recoveries, nor does it report information about the recoveries of shard copies that no longer exist.
41
+ # This means that if a shard copy completes a recovery and then Elasticsearch relocates it onto a different node then the information about the original recovery will not be shown in the recovery API.
26
42
  #
27
- # @option arguments [List] :index A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
28
- # @option arguments [Boolean] :detailed Whether to display detailed information about shard recovery
29
- # @option arguments [Boolean] :active_only Display only those recoveries that are currently on-going
30
- # @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
31
- # @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
32
- # @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
43
+ # @option arguments [String, Array] :index Comma-separated list of data streams, indices, and aliases used to limit the request.
44
+ # Supports wildcards (+*+).
45
+ # To target all data streams and indices, omit this parameter or use +*+ or +_all+.
46
+ # @option arguments [Boolean] :active_only If +true+, the response only includes ongoing shard recoveries.
47
+ # @option arguments [Boolean] :detailed If +true+, the response includes detailed information about shard recoveries.
33
48
  # @option arguments [Hash] :headers Custom HTTP headers
34
49
  #
35
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.19/indices-recovery.html
50
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-indices-recovery
36
51
  #
37
52
  def recovery(arguments = {})
38
53
  request_opts = { endpoint: arguments[:endpoint] || 'indices.recovery' }
@@ -45,13 +60,13 @@ module Elasticsearch
45
60
  arguments = arguments.clone
46
61
  headers = arguments.delete(:headers) || {}
47
62
 
48
- body = nil
63
+ body = nil
49
64
 
50
65
  _index = arguments.delete(:index)
51
66
 
52
67
  method = Elasticsearch::API::HTTP_GET
53
68
  path = if _index
54
- "#{Utils.__listify(_index)}/_recovery"
69
+ "#{Utils.listify(_index)}/_recovery"
55
70
  else
56
71
  '_recovery'
57
72
  end
@@ -15,22 +15,37 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module Indices
24
24
  module Actions
25
- # Refresh an index
25
+ # Refresh an index.
26
+ # A refresh makes recent operations performed on one or more indices available for search.
27
+ # For data streams, the API runs the refresh operation on the stream’s backing indices.
28
+ # By default, Elasticsearch periodically refreshes indices every second, but only on indices that have received one search request or more in the last 30 seconds.
29
+ # You can change this default interval with the +index.refresh_interval+ setting.
30
+ # Refresh requests are synchronous and do not return a response until the refresh operation completes.
31
+ # Refreshes are resource-intensive.
32
+ # To ensure good cluster performance, it's recommended to wait for Elasticsearch's periodic refresh rather than performing an explicit refresh when possible.
33
+ # If your application workflow indexes documents and then runs a search to retrieve the indexed document, it's recommended to use the index API's +refresh=wait_for+ query parameter option.
34
+ # This option ensures the indexing operation waits for a periodic refresh before running the search.
26
35
  #
27
- # @option arguments [List] :index A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
28
- # @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
29
- # @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
30
- # @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
36
+ # @option arguments [String, Array] :index Comma-separated list of data streams, indices, and aliases used to limit the request.
37
+ # Supports wildcards (+*+).
38
+ # To target all data streams and indices, omit this parameter or use +*+ or +_all+.
39
+ # @option arguments [Boolean] :allow_no_indices If +false+, the request returns an error if any wildcard expression, index alias, or +_all+ value targets only missing or closed indices.
40
+ # This behavior applies even if the request targets other open indices. Server default: true.
41
+ # @option arguments [String, Array<String>] :expand_wildcards Type of index that wildcard patterns can match.
42
+ # If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
43
+ # Supports comma-separated values, such as +open,hidden+.
44
+ # Valid values are: +all+, +open+, +closed+, +hidden+, +none+. Server default: open.
45
+ # @option arguments [Boolean] :ignore_unavailable If +false+, the request returns an error if it targets a missing or closed index.
31
46
  # @option arguments [Hash] :headers Custom HTTP headers
32
47
  #
33
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.19/indices-refresh.html
48
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-indices-refresh
34
49
  #
35
50
  def refresh(arguments = {})
36
51
  request_opts = { endpoint: arguments[:endpoint] || 'indices.refresh' }
@@ -43,13 +58,13 @@ module Elasticsearch
43
58
  arguments = arguments.clone
44
59
  headers = arguments.delete(:headers) || {}
45
60
 
46
- body = nil
61
+ body = nil
47
62
 
48
63
  _index = arguments.delete(:index)
49
64
 
50
65
  method = Elasticsearch::API::HTTP_POST
51
66
  path = if _index
52
- "#{Utils.__listify(_index)}/_refresh"
67
+ "#{Utils.listify(_index)}/_refresh"
53
68
  else
54
69
  '_refresh'
55
70
  end
@@ -15,23 +15,33 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module Indices
24
24
  module Actions
25
- # Reload search analyzers
25
+ # Reload search analyzers.
26
+ # Reload an index's search analyzers and their resources.
27
+ # For data streams, the API reloads search analyzers and resources for the stream's backing indices.
28
+ # IMPORTANT: After reloading the search analyzers you should clear the request cache to make sure it doesn't contain responses derived from the previous versions of the analyzer.
29
+ # You can use the reload search analyzers API to pick up changes to synonym files used in the +synonym_graph+ or +synonym+ token filter of a search analyzer.
30
+ # To be eligible, the token filter must have an +updateable+ flag of +true+ and only be used in search analyzers.
31
+ # NOTE: This API does not perform a reload for each shard of an index.
32
+ # Instead, it performs a reload for each node containing index shards.
33
+ # As a result, the total shard count returned by the API can differ from the number of index shards.
34
+ # Because reloading affects every node with an index shard, it is important to update the synonym file on every data node in the cluster--including nodes that don't contain a shard replica--before using this API.
35
+ # This ensures the synonym file is updated everywhere in the cluster in case shards are relocated in the future.
26
36
  #
27
- # @option arguments [List] :index A comma-separated list of index names to reload analyzers for
37
+ # @option arguments [String, Array] :index A comma-separated list of index names to reload analyzers for (*Required*)
38
+ # @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes +_all+ string or when no indices have been specified)
39
+ # @option arguments [String, Array<String>] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both.
28
40
  # @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
29
- # @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
30
- # @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
31
- # @option arguments [String] :resource changed resource to reload analyzers from if applicable
41
+ # @option arguments [String] :resource Changed resource to reload analyzers from if applicable
32
42
  # @option arguments [Hash] :headers Custom HTTP headers
33
43
  #
34
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.19/indices-reload-analyzers.html
44
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-indices-reload-search-analyzers
35
45
  #
36
46
  def reload_search_analyzers(arguments = {})
37
47
  request_opts = { endpoint: arguments[:endpoint] || 'indices.reload_search_analyzers' }
@@ -46,12 +56,12 @@ module Elasticsearch
46
56
  arguments = arguments.clone
47
57
  headers = arguments.delete(:headers) || {}
48
58
 
49
- body = nil
59
+ body = nil
50
60
 
51
61
  _index = arguments.delete(:index)
52
62
 
53
63
  method = Elasticsearch::API::HTTP_GET
54
- path = "#{Utils.__listify(_index)}/_reload_search_analyzers"
64
+ path = "#{Utils.listify(_index)}/_reload_search_analyzers"
55
65
  params = Utils.process_params(arguments)
56
66
 
57
67
  Elasticsearch::API::Response.new(
@@ -15,24 +15,72 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module Indices
24
24
  module Actions
25
- # Resolve the cluster
25
+ # Resolve the cluster.
26
+ # Resolve the specified index expressions to return information about each cluster, including the local "querying" cluster, if included.
27
+ # If no index expression is provided, the API will return information about all the remote clusters that are configured on the querying cluster.
28
+ # This endpoint is useful before doing a cross-cluster search in order to determine which remote clusters should be included in a search.
29
+ # You use the same index expression with this endpoint as you would for cross-cluster search.
30
+ # Index and cluster exclusions are also supported with this endpoint.
31
+ # For each cluster in the index expression, information is returned about:
32
+ # * Whether the querying ("local") cluster is currently connected to each remote cluster specified in the index expression. Note that this endpoint actively attempts to contact the remote clusters, unlike the +remote/info+ endpoint.
33
+ # * Whether each remote cluster is configured with +skip_unavailable+ as +true+ or +false+.
34
+ # * Whether there are any indices, aliases, or data streams on that cluster that match the index expression.
35
+ # * Whether the search is likely to have errors returned when you do the cross-cluster search (including any authorization errors if you do not have permission to query the index).
36
+ # * Cluster version information, including the Elasticsearch server version.
37
+ # For example, +GET /_resolve/cluster/my-index-*,cluster*:my-index-*+ returns information about the local cluster and all remotely configured clusters that start with the alias +cluster*+.
38
+ # Each cluster returns information about whether it has any indices, aliases or data streams that match +my-index-*+.The ability to query without an index expression was added in version 8.18, so when
39
+ # querying remote clusters older than that, the local cluster will send the index
40
+ # expression +dummy*+ to those remote clusters. Thus, if an errors occur, you may see a reference
41
+ # to that index expression even though you didn't request it. If it causes a problem, you can
42
+ # instead include an index expression like +*:*+ to bypass the issue.You may want to exclude a cluster or index from a search when:
43
+ # * A remote cluster is not currently connected and is configured with +skip_unavailable=false+. Running a cross-cluster search under those conditions will cause the entire search to fail.
44
+ # * A cluster has no matching indices, aliases or data streams for the index expression (or your user does not have permissions to search them). For example, suppose your index expression is +logs*,remote1:logs*+ and the remote1 cluster has no indices, aliases or data streams that match +logs*+. In that case, that cluster will return no results from that cluster if you include it in a cross-cluster search.
45
+ # * The index expression (combined with any query parameters you specify) will likely cause an exception to be thrown when you do the search. In these cases, the "error" field in the +_resolve/cluster+ response will be present. (This is also where security/permission errors will be shown.)
46
+ # * A remote cluster is an older version that does not support the feature you want to use in your search.The +remote/info+ endpoint is commonly used to test whether the "local" cluster (the cluster being queried) is connected to its remote clusters, but it does not necessarily reflect whether the remote cluster is available or not.
47
+ # The remote cluster may be available, while the local cluster is not currently connected to it.
48
+ # You can use the +_resolve/cluster+ API to attempt to reconnect to remote clusters.
49
+ # For example with +GET _resolve/cluster+ or +GET _resolve/cluster/*:*+.
50
+ # The +connected+ field in the response will indicate whether it was successful.
51
+ # If a connection was (re-)established, this will also cause the +remote/info+ endpoint to now indicate a connected status.
26
52
  #
27
- # @option arguments [List] :name A comma-separated list of cluster:index names or wildcard expressions
28
- # @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed). Only allowed when providing an index expression.
29
- # @option arguments [Boolean] :ignore_throttled Whether specified concrete, expanded or aliased indices should be ignored when throttled. Only allowed when providing an index expression.
30
- # @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified). Only allowed when providing an index expression.
31
- # @option arguments [String] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices (default: open). Only allowed when providing an index expression. (options: open, closed, hidden, none, all)
32
- # @option arguments [Time] :timeout The maximum time to wait for remote clusters to respond
53
+ # @option arguments [String, Array<String>] :name A comma-separated list of names or index patterns for the indices, aliases, and data streams to resolve.
54
+ # Resources on remote clusters can be specified using the +<cluster>+:+<name>+ syntax.
55
+ # Index and cluster exclusions (e.g., +-cluster1:*+) are also supported.
56
+ # If no index expression is specified, information about all remote clusters configured on the local cluster
57
+ # is returned without doing any index matching
58
+ # @option arguments [Boolean] :allow_no_indices If false, the request returns an error if any wildcard expression, index alias, or +_all+ value targets only missing
59
+ # or closed indices. This behavior applies even if the request targets other open indices. For example, a request
60
+ # targeting +foo*,bar*+ returns an error if an index starts with +foo+ but no index starts with +bar+.
61
+ # NOTE: This option is only supported when specifying an index expression. You will get an error if you specify index
62
+ # options to the +_resolve/cluster+ API endpoint that takes no index expression. Server default: true.
63
+ # @option arguments [String, Array<String>] :expand_wildcards Type of index that wildcard patterns can match.
64
+ # If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
65
+ # Supports comma-separated values, such as +open,hidden+.
66
+ # Valid values are: +all+, +open+, +closed+, +hidden+, +none+.
67
+ # NOTE: This option is only supported when specifying an index expression. You will get an error if you specify index
68
+ # options to the +_resolve/cluster+ API endpoint that takes no index expression. Server default: open.
69
+ # @option arguments [Boolean] :ignore_throttled If true, concrete, expanded, or aliased indices are ignored when frozen.
70
+ # NOTE: This option is only supported when specifying an index expression. You will get an error if you specify index
71
+ # options to the +_resolve/cluster+ API endpoint that takes no index expression.
72
+ # @option arguments [Boolean] :ignore_unavailable If false, the request returns an error if it targets a missing or closed index.
73
+ # NOTE: This option is only supported when specifying an index expression. You will get an error if you specify index
74
+ # options to the +_resolve/cluster+ API endpoint that takes no index expression.
75
+ # @option arguments [Time] :timeout The maximum time to wait for remote clusters to respond.
76
+ # If a remote cluster does not respond within this timeout period, the API response
77
+ # will show the cluster as not connected and include an error message that the
78
+ # request timed out.The default timeout is unset and the query can take
79
+ # as long as the networking layer is configured to wait for remote clusters that are
80
+ # not responding (typically 30 seconds).
33
81
  # @option arguments [Hash] :headers Custom HTTP headers
34
82
  #
35
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.19/indices-resolve-cluster-api.html
83
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-indices-resolve-cluster
36
84
  #
37
85
  def resolve_cluster(arguments = {})
38
86
  request_opts = { endpoint: arguments[:endpoint] || 'indices.resolve_cluster' }
@@ -51,7 +99,7 @@ module Elasticsearch
51
99
 
52
100
  method = Elasticsearch::API::HTTP_GET
53
101
  path = if _name
54
- "_resolve/cluster/#{Utils.__listify(_name)}"
102
+ "_resolve/cluster/#{Utils.listify(_name)}"
55
103
  else
56
104
  '_resolve/cluster'
57
105
  end
@@ -15,22 +15,30 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module Indices
24
24
  module Actions
25
- # Resolve indices
25
+ # Resolve indices.
26
+ # Resolve the names and/or index patterns for indices, aliases, and data streams.
27
+ # Multiple patterns and remote clusters are supported.
26
28
  #
27
- # @option arguments [List] :name A comma-separated list of names or wildcard expressions
28
- # @option arguments [String] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices (default: open) (options: open, closed, hidden, none, all)
29
- # @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
30
- # @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
29
+ # @option arguments [String, Array<String>] :name Comma-separated name(s) or index pattern(s) of the indices, aliases, and data streams to resolve.
30
+ # Resources on remote clusters can be specified using the +<cluster>+:+<name>+ syntax. (*Required*)
31
+ # @option arguments [String, Array<String>] :expand_wildcards Type of index that wildcard patterns can match.
32
+ # If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
33
+ # Supports comma-separated values, such as +open,hidden+.
34
+ # Valid values are: +all+, +open+, +closed+, +hidden+, +none+. Server default: open.
35
+ # @option arguments [Boolean] :ignore_unavailable If +false+, the request returns an error if it targets a missing or closed index.
36
+ # @option arguments [Boolean] :allow_no_indices If +false+, the request returns an error if any wildcard expression, index alias, or +_all+ value targets only missing or closed indices.
37
+ # This behavior applies even if the request targets other open indices.
38
+ # For example, a request targeting +foo*,bar*+ returns an error if an index starts with +foo+ but no index starts with +bar+. Server default: true.
31
39
  # @option arguments [Hash] :headers Custom HTTP headers
32
40
  #
33
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.19/indices-resolve-index-api.html
41
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-indices-resolve-index
34
42
  #
35
43
  def resolve_index(arguments = {})
36
44
  request_opts = { endpoint: arguments[:endpoint] || 'indices.resolve_index' }
@@ -50,7 +58,7 @@ module Elasticsearch
50
58
  _name = arguments.delete(:name)
51
59
 
52
60
  method = Elasticsearch::API::HTTP_GET
53
- path = "_resolve/index/#{Utils.__listify(_name)}"
61
+ path = "_resolve/index/#{Utils.listify(_name)}"
54
62
  params = Utils.process_params(arguments)
55
63
 
56
64
  Elasticsearch::API::Response.new(
@@ -15,31 +15,62 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module Indices
24
24
  module Actions
25
- # Roll over to a new index
25
+ # Roll over to a new index.
26
+ # TIP: It is recommended to use the index lifecycle rollover action to automate rollovers.
27
+ # The rollover API creates a new index for a data stream or index alias.
28
+ # The API behavior depends on the rollover target.
29
+ # **Roll over a data stream**
30
+ # If you roll over a data stream, the API creates a new write index for the stream.
31
+ # The stream's previous write index becomes a regular backing index.
32
+ # A rollover also increments the data stream's generation.
33
+ # **Roll over an index alias with a write index**
34
+ # TIP: Prior to Elasticsearch 7.9, you'd typically use an index alias with a write index to manage time series data.
35
+ # Data streams replace this functionality, require less maintenance, and automatically integrate with data tiers.
36
+ # If an index alias points to multiple indices, one of the indices must be a write index.
37
+ # The rollover API creates a new write index for the alias with +is_write_index+ set to +true+.
38
+ # The API also +sets is_write_index+ to +false+ for the previous write index.
39
+ # **Roll over an index alias with one index**
40
+ # If you roll over an index alias that points to only one index, the API creates a new index for the alias and removes the original index from the alias.
41
+ # NOTE: A rollover creates a new index and is subject to the +wait_for_active_shards+ setting.
42
+ # **Increment index names for an alias**
43
+ # When you roll over an index alias, you can specify a name for the new index.
44
+ # If you don't specify a name and the current index ends with +-+ and a number, such as +my-index-000001+ or +my-index-3+, the new index name increments that number.
45
+ # For example, if you roll over an alias with a current index of +my-index-000001+, the rollover creates a new index named +my-index-000002+.
46
+ # This number is always six characters and zero-padded, regardless of the previous index's name.
47
+ # If you use an index alias for time series data, you can use date math in the index name to track the rollover date.
48
+ # For example, you can create an alias that points to an index named +<my-index-{now/d}-000001>+.
49
+ # If you create the index on May 6, 2099, the index's name is +my-index-2099.05.06-000001+.
50
+ # If you roll over the alias on May 7, 2099, the new index's name is +my-index-2099.05.07-000002+.
26
51
  #
27
- # @option arguments [String] :alias The name of the alias to rollover
28
- # @option arguments [String] :new_index The name of the rollover index
29
- # @option arguments [Time] :timeout Explicit operation timeout
30
- # @option arguments [Boolean] :dry_run If set to true the rollover action will only be validated but not actually performed even if a condition matches. The default is false
31
- # @option arguments [Time] :master_timeout Specify timeout for connection to master
32
- # @option arguments [String] :wait_for_active_shards Set the number of active shards to wait for on the newly created rollover index before the operation returns.
33
- # @option arguments [Boolean] :lazy If set to true, the rollover action will only mark a data stream to signal that it needs to be rolled over at the next write. Only allowed on data streams.
52
+ # @option arguments [String] :alias Name of the data stream or index alias to roll over. (*Required*)
53
+ # @option arguments [String] :new_index Name of the index to create.
54
+ # Supports date math.
55
+ # Data streams do not support this parameter.
56
+ # @option arguments [Boolean] :dry_run If +true+, checks whether the current index satisfies the specified conditions but does not perform a rollover.
57
+ # @option arguments [Time] :master_timeout Period to wait for a connection to the master node.
58
+ # If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
59
+ # @option arguments [Time] :timeout Period to wait for a response.
60
+ # If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
61
+ # @option arguments [Integer, String] :wait_for_active_shards The number of shard copies that must be active before proceeding with the operation.
62
+ # Set to all or any positive integer up to the total number of shards in the index (+number_of_replicas+1+). Server default: 1.
63
+ # @option arguments [Boolean] :lazy If set to true, the rollover action will only mark a data stream to signal that it needs to be rolled over at the next write.
64
+ # Only allowed on data streams.
34
65
  # @option arguments [Hash] :headers Custom HTTP headers
35
- # @option arguments [Hash] :body The conditions that needs to be met for executing rollover
66
+ # @option arguments [Hash] :body request body
36
67
  #
37
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.19/indices-rollover-index.html
68
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-indices-rollover
38
69
  #
39
70
  def rollover(arguments = {})
40
71
  request_opts = { endpoint: arguments[:endpoint] || 'indices.rollover' }
41
72
 
42
- defined_params = %i[alias new_index].each_with_object({}) do |variable, set_variables|
73
+ defined_params = [:alias, :new_index].each_with_object({}) do |variable, set_variables|
43
74
  set_variables[variable] = arguments[variable] if arguments.key?(variable)
44
75
  end
45
76
  request_opts[:defined_params] = defined_params unless defined_params.empty?
@@ -49,7 +80,7 @@ module Elasticsearch
49
80
  arguments = arguments.clone
50
81
  headers = arguments.delete(:headers) || {}
51
82
 
52
- body = arguments.delete(:body)
83
+ body = arguments.delete(:body)
53
84
 
54
85
  _alias = arguments.delete(:alias)
55
86
 
@@ -57,9 +88,9 @@ module Elasticsearch
57
88
 
58
89
  method = Elasticsearch::API::HTTP_POST
59
90
  path = if _alias && _new_index
60
- "#{Utils.__listify(_alias)}/_rollover/#{Utils.__listify(_new_index)}"
91
+ "#{Utils.listify(_alias)}/_rollover/#{Utils.listify(_new_index)}"
61
92
  else
62
- "#{Utils.__listify(_alias)}/_rollover"
93
+ "#{Utils.listify(_alias)}/_rollover"
63
94
  end
64
95
  params = Utils.process_params(arguments)
65
96
 
@@ -15,23 +15,30 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module Indices
24
24
  module Actions
25
- # Get index segments
25
+ # Get index segments.
26
+ # Get low-level information about the Lucene segments in index shards.
27
+ # For data streams, the API returns information about the stream's backing indices.
26
28
  #
27
- # @option arguments [List] :index A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
28
- # @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
29
- # @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
30
- # @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
31
- # @option arguments [Boolean] :verbose Includes detailed memory usage by Lucene. *Deprecated*
29
+ # @option arguments [String, Array] :index Comma-separated list of data streams, indices, and aliases used to limit the request.
30
+ # Supports wildcards (+*+).
31
+ # To target all data streams and indices, omit this parameter or use +*+ or +_all+.
32
+ # @option arguments [Boolean] :allow_no_indices If +false+, the request returns an error if any wildcard expression, index alias, or +_all+ value targets only missing or closed indices.
33
+ # This behavior applies even if the request targets other open indices. Server default: true.
34
+ # @option arguments [String, Array<String>] :expand_wildcards Type of index that wildcard patterns can match.
35
+ # If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
36
+ # Supports comma-separated values, such as +open,hidden+.
37
+ # Valid values are: +all+, +open+, +closed+, +hidden+, +none+. Server default: open.
38
+ # @option arguments [Boolean] :ignore_unavailable If +false+, the request returns an error if it targets a missing or closed index.
32
39
  # @option arguments [Hash] :headers Custom HTTP headers
33
40
  #
34
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.19/indices-segments.html
41
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-indices-segments
35
42
  #
36
43
  def segments(arguments = {})
37
44
  request_opts = { endpoint: arguments[:endpoint] || 'indices.segments' }
@@ -44,13 +51,13 @@ module Elasticsearch
44
51
  arguments = arguments.clone
45
52
  headers = arguments.delete(:headers) || {}
46
53
 
47
- body = nil
54
+ body = nil
48
55
 
49
56
  _index = arguments.delete(:index)
50
57
 
51
58
  method = Elasticsearch::API::HTTP_GET
52
59
  path = if _index
53
- "#{Utils.__listify(_index)}/_segments"
60
+ "#{Utils.listify(_index)}/_segments"
54
61
  else
55
62
  '_segments'
56
63
  end