-
Notifications
You must be signed in to change notification settings - Fork 56
[RFC] K-NN #1
Comments
Can be this refactored so that the Lucene part and the Elasticsearch become two different separate projects. I was thinking of porting this to Solr as a plugin. |
Hi @aalbahem , Thanks for the suggestion. As of now we are just focusing on Elasticsearch plugin development. |
Hi @vamshin its great you guys are working on this. My hopes were high for this feature to be in Elasticsearch but since when they decided to make it X pack i really understood the value of what Open Distro is doing here. I have some general question - sorry if this should be obvious - how is this different from the feature in Elastic from your point of view? Could you simply not reuse what was Apache before this commit https://github.com/elastic/elasticsearch/pull/43280/files and then extend from there? (there is value in remaining somehow aligned) Will you provide the extension to painless so that one can do custom scoring also considering vectors? |
Hi @JackRyanson, Opendistro knn works seamlessly and does not require any additional scripting for scoring. Opendistro knn currently uses Euclidean distance to measure similarity. We do plan to support other similarity measures . Yes, we do plan to provide extension to painless for custom scoring. Let us know if you have any other questions. |
Hello :) To echo the above, its great you guys are working on this! I've been trying to use the plugin but I keep running into this issue when loading the libKNNIndexV1_7_3_6.so library.
|
Hi @antonisloizou , From initial observation, looks like compatibility issue of .so lib. Can you help us understand, the environment where you are installing the plugin like os, cpu family etc. Creating an issue to follow up more on this on a different thread |
Following the RFC.md, I got "{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"unknown value for [index.codec] must be one of [default, best_compression] but was: KNNCodec"}],"type":"illegal_argument_exception","reason":"unknown value for [index.codec] must be one of [default, best_compression] but was: KNNCodec"},"status":400}". May I ask what did I do wrong? |
We have updated knn index creation procedure recently. We are yet to update RFC.md. Instead of Example :-
|
The purpose of this issue is to capture feedback and comments regarding the project's request for comments.
The text was updated successfully, but these errors were encountered: