Skip to content

Commit 3ef1f50

Browse files
Auto-generated API code
1 parent 9ac9f41 commit 3ef1f50

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

elasticsearch/_async/client/indices.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,8 @@ async def delete_template(
11201120
"""
11211121
.. raw:: html
11221122
1123-
<p>Delete a legacy index template.</p>
1123+
<p>Delete a legacy index template.
1124+
IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8.</p>
11241125
11251126
11261127
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/indices-delete-template-v1.html>`_
@@ -2716,7 +2717,7 @@ async def get_template(
27162717
"""
27172718
.. raw:: html
27182719
2719-
<p>Get index templates.
2720+
<p>Get legacy index templates.
27202721
Get information about one or more index templates.</p>
27212722
<p>IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8.</p>
27222723
@@ -3742,7 +3743,7 @@ async def put_template(
37423743
"""
37433744
.. raw:: html
37443745
3745-
<p>Create or update an index template.
3746+
<p>Create or update a legacy index template.
37463747
Index templates define settings, mappings, and aliases that can be applied automatically to new indices.
37473748
Elasticsearch applies templates to new indices based on an index pattern that matches the index name.</p>
37483749
<p>IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8.</p>

elasticsearch/_sync/client/indices.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,8 @@ def delete_template(
11201120
"""
11211121
.. raw:: html
11221122
1123-
<p>Delete a legacy index template.</p>
1123+
<p>Delete a legacy index template.
1124+
IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8.</p>
11241125
11251126
11261127
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/indices-delete-template-v1.html>`_
@@ -2716,7 +2717,7 @@ def get_template(
27162717
"""
27172718
.. raw:: html
27182719
2719-
<p>Get index templates.
2720+
<p>Get legacy index templates.
27202721
Get information about one or more index templates.</p>
27212722
<p>IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8.</p>
27222723
@@ -3742,7 +3743,7 @@ def put_template(
37423743
"""
37433744
.. raw:: html
37443745
3745-
<p>Create or update an index template.
3746+
<p>Create or update a legacy index template.
37463747
Index templates define settings, mappings, and aliases that can be applied automatically to new indices.
37473748
Elasticsearch applies templates to new indices based on an index pattern that matches the index name.</p>
37483749
<p>IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8.</p>

0 commit comments

Comments
 (0)