Commit 3bf4f28
committed
[semantic_text] Warn on inference endpoint not created
This change fixes when we warn users that create a semantic_text field that points to a non-existing inference endpoint.
The logging should happen only when the inference endpoint is checked against the registry and cases that don't use the registry
should ignore it (recovery).1 parent ac6c7a9 commit 3bf4f28
File tree
1 file changed
+7
-8
lines changed- x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/mapper
1 file changed
+7
-8
lines changedLines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
305 | 312 | | |
306 | 313 | | |
307 | 314 | | |
308 | 315 | | |
309 | 316 | | |
310 | 317 | | |
311 | 318 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | 319 | | |
321 | 320 | | |
322 | 321 | | |
| |||
0 commit comments