plastic
plastic copied to clipboard
Elastic Search 6 Support
How can ı use with Elastic search 6. version ?
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
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"
for now @andrey-bahrachev's comment is the best solution
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
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.
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"
},
]