Skip to content

Commit fe8c7c4

Browse files
authored
[DOCS][8.x] Clarify update behavior for indices with semantic_text fields, flag CCS/CCR limitation (elastic#127319)
1 parent de01c84 commit fe8c7c4

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
@@ -222,8 +222,10 @@ In these cases - when you use `sparse_vector` or `dense_vector` field types inst
222222
[[update-script]]
223223
==== Updates to `semantic_text` fields
224224

225-
Updates that use scripts are not supported for an index contains a `semantic_text` field.
226-
Even if the script targets non-`semantic_text` fields, the update will fail when the index contains a `semantic_text` field.
225+
For indices containing `semantic_text` fields, updates that use scripts have the following behavior:
226+
227+
* Are supported through the https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-update[Update API].
228+
* 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.
227229

228230
[discrete]
229231
[[copy-to-support]]
@@ -285,3 +287,4 @@ PUT test-index
285287

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

0 commit comments

Comments
 (0)