-
Notifications
You must be signed in to change notification settings - Fork 22
New Elasticsearch client support (revisited) #58
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
base: master
Are you sure you want to change the base?
Conversation
|
Also identified (here) that the new ElasticSearch client requires Node I'll try to run a linter later |
|
The tests that worked on TravisCI fail locally |
|
can you remove the package-lock.json file and not yet update the version in the package.json? |
you can try to include your new |
|
ElasticSearch new package ( |
package.json
Outdated
| "lib": "./lib" | ||
| }, | ||
| "dependencies": { | ||
| "@elastic/elasticsearch": "^7.5.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please move this to devDependencies
|
I noticed that the Elasticsearch store implementation tries to use TTL as a mean to invalidate sessions (correct me if I'm wrong)... but there's a problem with that: TTL feature has been deprecated since version 5.x and removed altogether on version 7.x The tests throw an error when trying to put session mapping with
Should we review the support for ElasticSearch altogether? 👀 Refer to (...) for more info: |
|
I'm not an elasticsearch expert... maybe we should ask @jackpilowsky @tony-cocco @ewjmulder ? |
|
_timestamp and _ttl https://www.elastic.co/guide/en/elasticsearch/reference/5.0/breaking_50_mapping_changes.html |
|
I will need this regardless in the long term, but my team is not ready to move to ES 7 yet and my backlog is looking pretty long. Might take a few weeks before I can create a workaround |
|
@adrai I would have liked to help out but since that one fix PR in 2016 I've not worked much with elasticsearch, so I'm afraid I cannot be of any help, good luck! |
|
Please check jackpilowsky@d3cba7c I had to make significant changes to the way the library works. Some functions don't work with globbed index names (client.exists and client.get in particular). |
Fixes #52
Revisiting PR #53
Did a rebase with
masterI got a little confused over the tests though... I would probably welcome some advice on these. I'll try to include it later anyway 😃