mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
This commit refactors libvec to replace custom scorer types with Lucene types. The initial implementation created separate types to model the vector scorer with an adapter between them and the Lucene types. This was done to avoid a dependency on Lucene from the native module. This is no longer an issue, since the code is now separated from the native module already, and in fact already depends on Lucene. This PR drops the custom types infavour of the Lucene ones. This will help future refactoring, and avoid bugs by reusing the existing and know model in this area. I also took the liberty of reflowing the code to match that of the recent change in Lucene to support off-heap scoring - this code is now very similar to that, and will become even more clean and streamlined in the lucene_snapshot branch. This refactoring is not directly dependent on the next version of Lucene, so it done in main. |
||
---|---|---|
.. | ||
cli | ||
core | ||
dissect | ||
geo | ||
grok | ||
h3 | ||
log4j | ||
logging | ||
lz4 | ||
native | ||
plugin-analysis-api | ||
plugin-api | ||
plugin-classloader | ||
plugin-scanner | ||
preallocate | ||
secure-sm | ||
ssl-config | ||
tdigest | ||
vec | ||
x-content | ||
build.gradle |