Skip to content

Commit 6b3286f

Browse files
authored
[DOCS][8.x] Clarify update behavior for indices with semantic_text fields, flag CCS/CCR limitation (#127319) (#127340)
1 parent 50d536f commit 6b3286f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/reference/mapping/types/semantic-text.asciidoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,10 @@ field data.
200200
[[update-script]]
201201
==== Updates to `semantic_text` fields
202202

203-
Updates that use scripts are not supported for an index contains a `semantic_text` field.
204-
Even if the script targets non-`semantic_text` fields, the update will fail when the index contains a `semantic_text` field.
203+
For indices containing `semantic_text` fields, updates that use scripts have the following behavior:
204+
205+
* Are supported through the https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-update[Update API].
206+
* Are not supported through the https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-bulk-1[Bulk API] and will fail. Even if the script targets non-`semantic_text` fields, the update will fail when the index contains a `semantic_text` field.
205207

206208

207209
[discrete]
@@ -265,3 +267,4 @@ PUT test-index
265267

266268
* `semantic_text` fields are not currently supported as elements of <<nested,nested fields>>.
267269
* `semantic_text` fields can't currently be set as part of <<dynamic-templates>>.
270+
* `semantic_text` fields are currently not supported with Cross-Cluster Search (CCS) or Cross-Cluster Replication (CCR).

0 commit comments

Comments
 (0)