beir-cellar / beir

A Heterogeneous Benchmark for Information Retrieval. Easy to use, evaluate your models across 15+ diverse IR datasets.
http://beir.ai
Apache License 2.0
1.55k stars 186 forks source link

Unable to create Index in Elastic Search #34

Closed pritamdeka closed 3 years ago

pritamdeka commented 3 years ago

I am getting an error when running the bm25 evaluation file.

Unable to create Index in Elastic Search. Reason: The client noticed that the server is not a supported distribution of Elasticsearch The error was not there last week when I ran the file. I am using Colab to run the file. Any idea what maybe the issue here?

pritamdeka commented 3 years ago

Found the reason for the error. The latest versions of elasticsearch does not work with the 7.9.2 version. The version of elasticsearch should be downgraded to 7.9.1 which is compatible with version 7.9.2. In other words just use this code

!pip install elasticsearch==7.9.1