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

Elastic Search 6 Support #146

Open
xembill opened this issue Mar 5, 2018 · 6 comments
Open

Elastic Search 6 Support #146

xembill opened this issue Mar 5, 2018 · 6 comments

Comments

@xembill
Copy link

xembill commented Mar 5, 2018

How can ı use with Elastic search 6. version ?

@ablishek
Copy link

ablishek commented Mar 8, 2018

I made the mistake of installing version 6, and wasn't able to install plastic. Now I have no idea how to uninstall and install version 5.3

@andrey-bahrachev
Copy link

As a temporary solution I ended up forcing elasticsearch/elasticsearch package to the 6.0 version in composer.json like this:
"elasticsearch/elasticsearch": "6.0.1 as 5.3.0"

@xembill
Copy link
Author

xembill commented Mar 8, 2018

for now @andrey-bahrachev's comment is the best solution

@jamesgraham
Copy link
Contributor

If you are using string data type, you will likely run into issues because ES6 does not support it.

There is a PR half solving this. If I get time I will complete it unless anyone volunteers

@vkulov
Copy link

vkulov commented Jul 16, 2018

Can someone update composer.json to work with ongr/elasticsearch-dsl version 6

https://github.com/sleimanx2/plastic/blob/master/composer.json#L17

There's a dependency to use ongr ElasticSearch DSL pinned at version 5.

@reganjohnson
Copy link

reganjohnson commented Aug 30, 2018

I ended up forking the repo, and updating the dependancies:

"require": {
    "elasticsearch/elasticsearch": "~6.2.4",
    "ongr/elasticsearch-dsl": "6.*",
},

And then on your project, you would include it as...

"require": {
    "sleimanx2/plastic": "dev-master as 0.5.6",
},
"repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/githubusername/plastic"
        },
]

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

No branches or pull requests

6 participants