Skip to content

Commit fa3bebc

Browse files
authored
Mark semantic text inference_id param as optional (elastic#127586) (elastic#127588)
(cherry picked from commit 9f8c9c9) # Conflicts: # docs/reference/elasticsearch/mapping-reference/semantic-text.md
1 parent 5b5d7d6 commit fa3bebc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ PUT my-index-000003
6969
## Parameters for `semantic_text` fields [semantic-text-params]
7070

7171
`inference_id`
72-
: (Required, string) {{infer-cap}} endpoint that will be used to generate embeddings for the field. By default, `.elser-2-elasticsearch` is used. This parameter cannot be updated. Use the [Create {{infer}} API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put) to create the endpoint. If `search_inference_id` is specified, the {{infer}} endpoint will only be used at index time.
72+
: (Optional, string) {{infer-cap}} endpoint that will be used to generate embeddings for the field. By default, `.elser-2-elasticsearch` is used. This parameter cannot be updated. Use the [Create {{infer}} API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put) to create the endpoint. If `search_inference_id` is specified, the {{infer}} endpoint will only be used at index time.
7373

7474
`search_inference_id`
7575
: (Optional, string) {{infer-cap}} endpoint that will be used to generate embeddings at query time. You can update this parameter by using the [Update mapping API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-put-mapping). Use the [Create {{infer}} API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put) to create the endpoint. If not specified, the {{infer}} endpoint defined by `inference_id` will be used at both index and query time.
@@ -239,4 +239,4 @@ PUT test-index
239239

240240
* `semantic_text` fields are not currently supported as elements of [nested fields](/reference/elasticsearch/mapping-reference/nested.md).
241241
* `semantic_text` fields can’t currently be set as part of [Dynamic templates](docs-content://manage-data/data-store/mapping/dynamic-templates.md).
242-
* `semantic_text` fields are not currently supported with Cross-Cluster Search (CCS) or Cross-Cluster Replication (CCR).
242+
* `semantic_text` fields are not currently supported with Cross-Cluster Search (CCS) or Cross-Cluster Replication (CCR).

0 commit comments

Comments
 (0)