elasticsearch/libs
Chris Hegarty ff37f1f767
Refactor libvec to replace custom scorer types with Lucene types (#108917)
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.
2024-05-23 15:28:32 +01:00
..
cli CLI launcher / terminal improvements (#106470) 2024-05-07 16:09:52 +02:00
core ESQL: Begin optimizing Block#lookup (#108482) 2024-05-10 13:45:42 -04:00
dissect Cleanup Stream usage in various spots (#97306) 2023-07-03 14:24:57 +02:00
geo Convert most uses of BaseMatcher to TypeSafeMatcher (#105764) 2024-03-11 09:12:42 +00:00
grok Endpoint to test Grok pattern (#104394) 2024-01-24 09:35:59 +01:00
h3 Checkstyle: require braces around do, for, and while clauses (#103217) 2024-01-09 16:03:45 -05:00
log4j Patch log4j JAR to remove JndiLookup class (#81629) 2021-12-10 15:51:38 -08:00
logging Validate that stable plugins do not break compatibility (#92776) 2023-01-18 06:48:48 -05:00
lz4 Delete all unused private methods (#98111) 2023-11-25 22:21:59 +01:00
native Move Windows native functions into NativeAccess (#108873) 2024-05-23 09:37:33 -04:00
plugin-analysis-api Fix third party audit task when running with Java 20 (#94601) 2023-03-21 13:41:02 -04:00
plugin-api [Stable plugin api] Drop api suffix in package names (#92905) 2023-01-14 09:49:37 +01:00
plugin-classloader Modularize Elasticsearch (#81066) 2022-05-20 13:11:42 +01:00
plugin-scanner Update ASM to 9.7 for plugin scanner (#108822) 2024-05-20 11:56:23 -04:00
preallocate Use open and fstat in preallocate (#105171) 2024-02-07 13:40:05 -05:00
secure-sm Improve InnocuousThread permission checks handling (#91704) 2022-11-23 13:45:12 +01:00
ssl-config upgrade bouncy castle jars (#100923) 2023-11-21 11:14:41 -06:00
tdigest Make some classes final to avoid suppressing "this-escape" warning (#101699) 2023-11-02 08:34:02 -04:00
vec Refactor libvec to replace custom scorer types with Lucene types (#108917) 2024-05-23 15:28:32 +01:00
x-content Consider context in raw serialization (#106163) 2024-03-11 13:48:12 +01:00
build.gradle Only apply build to direct libs (#106101) 2024-03-08 13:48:26 -08:00