Commit d29bb8a
[9.0] refactor(semantic_text): fail early in pre-8.11 indices (elastic#133080) (elastic#133578)
* refactor(semantic_text): fail early in pre-8.11 indices (elastic#133080)
* fix(semantic_text): index underlying dense_vector field in older indices
* Update docs/changelog/133080.yaml
* [CI] Auto commit changes from spotless
* update msg, change versions, add ut
* indent
* remove todo
* [CI] Auto commit changes from spotless
* update msg
* [CI] Auto commit changes from spotless
* add densevectormapper indexed ut
* [CI] Auto commit changes from spotless
* fix ut
* undo accidental ut removal
* [CI] Auto commit changes from spotless
* Update docs/changelog/133080.yaml
Co-authored-by: Kathleen DeRusso <[email protected]>
* remove sparse_vector exception change
* [CI] Auto commit changes from spotless
* reverting most of the stuff
* removing unused import, rename test
* [CI] Auto commit changes from spotless
* syntax
* revisit changelog
* revisit changelog
* Update docs/changelog/133080.yaml
Co-authored-by: Kathleen DeRusso <[email protected]>
* Update x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/mapper/SemanticTextFieldMapper.java
Co-authored-by: Kathleen DeRusso <[email protected]>
* changelog format
* fix UT
---------
Co-authored-by: elasticsearchmachine <[email protected]>
Co-authored-by: Kathleen DeRusso <[email protected]>
(cherry picked from commit 8f41a4b)
# Conflicts:
# server/src/test/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldMapperTests.java
# x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/mapper/SemanticTextFieldMapper.java
# x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/mapper/SemanticTextFieldMapperTests.java
* [CI] Auto commit changes from spotless
---------
Co-authored-by: Michail Romaios <[email protected]>
Co-authored-by: elasticsearchmachine <[email protected]>1 parent 1a1632f commit d29bb8a
File tree
3 files changed
+65
-0
lines changed- docs/changelog
- x-pack/plugin/inference/src
- main/java/org/elasticsearch/xpack/inference/mapper
- test/java/org/elasticsearch/xpack/inference/mapper
3 files changed
+65
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
| |||
110 | 113 | | |
111 | 114 | | |
112 | 115 | | |
| 116 | + | |
| 117 | + | |
113 | 118 | | |
114 | 119 | | |
115 | 120 | | |
| |||
129 | 134 | | |
130 | 135 | | |
131 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
132 | 140 | | |
133 | 141 | | |
134 | 142 | | |
| |||
Lines changed: 52 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
339 | 340 | | |
340 | 341 | | |
341 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
342 | 394 | | |
343 | 395 | | |
344 | 396 | | |
| |||
0 commit comments