[DOCS] Documents output_field behavior after multiple inference runs (#111875)

Co-authored-by: David Kyle <david.kyle@elastic.co>
This commit is contained in:
István Zoltán Szabó 2024-08-15 12:36:59 +02:00 committed by GitHub
parent 5934190539
commit 1ba72e4602
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,6 +40,11 @@ include::common-options.asciidoc[]
Select the `content` field for inference and write the result to Select the `content` field for inference and write the result to
`content_embedding`. `content_embedding`.
IMPORTANT: If the specified `output_field` already exists in the ingest document, it won't be overwritten.
The {infer} results will be appended to the existing fields within `output_field`, which could lead to duplicate fields and potential errors.
To avoid this, use an unique `output_field` field name that does not clash with any existing fields.
[source,js] [source,js]
-------------------------------------------------- --------------------------------------------------
{ {