New Elasticsearch client support (revisited)#58
New Elasticsearch client support (revisited)#58bernardocs wants to merge 13 commits intorobinfehr:masterfrom
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.
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 😃