Skip to content

Commit 275d640

Browse files
authored
[9.0] [DOCS] Clarify update behavior for indices with semantic_text fields, flag CCS/CCR limitation (#127310) (#127311)
* [DOCS] Clarify update behavior for indices with semantic_text fields, flag CCS/CCR limitation (#127310) (cherry picked from commit 7b95ec4) # Conflicts: # docs/reference/elasticsearch/mapping-reference/semantic-text.md * fix wording
1 parent 1741ccb commit 275d640

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/reference/elasticsearch/mapping-reference/semantic-text.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,10 @@ In case you want to customize data indexing, use the [`sparse_vector`](/referenc
158158

159159
## Updates to `semantic_text` fields [update-script]
160160

161-
Updates that use scripts are not supported for an index contains a `semantic_text` field. Even if the script targets non-`semantic_text` fields, the update will fail when the index contains a `semantic_text` field.
161+
For indices containing `semantic_text` fields, updates that use scripts have the following behavior:
162162

163+
* Are supported through the [Update API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-update).
164+
* Are not supported through the [Bulk API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-bulk-1) and will fail. Even if the script targets non-`semantic_text` fields, the update will fail when the index contains a `semantic_text` field.
163165

164166
## `copy_to` and multi-fields support [copy-to-support]
165167

@@ -213,4 +215,4 @@ PUT test-index
213215

214216
* `semantic_text` fields are not currently supported as elements of [nested fields](/reference/elasticsearch/mapping-reference/nested.md).
215217
* `semantic_text` fields can’t currently be set as part of [Dynamic templates](docs-content://manage-data/data-store/mapping/dynamic-templates.md).
216-
218+
* `semantic_text` fields are not currently supported with Cross-Cluster Search (CCS) or Cross-Cluster Replication (CCR).

0 commit comments

Comments
 (0)