Skip to content

Commit

Permalink
Clarify some semantic_text docs (#111329) (#111353)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest authored Jul 26, 2024
1 parent 00bfd02 commit 836b4a5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/reference/mapping/types/semantic-text.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ Use the <<put-inference-api>> to create the endpoint.
The `inference_id` will not be validated when the mapping is created, but when documents are ingested into the index.
When the first document is indexed, the `inference_id` will be used to generate underlying indexing structures for the field.

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`.
Please check that inference endpoints are not used in `semantic_text` fields before removal.
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`.
Trying to <<delete-inference-api,delete an {infer} endpoint>> that is used on a `semantic_text` field will result in an error.

[discrete]
[[auto-text-chunking]]
Expand Down Expand Up @@ -132,7 +132,8 @@ field data.
[[update-script]]
==== Updates to `semantic_text` fields

Updates that use scripts are not supported when the index contains a `semantic_text` field.
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.


[discrete]
Expand Down

0 comments on commit 836b4a5

Please sign in to comment.