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
ES 6.x support #756
Comments
Hi @peter-hank, the libraries should in general support Elasticsearch 6.x, but it might require some additional configuration, namely when it comes to removal of types. Eg. the Also, the tests and examples haven't been yet updated to 6.x, which is something needed... We do plan to support 6.x as soon as possible in the default configuration of the gems, but I don't have a concrete date. |
@karmi In order to test this, I guess I must use the master branch ? (Also, maybe you want some help to update the tests and examples ?) |
Just anecdotal evidence, I have been seeing HTTP 406 errors on 6.x, haven't dug into why though.
|
How can I have the elasticsearch 6 with elasticsearch-rails 5 ?
|
@tenaz3, so what is exactly the problem with 6 and 5? The gem 'elasticsearch', '~> 6'
gem 'elasticsearch-model', '~> 5' this is what I see after running
which seems to satisfy the requirement? |
@Aesthetikx, this would indicate that you're using an older |
@karmi Your suggestion works. However, since v5.0.1,
Following your suggestion to add this to Gemfile
Note that it will install |
Are there any updates on the timeline for this? It looks like master is pointing towards 6.0alpha now? ES is officially at 6.1.3 as of January. |
It would be wonderful to have an ETA, are we looking at Q2 or Q3? |
Right! We are looking at investing some significant effort into the |
it doesn't works for elasticsearch-persistence
|
@jalberto, that's really strange, can you post your Gemfile (and possibly a Ruby version), so I can run it? |
ruby 2.4.1 My Gemfile is quite long but this is the relevant part:
This is lockfile relevant part with versions set to 5.x:
|
This requirement In order to support both 5.x and 6.x, this requirement must be changed to |
Sorry for the silence here. @leifcr's suggestion sounds right, would that work for you. As I wrote in the other tickets, I still need to focus on other responsibilities at the moment, but we're planning a significant attention to the |
@karmi I still need to test that solution, but if it works is good to go. |
@jalberto , let me know please. I'll find a time to try a |
As a note for the curious, for example this kind of parent-child type does not work: Where it says something like:
This is the kind of document/test which would need to be updated and operate fairly differently than previous ES versions. In my case, I may need to do a gradual migration between ES vOld and ES v6, so it would be nice for class names to be entirely different so a ESv2 gem could be run simultaneously with a ESv6 gem during transition. But not sure if that makes sense for the maintainers. |
PR #797 is missing fixing the parent relationship tests to use join mapping instead of _parent. |
Hi all Is there any reason you think we should keep this issue open seeing as we have active development now in the 6.x branch? |
@estolfo Please keep this issue open until support for 6.0 is shipped. It will be a nice indicator how things are progressing for everyone interested. |
ok, no problem |
@estolfo How come the label for this issue is |
Sorry @kaspergrubbe, I put that label when I originally asked if I could close the issue. I'll take that label off now. |
Hello, I wanted to let you all know that there are a 6.0.0.pre versions available of the elasticsearch-rails, elasticsearch-model, and elasticsearch-persistence gems, if you'd like to try them out in your testing environments. |
I'm pinging this thread again to remind everyone that a 6.0.0.pre version is available for the rails integration gems. Please open an issue if you find any. |
6.0.0 of the rails integration gems is released. |
@estolfo looks like |
Hi @jalberto |
thanks @estolfo still I cannot see a "breaking changes" list, will be very useful for a migration from 5.x to 6.x. Also will be great to know why those breaking changes happened, in particular if not deprecation warnings has been implemented. I am sure there are good reasons behind that decisions, still a good practice. |
Hi @jalberto, I've created entries for the two releases (6.0.0.pre and 6.0.0) and put the list of changes there. I've also included a list of breaking changes in the details for 6.0.0. Please let me know if there's anything else I can do to make the change log clearer for these versions. |
thanks @estolfo that is what I needed.Great work. |
@jalberto |
I'm going to close this issue, as the gems supporting Elasticsearch 6.0 have been released for over a week. |
Does the gem support Elasticsearch 6.x? If not, do you plan to support it anytime soon?
The text was updated successfully, but these errors were encountered: