elasticsearch 9.2.0__py3-none-any.whl → 9.2.1__py3-none-any.whl

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 (120) hide show
  1. elasticsearch/_async/client/__init__.py +64 -45
  2. elasticsearch/_async/client/async_search.py +3 -3
  3. elasticsearch/_async/client/autoscaling.py +15 -4
  4. elasticsearch/_async/client/cat.py +40 -2
  5. elasticsearch/_async/client/ccr.py +10 -10
  6. elasticsearch/_async/client/cluster.py +32 -32
  7. elasticsearch/_async/client/connector.py +42 -41
  8. elasticsearch/_async/client/dangling_indices.py +8 -12
  9. elasticsearch/_async/client/enrich.py +10 -10
  10. elasticsearch/_async/client/eql.py +10 -10
  11. elasticsearch/_async/client/esql.py +16 -16
  12. elasticsearch/_async/client/features.py +6 -6
  13. elasticsearch/_async/client/fleet.py +7 -7
  14. elasticsearch/_async/client/graph.py +2 -2
  15. elasticsearch/_async/client/ilm.py +18 -18
  16. elasticsearch/_async/client/indices.py +131 -135
  17. elasticsearch/_async/client/inference.py +76 -56
  18. elasticsearch/_async/client/ingest.py +9 -9
  19. elasticsearch/_async/client/license.py +5 -7
  20. elasticsearch/_async/client/logstash.py +4 -4
  21. elasticsearch/_async/client/migration.py +6 -6
  22. elasticsearch/_async/client/ml.py +125 -85
  23. elasticsearch/_async/client/monitoring.py +4 -3
  24. elasticsearch/_async/client/nodes.py +15 -15
  25. elasticsearch/_async/client/project.py +4 -3
  26. elasticsearch/_async/client/query_rules.py +16 -16
  27. elasticsearch/_async/client/rollup.py +21 -21
  28. elasticsearch/_async/client/search_application.py +19 -19
  29. elasticsearch/_async/client/searchable_snapshots.py +10 -10
  30. elasticsearch/_async/client/security.py +8 -7
  31. elasticsearch/_async/client/shutdown.py +15 -4
  32. elasticsearch/_async/client/simulate.py +4 -4
  33. elasticsearch/_async/client/slm.py +17 -17
  34. elasticsearch/_async/client/snapshot.py +20 -20
  35. elasticsearch/_async/client/sql.py +10 -10
  36. elasticsearch/_async/client/streams.py +6 -6
  37. elasticsearch/_async/client/synonyms.py +10 -10
  38. elasticsearch/_async/client/tasks.py +8 -8
  39. elasticsearch/_async/client/text_structure.py +13 -9
  40. elasticsearch/_async/client/transform.py +51 -12
  41. elasticsearch/_async/client/utils.py +4 -2
  42. elasticsearch/_async/client/watcher.py +26 -26
  43. elasticsearch/_async/client/xpack.py +6 -5
  44. elasticsearch/_sync/client/__init__.py +66 -45
  45. elasticsearch/_sync/client/async_search.py +3 -3
  46. elasticsearch/_sync/client/autoscaling.py +15 -4
  47. elasticsearch/_sync/client/cat.py +40 -2
  48. elasticsearch/_sync/client/ccr.py +10 -10
  49. elasticsearch/_sync/client/cluster.py +32 -32
  50. elasticsearch/_sync/client/connector.py +42 -41
  51. elasticsearch/_sync/client/dangling_indices.py +8 -12
  52. elasticsearch/_sync/client/enrich.py +10 -10
  53. elasticsearch/_sync/client/eql.py +10 -10
  54. elasticsearch/_sync/client/esql.py +16 -16
  55. elasticsearch/_sync/client/features.py +6 -6
  56. elasticsearch/_sync/client/fleet.py +7 -7
  57. elasticsearch/_sync/client/graph.py +2 -2
  58. elasticsearch/_sync/client/ilm.py +18 -18
  59. elasticsearch/_sync/client/indices.py +131 -135
  60. elasticsearch/_sync/client/inference.py +76 -56
  61. elasticsearch/_sync/client/ingest.py +9 -9
  62. elasticsearch/_sync/client/license.py +5 -7
  63. elasticsearch/_sync/client/logstash.py +4 -4
  64. elasticsearch/_sync/client/migration.py +6 -6
  65. elasticsearch/_sync/client/ml.py +125 -85
  66. elasticsearch/_sync/client/monitoring.py +4 -3
  67. elasticsearch/_sync/client/nodes.py +15 -15
  68. elasticsearch/_sync/client/project.py +4 -3
  69. elasticsearch/_sync/client/query_rules.py +16 -16
  70. elasticsearch/_sync/client/rollup.py +21 -21
  71. elasticsearch/_sync/client/search_application.py +19 -19
  72. elasticsearch/_sync/client/searchable_snapshots.py +10 -10
  73. elasticsearch/_sync/client/security.py +8 -7
  74. elasticsearch/_sync/client/shutdown.py +15 -4
  75. elasticsearch/_sync/client/simulate.py +4 -4
  76. elasticsearch/_sync/client/slm.py +17 -17
  77. elasticsearch/_sync/client/snapshot.py +20 -20
  78. elasticsearch/_sync/client/sql.py +10 -10
  79. elasticsearch/_sync/client/streams.py +6 -6
  80. elasticsearch/_sync/client/synonyms.py +10 -10
  81. elasticsearch/_sync/client/tasks.py +8 -8
  82. elasticsearch/_sync/client/text_structure.py +13 -9
  83. elasticsearch/_sync/client/transform.py +51 -12
  84. elasticsearch/_sync/client/utils.py +16 -2
  85. elasticsearch/_sync/client/watcher.py +26 -26
  86. elasticsearch/_sync/client/xpack.py +6 -5
  87. elasticsearch/_version.py +2 -2
  88. elasticsearch/dsl/_async/document.py +4 -5
  89. elasticsearch/dsl/_async/index.py +1 -1
  90. elasticsearch/dsl/_async/search.py +2 -3
  91. elasticsearch/dsl/_sync/document.py +4 -5
  92. elasticsearch/dsl/_sync/index.py +1 -1
  93. elasticsearch/dsl/_sync/search.py +2 -3
  94. elasticsearch/dsl/aggs.py +3 -3
  95. elasticsearch/dsl/async_connections.py +1 -2
  96. elasticsearch/dsl/connections.py +1 -2
  97. elasticsearch/dsl/document_base.py +1 -1
  98. elasticsearch/dsl/field.py +1 -1
  99. elasticsearch/dsl/pydantic.py +1 -1
  100. elasticsearch/dsl/query.py +23 -0
  101. elasticsearch/dsl/serializer.py +1 -2
  102. elasticsearch/dsl/types.py +2 -6
  103. elasticsearch/dsl/utils.py +1 -2
  104. elasticsearch/esql/esql.py +1 -1
  105. elasticsearch/esql/functions.py +2 -2
  106. elasticsearch/helpers/vectorstore/__init__.py +7 -7
  107. elasticsearch/helpers/vectorstore/_async/_utils.py +1 -1
  108. elasticsearch/helpers/vectorstore/_async/embedding_service.py +2 -2
  109. elasticsearch/helpers/vectorstore/_async/strategies.py +3 -3
  110. elasticsearch/helpers/vectorstore/_async/vectorstore.py +5 -5
  111. elasticsearch/helpers/vectorstore/_sync/_utils.py +1 -1
  112. elasticsearch/helpers/vectorstore/_sync/embedding_service.py +2 -2
  113. elasticsearch/helpers/vectorstore/_sync/strategies.py +3 -3
  114. elasticsearch/helpers/vectorstore/_sync/vectorstore.py +5 -5
  115. {elasticsearch-9.2.0.dist-info → elasticsearch-9.2.1.dist-info}/METADATA +1 -1
  116. elasticsearch-9.2.1.dist-info/RECORD +168 -0
  117. {elasticsearch-9.2.0.dist-info → elasticsearch-9.2.1.dist-info}/WHEEL +1 -1
  118. elasticsearch-9.2.0.dist-info/RECORD +0 -168
  119. {elasticsearch-9.2.0.dist-info → elasticsearch-9.2.1.dist-info}/licenses/LICENSE +0 -0
  120. {elasticsearch-9.2.0.dist-info → elasticsearch-9.2.1.dist-info}/licenses/NOTICE +0 -0
@@ -38,8 +38,8 @@ class EqlClient(NamespacedClient):
38
38
  """
39
39
  .. raw:: html
40
40
 
41
- <p>Delete an async EQL search.
42
- Delete an async EQL search or a stored synchronous EQL search.
41
+ <p>Delete an async EQL search.</p>
42
+ <p>Delete an async EQL search or a stored synchronous EQL search.
43
43
  The API also deletes results for the search.</p>
44
44
 
45
45
 
@@ -89,8 +89,8 @@ class EqlClient(NamespacedClient):
89
89
  """
90
90
  .. raw:: html
91
91
 
92
- <p>Get async EQL search results.
93
- Get the current status and available results for an async EQL search or a stored synchronous EQL search.</p>
92
+ <p>Get async EQL search results.</p>
93
+ <p>Get the current status and available results for an async EQL search or a stored synchronous EQL search.</p>
94
94
 
95
95
 
96
96
  `<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-eql-get>`_
@@ -143,8 +143,8 @@ class EqlClient(NamespacedClient):
143
143
  """
144
144
  .. raw:: html
145
145
 
146
- <p>Get the async EQL status.
147
- Get the current status for an async EQL search or a stored synchronous EQL search without returning results.</p>
146
+ <p>Get the async EQL status.</p>
147
+ <p>Get the current status for an async EQL search or a stored synchronous EQL search without returning results.</p>
148
148
 
149
149
 
150
150
  `<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-eql-get-status>`_
@@ -243,14 +243,14 @@ class EqlClient(NamespacedClient):
243
243
  """
244
244
  .. raw:: html
245
245
 
246
- <p>Get EQL search results.
247
- Returns search results for an Event Query Language (EQL) query.
246
+ <p>Get EQL search results.</p>
247
+ <p>Returns search results for an Event Query Language (EQL) query.
248
248
  EQL assumes each document in a data stream or index corresponds to an event.</p>
249
249
 
250
250
 
251
251
  `<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-eql-search>`_
252
252
 
253
- :param index: The name of the index to scope the operation
253
+ :param index: Comma-separated list of index names to scope the operation
254
254
  :param query: EQL query you wish to run.
255
255
  :param allow_no_indices: Whether to ignore if a wildcard indices expression resolves
256
256
  into no concrete indices. (This includes `_all` string or when no indices
@@ -296,7 +296,7 @@ class EqlClient(NamespacedClient):
296
296
  Defaults to 10
297
297
  :param tiebreaker_field: Field used to sort hits with the same timestamp in ascending
298
298
  order
299
- :param timestamp_field: Field containing event timestamp. Default "@timestamp"
299
+ :param timestamp_field: Field containing event timestamp.
300
300
  :param wait_for_completion_timeout:
301
301
  """
302
302
  if index in SKIP_IN_PATH:
@@ -23,13 +23,13 @@ from ._base import NamespacedClient
23
23
  from .utils import (
24
24
  SKIP_IN_PATH,
25
25
  Stability,
26
+ _availability_warning,
26
27
  _quote,
27
28
  _rewrite_parameters,
28
- _stability_warning,
29
29
  )
30
30
 
31
31
  if t.TYPE_CHECKING:
32
- from elasticsearch.esql import ESQLBase
32
+ from ...esql import ESQLBase
33
33
 
34
34
 
35
35
  class EsqlClient(NamespacedClient):
@@ -90,8 +90,8 @@ class EsqlClient(NamespacedClient):
90
90
  """
91
91
  .. raw:: html
92
92
 
93
- <p>Run an async ES|QL query.
94
- Asynchronously run an ES|QL (Elasticsearch query language) query, monitor its progress, and retrieve results when they become available.</p>
93
+ <p>Run an async ES|QL query.</p>
94
+ <p>Asynchronously run an ES|QL (Elasticsearch query language) query, monitor its progress, and retrieve results when they become available.</p>
95
95
  <p>The API accepts the same parameters and request body as the synchronous query API, along with additional async related properties.</p>
96
96
 
97
97
 
@@ -226,8 +226,8 @@ class EsqlClient(NamespacedClient):
226
226
  """
227
227
  .. raw:: html
228
228
 
229
- <p>Delete an async ES|QL query.
230
- If the query is still running, it is cancelled.
229
+ <p>Delete an async ES|QL query.</p>
230
+ <p>If the query is still running, it is cancelled.
231
231
  Otherwise, the stored results are deleted.</p>
232
232
  <p>If the Elasticsearch security features are enabled, only the following users can use this API to delete a query:</p>
233
233
  <ul>
@@ -292,8 +292,8 @@ class EsqlClient(NamespacedClient):
292
292
  """
293
293
  .. raw:: html
294
294
 
295
- <p>Get async ES|QL query results.
296
- Get the current status and available results or stored results for an ES|QL asynchronous query.
295
+ <p>Get async ES|QL query results.</p>
296
+ <p>Get the current status and available results or stored results for an ES|QL asynchronous query.
297
297
  If the Elasticsearch security features are enabled, only the user who first submitted the ES|QL query can retrieve the results using this API.</p>
298
298
 
299
299
 
@@ -404,7 +404,7 @@ class EsqlClient(NamespacedClient):
404
404
  )
405
405
 
406
406
  @_rewrite_parameters()
407
- @_stability_warning(Stability.EXPERIMENTAL)
407
+ @_availability_warning(Stability.EXPERIMENTAL)
408
408
  async def get_query(
409
409
  self,
410
410
  *,
@@ -417,8 +417,8 @@ class EsqlClient(NamespacedClient):
417
417
  """
418
418
  .. raw:: html
419
419
 
420
- <p>Get a specific running ES|QL query information.
421
- Returns an object extended information about a running ES|QL query.</p>
420
+ <p>Get a specific running ES|QL query information.</p>
421
+ <p>Returns an object extended information about a running ES|QL query.</p>
422
422
 
423
423
 
424
424
  `<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-esql-get-query>`_
@@ -449,7 +449,7 @@ class EsqlClient(NamespacedClient):
449
449
  )
450
450
 
451
451
  @_rewrite_parameters()
452
- @_stability_warning(Stability.EXPERIMENTAL)
452
+ @_availability_warning(Stability.EXPERIMENTAL)
453
453
  async def list_queries(
454
454
  self,
455
455
  *,
@@ -461,8 +461,8 @@ class EsqlClient(NamespacedClient):
461
461
  """
462
462
  .. raw:: html
463
463
 
464
- <p>Get running ES|QL queries information.
465
- Returns an object containing IDs and other information about the running ES|QL queries.</p>
464
+ <p>Get running ES|QL queries information.</p>
465
+ <p>Returns an object containing IDs and other information about the running ES|QL queries.</p>
466
466
 
467
467
 
468
468
  `<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-esql-list-queries>`_
@@ -543,8 +543,8 @@ class EsqlClient(NamespacedClient):
543
543
  """
544
544
  .. raw:: html
545
545
 
546
- <p>Run an ES|QL query.
547
- Get search results for an ES|QL (Elasticsearch query language) query.</p>
546
+ <p>Run an ES|QL query.</p>
547
+ <p>Get search results for an ES|QL (Elasticsearch query language) query.</p>
548
548
 
549
549
 
550
550
  `<https://www.elastic.co/docs/explore-analyze/query-filter/languages/esql-rest>`_
@@ -20,7 +20,7 @@ import typing as t
20
20
  from elastic_transport import ObjectApiResponse
21
21
 
22
22
  from ._base import NamespacedClient
23
- from .utils import Stability, _rewrite_parameters, _stability_warning
23
+ from .utils import Stability, _availability_warning, _rewrite_parameters
24
24
 
25
25
 
26
26
  class FeaturesClient(NamespacedClient):
@@ -38,8 +38,8 @@ class FeaturesClient(NamespacedClient):
38
38
  """
39
39
  .. raw:: html
40
40
 
41
- <p>Get the features.
42
- Get a list of features that can be included in snapshots using the <code>feature_states</code> field when creating a snapshot.
41
+ <p>Get the features.</p>
42
+ <p>Get a list of features that can be included in snapshots using the <code>feature_states</code> field when creating a snapshot.
43
43
  You can use this API to determine which feature states to include when taking a snapshot.
44
44
  By default, all feature states are included in a snapshot if that snapshot includes the global state, or none if it does not.</p>
45
45
  <p>A feature state includes one or more system indices necessary for a given feature to function.
@@ -76,7 +76,7 @@ class FeaturesClient(NamespacedClient):
76
76
  )
77
77
 
78
78
  @_rewrite_parameters()
79
- @_stability_warning(Stability.EXPERIMENTAL)
79
+ @_availability_warning(Stability.EXPERIMENTAL)
80
80
  async def reset_features(
81
81
  self,
82
82
  *,
@@ -89,8 +89,8 @@ class FeaturesClient(NamespacedClient):
89
89
  """
90
90
  .. raw:: html
91
91
 
92
- <p>Reset the features.
93
- Clear all of the state information stored in system indices by Elasticsearch features, including the security and machine learning indices.</p>
92
+ <p>Reset the features.</p>
93
+ <p>Clear all of the state information stored in system indices by Elasticsearch features, including the security and machine learning indices.</p>
94
94
  <p>WARNING: Intended for development and testing use only. Do not reset features on a production cluster.</p>
95
95
  <p>Return a cluster to the same state as a new installation by resetting the feature state for all Elasticsearch features.
96
96
  This deletes all state information stored in system indices.</p>
@@ -23,9 +23,9 @@ from ._base import NamespacedClient
23
23
  from .utils import (
24
24
  SKIP_IN_PATH,
25
25
  Stability,
26
+ _availability_warning,
26
27
  _quote,
27
28
  _rewrite_parameters,
28
- _stability_warning,
29
29
  )
30
30
 
31
31
 
@@ -101,7 +101,7 @@ class FleetClient(NamespacedClient):
101
101
  @_rewrite_parameters(
102
102
  body_name="searches",
103
103
  )
104
- @_stability_warning(Stability.EXPERIMENTAL)
104
+ @_availability_warning(Stability.EXPERIMENTAL)
105
105
  async def msearch(
106
106
  self,
107
107
  *,
@@ -138,8 +138,8 @@ class FleetClient(NamespacedClient):
138
138
  """
139
139
  .. raw:: html
140
140
 
141
- <p>Run multiple Fleet searches.
142
- Run several Fleet searches with a single API request.
141
+ <p>Run multiple Fleet searches.</p>
142
+ <p>Run several Fleet searches with a single API request.
143
143
  The API follows the same structure as the multi search API.
144
144
  However, similar to the Fleet search API, it supports the <code>wait_for_checkpoints</code> parameter.</p>
145
145
 
@@ -293,7 +293,7 @@ class FleetClient(NamespacedClient):
293
293
  "from": "from_",
294
294
  },
295
295
  )
296
- @_stability_warning(Stability.EXPERIMENTAL)
296
+ @_availability_warning(Stability.EXPERIMENTAL)
297
297
  async def search(
298
298
  self,
299
299
  *,
@@ -388,8 +388,8 @@ class FleetClient(NamespacedClient):
388
388
  """
389
389
  .. raw:: html
390
390
 
391
- <p>Run a Fleet search.
392
- The purpose of the Fleet search API is to provide an API where the search will be run only
391
+ <p>Run a Fleet search.</p>
392
+ <p>The purpose of the Fleet search API is to provide an API where the search will be run only
393
393
  after the provided checkpoint has been processed and is visible for searches inside of Elasticsearch.</p>
394
394
 
395
395
 
@@ -47,8 +47,8 @@ class GraphClient(NamespacedClient):
47
47
  """
48
48
  .. raw:: html
49
49
 
50
- <p>Explore graph analytics.
51
- Extract and summarize information about the documents and terms in an Elasticsearch data stream or index.
50
+ <p>Explore graph analytics.</p>
51
+ <p>Extract and summarize information about the documents and terms in an Elasticsearch data stream or index.
52
52
  The easiest way to understand the behavior of this API is to use the Graph UI to explore connections.
53
53
  An initial request to the <code>_explore</code> API contains a seed query that identifies the documents of interest and specifies the fields that define the vertices and connections you want to include in the graph.
54
54
  Subsequent requests enable you to spider out from one more vertices of interest.
@@ -40,8 +40,8 @@ class IlmClient(NamespacedClient):
40
40
  """
41
41
  .. raw:: html
42
42
 
43
- <p>Delete a lifecycle policy.
44
- You cannot delete policies that are currently in use. If the policy is being used to manage any indices, the request fails and returns an error.</p>
43
+ <p>Delete a lifecycle policy.</p>
44
+ <p>You cannot delete policies that are currently in use. If the policy is being used to manage any indices, the request fails and returns an error.</p>
45
45
 
46
46
 
47
47
  `<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ilm-delete-lifecycle>`_
@@ -96,8 +96,8 @@ class IlmClient(NamespacedClient):
96
96
  """
97
97
  .. raw:: html
98
98
 
99
- <p>Explain the lifecycle state.
100
- Get the current lifecycle status for one or more indices.
99
+ <p>Explain the lifecycle state.</p>
100
+ <p>Get the current lifecycle status for one or more indices.
101
101
  For data streams, the API retrieves the current lifecycle status for the stream's backing indices.</p>
102
102
  <p>The response indicates when the index entered each lifecycle state, provides the definition of the running phase, and information about any failures.</p>
103
103
 
@@ -260,8 +260,8 @@ class IlmClient(NamespacedClient):
260
260
  """
261
261
  .. raw:: html
262
262
 
263
- <p>Migrate to data tiers routing.
264
- Switch the indices, ILM policies, and legacy, composable, and component templates from using custom node attributes and attribute-based allocation filters to using data tiers.
263
+ <p>Migrate to data tiers routing.</p>
264
+ <p>Switch the indices, ILM policies, and legacy, composable, and component templates from using custom node attributes and attribute-based allocation filters to using data tiers.
265
265
  Optionally, delete one legacy index template.
266
266
  Using node roles enables ILM to automatically move the indices between data tiers.</p>
267
267
  <p>Migrating away from custom node attributes routing can be manually performed.
@@ -341,8 +341,8 @@ class IlmClient(NamespacedClient):
341
341
  """
342
342
  .. raw:: html
343
343
 
344
- <p>Move to a lifecycle step.
345
- Manually move an index into a specific step in the lifecycle policy and run that step.</p>
344
+ <p>Move to a lifecycle step.</p>
345
+ <p>Manually move an index into a specific step in the lifecycle policy and run that step.</p>
346
346
  <p>WARNING: This operation can result in the loss of data. Manually moving an index into a specific step runs that step even if it has already been performed. This is a potentially destructive action and this should be considered an expert level API.</p>
347
347
  <p>You must specify both the current step and the step to be executed in the body of the request.
348
348
  The request will fail if the current step does not match the step currently running for the index
@@ -413,8 +413,8 @@ class IlmClient(NamespacedClient):
413
413
  """
414
414
  .. raw:: html
415
415
 
416
- <p>Create or update a lifecycle policy.
417
- If the specified policy exists, it is replaced and the policy version is incremented.</p>
416
+ <p>Create or update a lifecycle policy.</p>
417
+ <p>If the specified policy exists, it is replaced and the policy version is incremented.</p>
418
418
  <p>NOTE: Only the latest version of the policy is stored, you cannot revert to previous versions.</p>
419
419
 
420
420
 
@@ -473,8 +473,8 @@ class IlmClient(NamespacedClient):
473
473
  """
474
474
  .. raw:: html
475
475
 
476
- <p>Remove policies from an index.
477
- Remove the assigned lifecycle policies from an index or a data stream's backing indices.
476
+ <p>Remove policies from an index.</p>
477
+ <p>Remove the assigned lifecycle policies from an index or a data stream's backing indices.
478
478
  It also stops managing the indices.</p>
479
479
 
480
480
 
@@ -518,8 +518,8 @@ class IlmClient(NamespacedClient):
518
518
  """
519
519
  .. raw:: html
520
520
 
521
- <p>Retry a policy.
522
- Retry running the lifecycle policy for an index that is in the ERROR step.
521
+ <p>Retry a policy.</p>
522
+ <p>Retry running the lifecycle policy for an index that is in the ERROR step.
523
523
  The API sets the policy back to the step where the error occurred and runs the step.
524
524
  Use the explain lifecycle state API to determine whether an index is in the ERROR step.</p>
525
525
 
@@ -566,8 +566,8 @@ class IlmClient(NamespacedClient):
566
566
  """
567
567
  .. raw:: html
568
568
 
569
- <p>Start the ILM plugin.
570
- Start the index lifecycle management plugin if it is currently stopped.
569
+ <p>Start the ILM plugin.</p>
570
+ <p>Start the index lifecycle management plugin if it is currently stopped.
571
571
  ILM is started automatically when the cluster is formed.
572
572
  Restarting ILM is necessary only when it has been stopped using the stop ILM API.</p>
573
573
 
@@ -619,8 +619,8 @@ class IlmClient(NamespacedClient):
619
619
  """
620
620
  .. raw:: html
621
621
 
622
- <p>Stop the ILM plugin.
623
- Halt all lifecycle management operations and stop the index lifecycle management plugin.
622
+ <p>Stop the ILM plugin.</p>
623
+ <p>Halt all lifecycle management operations and stop the index lifecycle management plugin.
624
624
  This is useful when you are performing maintenance on the cluster and need to prevent ILM from performing any actions on your indices.</p>
625
625
  <p>The API returns as soon as the stop request has been acknowledged, but the plugin might continue to run until in-progress operations complete and the plugin can be safely stopped.
626
626
  Use the get ILM status API to check whether ILM is running.</p>