-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Smile Elasticsuite Magento 2 required plugins #3
Comments
@MisterH001
Then you can publish it on Dockerhub: After you have your own image, let's say misterh001/elasticsearch, you can add it to your DDEV project by adding such a file:
as With such a custom image, using |
It's worth having a conversation about whether these should be included by default also, and whether they could be added in the build section of the docker-compose.elasticsearch.yaml. |
Thanks @AronNovak @rfay |
Just further to this, loading from my image now causes Vmmem to run at 100%. |
You may want to find the issue queue for You might try it with 1024M, etc. |
In our case we use a Dockerfile for that. That's how our Dockerfile looks like: FROM elasticsearch:7.16.1
COPY ./elasticsearch.yaml /usr/share/elasticsearch/config/elasticsearch.yml
WORKDIR /usr/share/elasticsearch
ENV cluster.name=docker-cluster
ENV bootstrap.memory_lock=true
ENV ES_JAVA_OPTS="-Xms512m -Xmx512m"
RUN bin/elasticsearch-plugin install analysis-phonetic
RUN bin/elasticsearch-plugin install analysis-icu The In this case here we have several options:
|
This is easy to do with a build section in the docker-compose.elasticsearch.yaml as well. That would also demonstrate how people can add other things. |
Yes, that's the way we go. |
@MisterH001 do you want to try the PR? It just consists of adding a build section to the docker-compose and adding the Dockerfile in the install.yaml. You're a good candidate because you're interested and a user. |
Maybe it's a good idea to write this out somewhere in it's full completion. I just cannot seem to get this working with the comments given above. |
I'm also struggling to get this working on my instance. |
Hi @PatrickWhitehouse Good luck :-) |
Eventually went with this:
|
Thanks for sharing! You could also have done this with a .ddev/docker-compose.elasticsearch-extra.yaml with just overrode the command. But if you're doing this, remove the A nit: the |
I prefer to keep the service yaml files intact, so it also works if you add a custom .yaml and then add the needed changes there.
|
Hello @AronNovak
The Smile ElasticSuite for Magento 2 requires 2 plugins: analysis-phonetic & analysis-icu
This link details what is required: https://github.com/Smile-SA/elasticsuite/wiki/ServerConfig-5.x#installing-required-plugins
It states "Plugins can be installed with the bin/elasticsearch-plugin tool of Elastic Search.":
bin/elasticsearch-plugin install analysis-phonetic
bin/elasticsearch-plugin install analysis-icu
Thank you!
The text was updated successfully, but these errors were encountered: