I am trying to use elastice 6.8 in my docker envir...
# docker
r
I am trying to use elastice 6.8 in my docker environment. Is there a guide to replace it?
a
I'm not sure but seems you need to edit default template here - https://github.com/spryker/docker-sdk/tree/master/generator/src/templates/service/elastic to 6.8 instead of 5.6. Maybe Mike will answer later if I'm mistaken.
r
I got a step closer the container is running now. I edited the docker-compose.yml according to the 6.8 twig template
but now i get incompatible commands in the application
Exception: [include_in_all] is not allowed for indices created on or after version 6.0.0 as [_all] is deprecated. As a replacement, you can use an [copy_to] on mapping fields to create your own catch all field. [reason: Failed to parse mapping [product-review]: [include_in_all] is not allowed for indices created on or after version 6.0.0 as [_all] is deprecated. As a replacement, you can use an [copy_to] on mapping fields to create your own catch all field.]
r
Ah sorry was not aware i need 202010. I will check with the update
h
deploy.yml (or what file do you use)
Copy code
search:
        engine: elastic
        version: 6.8
Then
docker/sdk bootstrap your_deploy.yml
And release 2020.01 of course.
👍 2