Skip to content

Commit 836b4a5

Browse files
authored
Clarify some semantic_text docs (#111329) (#111353)
1 parent 00bfd02 commit 836b4a5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ Use the <<put-inference-api>> to create the endpoint.
5252
The `inference_id` will not be validated when the mapping is created, but when documents are ingested into the index.
5353
When the first document is indexed, the `inference_id` will be used to generate underlying indexing structures for the field.
5454

55-
WARNING: Removing an inference endpoint will cause ingestion of documents and semantic queries to fail on indices that define `semantic_text` fields with that inference endpoint as their `inference_id`.
56-
Please check that inference endpoints are not used in `semantic_text` fields before removal.
55+
WARNING: Removing an {infer} endpoint will cause ingestion of documents and semantic queries to fail on indices that define `semantic_text` fields with that {infer} endpoint as their `inference_id`.
56+
Trying to <<delete-inference-api,delete an {infer} endpoint>> that is used on a `semantic_text` field will result in an error.
5757

5858
[discrete]
5959
[[auto-text-chunking]]
@@ -132,7 +132,8 @@ field data.
132132
[[update-script]]
133133
==== Updates to `semantic_text` fields
134134

135-
Updates that use scripts are not supported when the index contains a `semantic_text` field.
135+
Updates that use scripts are not supported for an index contains a `semantic_text` field.
136+
Even if the script targets non-`semantic_text` fields, the update will fail when the index contains a `semantic_text` field.
136137

137138

138139
[discrete]

0 commit comments

Comments
 (0)