What are the Slack Archives?
Itโs a history of our time together in the Slack Community! Thereโs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonโt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi I am getting this error what can be the reason ?
Comments
-
I have not seen such error.
I assume it could be wrong configuration.
0 -
It is ruflin/elastica - try to browse for the specific error message
0 -
I see
0 -
I will try
0 -
thank you ๐
0 -
For nothing ๐
0 -
Hi Ahmad, Elasticsearch must be able to read the file if you reference it in the schema under synonyms_path within a filter. Usually permission problem. You donโt necessarily have to use a file, but you could also specify the synonyms directly in the schema, if there are not too many... https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-synonym-tokenfilter.html#_solr_synonyms
0 -
You cannot use this file as elasticSearch is running in different container.
0 -
I tried changing the permission but did not work
0 -
I tried even deleting the file ๐
0 -
I think the missing link here is that these files do not exist in the container because docker-compose did not move them there โฆ the question is how do I change the deployment recipe ?
0 -
it seems like the missing part was re-boot the sdk after changing the configuration of docker-compose for elastic search
0 -
now it works ๐
0 -
thank you all ๐
0 -
What composer changes have you done?
0 -
I changed the volume mapping for ElasticSearch to include new config files
0 -
I added
config
directory heredocker/context/elasticsearch/
then added a new volume mapping- ./${DEPLOYMENT_PATH}/context/elasticsearch/config:/usr/share/elasticsearch/config/analysis:ro
indocker/generator/src/templates/service/elastic/6.8/elastic.yml.twig
0 -
I tried reset and clean then up โฆ finally I deleted all the generated files and re-booted
0 -
So it is just second volume with the same config?
0 -
not the same config โฆ new files for dictionary configuration and search terms ..etc
0 -
synonyms.txt
0 -
Is it mandatory?
0 -
it depends on your elastic search usage โฆ you can add all the synonyms in the schema file but in my case the synonyms are too large to include in the schema file
0 -
I would not say it is mandatory
0 -
I got it.
0 -
Thanks for your experience.
0 -
thank you for you support ๐
0 -
btw is there a way to get the logs from spryker in one directory ?
0 -
@UPZH5HHEV I assume we would need to have the functionality in Docker SDK to mount synonyms.txt if provided.
0 -
According logs: you can set any destination in your config_default.php files.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 80 Spryker News
- 954 Developer Corner
- 810 Spryker Development
- 91 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 36 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 27 Job Opportunities
- 3.2K ๐ Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 33 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random