alexklibisz / elastiknn

Elasticsearch plugin for nearest neighbor search. Store vectors and run similarity search using exact and approximate algorithms.
https://alexklibisz.github.io/elastiknn
Apache License 2.0
370 stars 48 forks source link

Remove getClassLoader permissions in plugin-security.policy #656

Closed alexklibisz closed 6 months ago

alexklibisz commented 6 months ago

Related Issue

393

Changes

Avoiding the use of scala's Array and ArrayBuffer because they require the use of ClassTag, which requires extra permissions to be used in Elasticsearch. These permissions have been enabled for a while now, and I went down the rabbithole of potentially adding more for Scala 3, so I'd rather get rid of them now that I know how.

Specifically:

Testing and Validation

Standard CI and benchmarking.