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
Compatibility with Elasticsearch 5.0.0 #124
Comments
|
I will be installing ES 5 soon and having a bit of a play around with it to work out exactly why this is not working. |
Any progress on this? |
HAs there been any progress with ES 5.x.x ? |
There has been a tiny bit of progress, @andrewmclagan |
Awesome, Seems the underlying library |
Awesome. Let me commit some code later tonight so you can test tomorrow and start digging into it straight away in the morning, @andrewmclagan |
@timgws appreciate it :-) just let me know what the branch is. |
When will this be released? I need this for a new version of elasticsearch. |
I am running elasticsearch 5.2.2 & in combination with elasticquent and the searchByQuery command returns: is there a solution yet or do you recommend installing an older elasticsearch version? |
I was going to submit a PR to address this although we have migrated to our own solution. Personally I think this repo is great, although it needs a little more abstraction and separation for our needs. Apologies everyone. Maybe at a later date we can migrate some of our work into this repo. |
Lacking the time to give input to this great repo, i switched back to ES 2.4 to overcome this problem. For now I hope elasticquent will try to keep up it's intermediate position between (new) laravel and elasticsearch (versions). |
Yes, there is. I will be pushing the new version for testing soon. I am currently working on a test suite that can be used to test the application end-to-end. This will help ease issues with updating to newer versions of Elasticsearch & compatibility with this application 👍 |
@timgws I would be interested in how you are undertaking the e2e tests! We use a docker based build pipeline called Drone, very easy to boot up an Elasticsearch server and then tear it down again. |
@andrewmclagan Currently, it's based on https://github.com/elastic/elasticsearch-docker, a modified I am testing against Elasticsearch 5.4, 2.4 and 2.0. My PHPUnit then runs the same test suite three times (one time for each port that Elasticsearch is running on). It reports the latest version of Elasticsearch to coveralls. I am not yet sure how I can set up Coveralls to run the test suite automatically for all versions of Elasticsearch. This would be preferable. Have just performed a quick Google for Drone and so far this looks like it might be the missing piece of the puzzle! I am currently busy working on another project, so for the time being the test.sh script that I have is going to have to do. I will try and get that all checked in soon! |
Drone is amazing... |
I am running elasticsearch 5.4.0 with elasticquent in which search() is work but searchByQuery() return error: Please suggest me some solution. |
@musab95 not a solution but as a temporary workaround I added this to my model: |
thanks @rschuil |
unfortunately, not working for me: laravel 5.2 elasticsearch 5.3.0. Is there anything else I could try? |
Can anyone please let me know if it now available for elasticsearch 5.4.0 or not? I could not find the clear answer. |
hi, is there any update regarding this thread, i'm dying to include this package in my production app. |
@timgws hi, we use this package a lot, it is great, but know, we need upgrade ES to v5 and i really dont want using fork repositories, but know it is only one option. Do you know, when new patch will be? ;) thank you man. |
@timgws and other contributors. Please respond the the queries. We do want this package to be upgraded |
@timgws Did this get resolved? |
@timgws Please provide latest in order to resolve this |
Moved my codebase to Plastic. Seems to fit my needs and can be used by the newer ES versions. |
Given there doesn't seem to be any interest in fixing the issue, it would seem to me the project is dead? |
Thanks @jeversen switched to Plastic too. Works just fine and migration from ElasticQuent is easy. Too bad, this project was really nice. |
In case anyone is curious, the changes to support ES 5.x are actually pretty minor and there's a few forks with working code. Combined with the ability to override composer dependencies with a vcs repo, that was all I needed to get to ES5. It'll do for now, but hopefully Elasticquent gets an official update before too long. In my own fork I bumped the elasticsearch version to 6.x and found the same code worked on upgraded 5.x indexes without any further changes, although there's probably work that would need to be done to support 6.x indexes. |
Closing. |
illegal_argument_exception: The parameter [fields] is no longer supported, please use [stored_fields] to retrieve stored fields or _source filtering if the field is not stored
It seems that Elastiquent is not compatible with the latest version of Elasticsearch. Or did I something wrong?
The text was updated successfully, but these errors were encountered: