Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elasticsearch example: simplify setup #2778

Merged
merged 4 commits into from
Jun 28, 2024

Conversation

maxjakob
Copy link
Contributor

The instructions to run locally were simplified to omit TLS:
https://www.elastic.co/guide/en/elasticsearch/reference/current/run-elasticsearch-locally.html
Hence we can simplify this example script to skip the ssl_context part.

Also, the hosts can now be a single URL and don't have to be a keyword arg anymore (see docs).

maxjakob added 3 commits May 21, 2024 14:02
The instructions to run locally were simplified to omit TLS. Hence we
can simplify this example script to skip the ssl_context part.
@tomaarsen
Copy link
Collaborator

Hello!

Excellent - thank you for taking the time to keep this up to date with the latest from ES! I'll try to run this myself to verify that it works.

  • Tom Aarsen

@tomaarsen
Copy link
Collaborator

Works wonderfully as long as you use ES v8.0+, otherwise the authentication gets ignored (I believe because you have to use http_auth instead of basic_auth for v7.0 or older).

Thank you for this!

  • Tom Aarsen

@tomaarsen tomaarsen merged commit a2b4da1 into UKPLab:master Jun 28, 2024
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants