Unexpected keyword argument called 'knn' #9990
-
I am using ElasticsearchStore from the langchain vector stores, with Elasticsearch 7.9. While performing a similarity search with Elasticsearch store, I am getting an exception that states: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi there,
Joe |
Beta Was this translation helpful? Give feedback.
-
I'm using |
Beta Was this translation helpful? Give feedback.
Hi there,
knn
which ElasticsearchStore uses by default, is not supported in Elasticsearch 7.9. I recommend updating to latest release (current is 8.9). You can read more about knn here https://www.elastic.co/guide/en/elasticsearch/reference/current/knn-search.htmlJoe