You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/elasticsearch/mapping-reference/semantic-text.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -546,7 +546,7 @@ serverless: ga
546
546
547
547
:::{important}
548
548
The recommended method for retrieving embeddings differs between {{es}} versions 9.2 and earlier.
549
-
For instructions on retrieving embeddings in versions earlier than 9.2, refer to [Returning semantic field embeddings using `fields`](#retrieve-embeddings-9.0-9.1).
549
+
For instructions on retrieving embeddings in versions earlier than 9.2, refer to [Returning semantic field embeddings using `fields`](#return-embeddings-fields).
550
550
:::
551
551
552
552
By default, the embeddings generated for `semantic_text` fields are stored internally and **not included in `_source`** when retrieving documents.
@@ -704,14 +704,15 @@ semantic search for `semantic_text` fields:
704
704
2. Lists details about the model used to generate embeddings, such as the service name and task type.
705
705
3. The embeddings generated for this chunk.
706
706
707
-
## Returning semantic field embeddings using `fields`[retrieve-embeddings-9.0-9.1]
707
+
## Returning semantic field embeddings using `fields`[return-embeddings-fields]
708
708
709
-
:::{warning}
710
-
This method is only recommended for {{es}} versions earlier than 9.2.
709
+
:::{important}
710
+
This method for returning semantic field embeddings is recommended only for {{es}} versions earlier than 9.2.
711
711
For version 9.2 and later, use the [`exclude_vectors`](#troubleshooting-semantic-text-fields) parameter instead.
712
712
:::
713
713
714
714
To retrieve stored embeddings, use the `fields` parameter with `_inference_fields`. This lets you include the vector data that is not shown by default in the response.
715
+
The `fields` parameter only works with the `_search` endpoint.
0 commit comments