Skip to content

Commit 5bc7400

Browse files
committed
apply review comment
1 parent 838e740 commit 5bc7400

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,6 @@ PUT test-index
360360
1. Ensures that highlighting is applied exclusively to semantic_text fields.
361361

362362
## Updates and partial updates for `semantic_text` fields [semantic-text-updates]
363-
{applies_to}
364-
stack: ga 9.0
365363

366364
When updating documents that contain `semantic_text` fields, it’s important to understand how inference is triggered:
367365

@@ -374,9 +372,7 @@ When updating documents that contain `semantic_text` fields, it’s important to
374372
* **Partial updates using the Update API**
375373
When using the [Update API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-update) with a `doc` object that **omits `semantic_text` fields**, inference **will still run** on all `semantic_text` fields. This means that even if the field values are not changed, embeddings will be re-generated.
376374

377-
### Best practices
378-
379-
* If you want to avoid unnecessary inference and keep existing embeddings:
375+
If you want to avoid unnecessary inference and keep existing embeddings:
380376

381377
* Use **partial updates through the Bulk API**.
382378
* Omit any `semantic_text` fields that did not change from the `doc` object in your request.

0 commit comments

Comments
 (0)