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
371 stars 48 forks source link

Try Lucene VectorUtil instead/alongside PanamaFloatVectorOps #617

Closed alexklibisz closed 10 months ago

alexklibisz commented 10 months ago

Background

It looks like they've taken great care to optimize these methods: https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/util/VectorUtil.java

https://twitter.com/mikemccand/status/1720744911031410789

Deliverables

Related Issues

611

alexklibisz commented 10 months ago

This worked well in #620. Closing for now. I'll probably revisit the other vector operations as I benchmark on other datasets.