Advantages over Elasticsearch kNN #511
-
Hi, I'm learning about vector similarity search in Elasticsearch and have recently come across this plugin as an alternative to the default kNN implementation. I understand that previously Elasticsearch did not support approximate nearest-neighbor search, but aNN was actually implemented in version 8.0. So I've been wondering - what are the advantages of elastiknn over the native Elasticsearch implementation at this point? Here are some advantages I can see from what I've read so far:
Looking forward to your answers 🙂 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, I have only used Elasticsearch kNN for some very quick/simple experiments, several months ago. So take this with that grain of salt. The first two you pointed out are accurate. Elastiknn also supports sparse vectors; AFAIK, elasticsearch does not. Whether LSH is an advantage I guess depends on the problem and dataset at hand. I think HNSW is better on most benchmarks. |
Beta Was this translation helpful? Give feedback.
Thank you, @alexklibisz, that's very helpful!