Commit dfeb790
committed
[semantic_text] Warn on inference endpoint not created (elastic#127574)
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 a5a3ef2 commit dfeb790
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 | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
306 | 313 | | |
307 | 314 | | |
308 | 315 | | |
309 | 316 | | |
310 | 317 | | |
311 | 318 | | |
312 | 319 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | 320 | | |
322 | 321 | | |
323 | 322 | | |
| |||
0 commit comments