Commit 1917851
[8.18] refactor(semantic_text): fail early in pre-8.11 indices (elastic#133080) (elastic#133582)
* 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
* Fix test
---------
Co-authored-by: Michail Romaios <[email protected]>
Co-authored-by: elasticsearchmachine <[email protected]>1 parent 1461740 commit 1917851
File tree
5 files changed
+94
-2
lines changed- docs/changelog
- server/src/test/java/org/elasticsearch/index/mapper/vectors
- test/framework/src/main/java/org/elasticsearch/index/mapper
- x-pack/plugin/inference/src
- main/java/org/elasticsearch/xpack/inference/mapper
- test/java/org/elasticsearch/xpack/inference/mapper
5 files changed
+94
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
102 | | - | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
524 | | - | |
| 524 | + | |
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
134 | 139 | | |
135 | 140 | | |
136 | 141 | | |
| |||
Lines changed: 81 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
95 | 96 | | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
337 | 339 | | |
338 | 340 | | |
339 | 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 | + | |
340 | 393 | | |
341 | 394 | | |
342 | 395 | | |
| |||
973 | 1026 | | |
974 | 1027 | | |
975 | 1028 | | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
976 | 1057 | | |
977 | 1058 | | |
978 | 1059 | | |
| |||
0 commit comments