Commit 70176c8
authored
Reload KnnVectorsFormat in Lucene SPI registry. (elastic#129197)
In order for plugins to extend Lucene's KnnVectorsFormat, we need to reload
it along with other Lucene SPIs when the plugin classloader is created.
This commit adds the call to KnnVectorsFormat.reloadKnnVectorsFormat(loader)
in reloadLuceneSPI method, allowing full extension of Lucene's vector functionality through plugins.1 parent 1e5329c commit 70176c8
File tree
1 file changed
+2
-0
lines changed- server/src/main/java/org/elasticsearch/plugins
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
477 | 478 | | |
478 | 479 | | |
479 | 480 | | |
| 481 | + | |
480 | 482 | | |
481 | 483 | | |
482 | 484 | | |
| |||
0 commit comments