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/inference/delete-inference.asciidoc
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,13 +49,12 @@ The type of {infer} task that the model performs.
49
49
50
50
`dry_run`::
51
51
(Optional, Boolean)
52
-
When `true`, checks the {infer} processors that reference the endpoint and
53
-
returns them in a list, but does not delete the endpoint. Defaults to `false`.
52
+
When `true`, checks the `semantic_text` fields and {infer} processors that reference the endpoint and returns them in a list, but does not delete the endpoint.
53
+
Defaults to `false`.
54
54
55
55
`force`::
56
56
(Optional, Boolean)
57
-
Deletes the endpoint regardless if it's used in an {infer} pipeline or in a
58
-
`semantic_text` field.
57
+
Deletes the endpoint regardless if it's used in a `semantic_text` field or in an {infer} pipeline.
The recommended way to use semantic_text is by having dedicated {infer} endpoints for ingestion and search.
38
+
This ensures that search speed remains unaffected by ingestion workloads, and vice versa.
39
+
After creating dedicated {infer} endpoints for both, you can reference them using the `inference_id` and `search_inference_id` parameters when setting up the index mapping for an index that uses the `semantic_text` field.
Inference endpoint that will be used to generate the embeddings for the field.
65
+
{infer-cap} endpoint that will be used to generate the embeddings for the field.
45
66
Use the <<put-inference-api>> to create the endpoint.
67
+
If `search_inference_id` is specified, the {infer} endpoint defined by `inference_id` will only be used at index time.
46
68
69
+
`search_inference_id`::
70
+
(Optional, string)
71
+
{infer-cap} endpoint that will be used to generate embeddings at query time.
72
+
Use the <<put-inference-api>> to create the endpoint.
73
+
If not specified, the {infer} endpoint defined by `inference_id` will be used at both index and query time.
47
74
48
75
[discrete]
49
76
[[infer-endpoint-validation]]
@@ -55,6 +82,7 @@ When the first document is indexed, the `inference_id` will be used to generate
55
82
WARNING: Removing an {infer} endpoint will cause ingestion of documents and semantic queries to fail on indices that define `semantic_text` fields with that {infer} endpoint as their `inference_id`.
56
83
Trying to <<delete-inference-api,delete an {infer} endpoint>> that is used on a `semantic_text` field will result in an error.
57
84
85
+
58
86
[discrete]
59
87
[[auto-text-chunking]]
60
88
==== Automatic text chunking
@@ -183,6 +211,7 @@ PUT test-index/_bulk
183
211
184
212
Notice that both the `semantic_text` field and the source field are updated in the bulk request.
0 commit comments