csev / pg4e

PostgreSQL For Everybody
34 stars 24 forks source link

Elasticsearch: change install instructions (version 7.13.x) #7

Closed arwhyte closed 2 years ago

arwhyte commented 2 years ago

SIADS 611 students are reporting errors when attempting to run the latest version of elasticsearch.

Issue When running elasticbook.py, it returns the following error message:

UnsupportedProductError: The client noticed that the server is not Elasticsearch and we do not support this unknown product

This indicates a compatibility issue with the most recent version of the Python elasticsearch package.

Resolution Limit version to 7.13.x and update instructions.

pip install elasticsearch

to

pip install 'elasticsearch<7.14.0'

All references updated except instructions found in pg4e_pyaw_es.md (Python Anywhere). Unclear if this environment is also affected.