Commit a72883e
authored
Default new semantic_text fields to use BBQ when models are compatible (elastic#126629)
* Default new semantic_text fields to use BBQ when models are compatible
* Update docs/changelog/126629.yaml
* Gate default BBQ by IndexVersion
* Cleanup from PR feedback
* PR feedback
* Fix test
* Fix test
* PR feedback
* Update test to test correct options
* Hack alert: Fix issue where mapper service was always being created with current index version1 parent 0d41e9a commit a72883e
File tree
7 files changed
+218
-37
lines changed- docs/changelog
- server/src/main/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
7 files changed
+218
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
| |||
Lines changed: 51 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
293 | 298 | | |
294 | 299 | | |
295 | 300 | | |
| |||
1221 | 1226 | | |
1222 | 1227 | | |
1223 | 1228 | | |
1224 | | - | |
| 1229 | + | |
1225 | 1230 | | |
1226 | 1231 | | |
1227 | 1232 | | |
| |||
1230 | 1235 | | |
1231 | 1236 | | |
1232 | 1237 | | |
1233 | | - | |
1234 | | - | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
1235 | 1249 | | |
1236 | 1250 | | |
1237 | 1251 | | |
1238 | 1252 | | |
| 1253 | + | |
1239 | 1254 | | |
1240 | 1255 | | |
1241 | 1256 | | |
1242 | 1257 | | |
1243 | | - | |
1244 | | - | |
1245 | | - | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
1246 | 1266 | | |
1247 | | - | |
| 1267 | + | |
1248 | 1268 | | |
1249 | 1269 | | |
1250 | 1270 | | |
| |||
1747 | 1767 | | |
1748 | 1768 | | |
1749 | 1769 | | |
1750 | | - | |
| 1770 | + | |
1751 | 1771 | | |
1752 | 1772 | | |
1753 | 1773 | | |
1754 | 1774 | | |
1755 | | - | |
| 1775 | + | |
1756 | 1776 | | |
1757 | 1777 | | |
1758 | 1778 | | |
| |||
1890 | 1910 | | |
1891 | 1911 | | |
1892 | 1912 | | |
1893 | | - | |
| 1913 | + | |
1894 | 1914 | | |
1895 | 1915 | | |
1896 | 1916 | | |
1897 | | - | |
| 1917 | + | |
1898 | 1918 | | |
1899 | 1919 | | |
1900 | 1920 | | |
| |||
1936 | 1956 | | |
1937 | 1957 | | |
1938 | 1958 | | |
1939 | | - | |
1940 | | - | |
1941 | | - | |
| 1959 | + | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
| 1963 | + | |
| 1964 | + | |
1942 | 1965 | | |
1943 | | - | |
| 1966 | + | |
1944 | 1967 | | |
1945 | 1968 | | |
1946 | 1969 | | |
| |||
1984 | 2007 | | |
1985 | 2008 | | |
1986 | 2009 | | |
1987 | | - | |
1988 | | - | |
1989 | | - | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
1990 | 2016 | | |
1991 | | - | |
| 2017 | + | |
1992 | 2018 | | |
| 2019 | + | |
1993 | 2020 | | |
1994 | 2021 | | |
1995 | | - | |
| 2022 | + | |
1996 | 2023 | | |
1997 | 2024 | | |
1998 | 2025 | | |
| |||
2311 | 2338 | | |
2312 | 2339 | | |
2313 | 2340 | | |
| 2341 | + | |
| 2342 | + | |
| 2343 | + | |
| 2344 | + | |
2314 | 2345 | | |
2315 | 2346 | | |
2316 | 2347 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
210 | 217 | | |
211 | 218 | | |
212 | 219 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| 138 | + | |
| 139 | + | |
136 | 140 | | |
137 | 141 | | |
138 | 142 | | |
| |||
1054 | 1058 | | |
1055 | 1059 | | |
1056 | 1060 | | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
1057 | 1070 | | |
1058 | 1071 | | |
1059 | 1072 | | |
1060 | 1073 | | |
1061 | 1074 | | |
1062 | 1075 | | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
1063 | 1085 | | |
1064 | 1086 | | |
1065 | 1087 | | |
| |||
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
117 | 124 | | |
118 | 125 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 126 | + | |
124 | 127 | | |
125 | 128 | | |
126 | 129 | | |
127 | 130 | | |
128 | | - | |
| 131 | + | |
129 | 132 | | |
130 | 133 | | |
131 | 134 | | |
| |||
134 | 137 | | |
135 | 138 | | |
136 | 139 | | |
| 140 | + | |
137 | 141 | | |
0 commit comments