lior-k / fast-elasticsearch-vector-scoring

Score documents using embedding-vectors dot-product or cosine-similarity with ES Lucene engine
Apache License 2.0
395 stars 112 forks source link

How to support ES 7.5 #34

Closed snakeztc closed 4 years ago

snakeztc commented 4 years ago

I'm pretty new to ES. How can I modify this plugin to make it work on ES 7.5? Thanks!

lior-k commented 4 years ago

Hi Tony. I created branch es-7.5.0 for ES 7.5.0 try it out.

git checkout es-7.5.0
mvn clean install
lior-k commented 4 years ago

BTW - ES 7.2 and above has adopted the vector type & allow queries using cosine similarity. check it out: https://www.elastic.co/blog/text-similarity-search-with-vectors-in-elasticsearch

And if you feel so - compare it's performance to this plugin, and let me know. Thanks, Lior

snakeztc commented 4 years ago

Great! Thanks. Will definitely do some comparison.