|
@@ -28,7 +28,10 @@ service.
|
|
|
|
|
|
Using `semantic_text`, you won’t need to specify how to generate embeddings for
|
|
|
your data, or how to index it. The {{infer}} endpoint automatically determines
|
|
|
-the embedding generation, indexing, and query to use.
|
|
|
+the embedding generation, indexing, and query to use.
|
|
|
+Newly created indices with `semantic_text` fields using dense embeddings will be
|
|
|
+[quantized](/reference/elasticsearch/mapping-reference/dense-vector.md#dense-vector-quantization)
|
|
|
+to `bbq_hnsw` automatically.
|
|
|
|
|
|
If you use the preconfigured `.elser-2-elasticsearch` endpoint, you can set up
|
|
|
`semantic_text` with the following API request:
|
|
@@ -246,10 +249,15 @@ is not supported for querying the field data.
|
|
|
|
|
|
## Updates to `semantic_text` fields [update-script]
|
|
|
|
|
|
-For indices containing `semantic_text` fields, updates that use scripts have the following behavior:
|
|
|
+For indices containing `semantic_text` fields, updates that use scripts have the
|
|
|
+following behavior:
|
|
|
|
|
|
-* Are supported through the [Update API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-update).
|
|
|
-* Are not supported through the [Bulk API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-bulk-1) and will fail. Even if the script targets non-`semantic_text` fields, the update will fail when the index contains a `semantic_text` field.
|
|
|
+* Are supported through
|
|
|
+ the [Update API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-update).
|
|
|
+* Are not supported through
|
|
|
+ the [Bulk API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-bulk-1)
|
|
|
+ and will fail. Even if the script targets non-`semantic_text` fields, the
|
|
|
+ update will fail when the index contains a `semantic_text` field.
|
|
|
|
|
|
## `copy_to` and multi-fields support [copy-to-support]
|
|
|
|
|
@@ -311,4 +319,5 @@ PUT test-index
|
|
|
of [nested fields](/reference/elasticsearch/mapping-reference/nested.md).
|
|
|
* `semantic_text` fields can’t currently be set as part
|
|
|
of [Dynamic templates](docs-content://manage-data/data-store/mapping/dynamic-templates.md).
|
|
|
-* `semantic_text` fields are not supported with Cross-Cluster Search (CCS) or Cross-Cluster Replication (CCR).
|
|
|
+* `semantic_text` fields are not supported with Cross-Cluster Search (CCS) or
|
|
|
+ Cross-Cluster Replication (CCR).
|