Skip to content

Commit 7b95ec4

Browse files
authored
[DOCS] Clarify update behavior for indices with semantic_text fields, flag CCS/CCR limitation (#127310)
1 parent 792b242 commit 7b95ec4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

+5-4
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,10 @@ is not supported for querying the field data.
247247

248248
## Updates to `semantic_text` fields [update-script]
249249

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

254255
## `copy_to` and multi-fields support [copy-to-support]
255256

@@ -311,4 +312,4 @@ PUT test-index
311312
of [nested fields](/reference/elasticsearch/mapping-reference/nested.md).
312313
* `semantic_text` fields can’t currently be set as part
313314
of [Dynamic templates](docs-content://manage-data/data-store/mapping/dynamic-templates.md).
314-
315+
* `semantic_text` fields are not supported with Cross-Cluster Search (CCS) or Cross-Cluster Replication (CCR).

0 commit comments

Comments
 (0)