An Adobe Commerce Architect creates a stopword for the Italian locale named stopwordsjtJT.csv and changes the stopword directory to the following:
What is the correct approach to change the stopwords directory inside the custom module?
According to the Adobe Commerce documentation, the correct approach to change the stopwords directory inside a custom module is to use dependency injection to override the default values of the stopwordsDirectory and stopwordsModule parameters of the MagentoElasticsearchSearchAdapterQueryPreprocessorStopwords class. The stopwordsDirectory parameter specifies the relative path of the stopwords directory from the module directory, while the stopwordsModule parameter specifies the name of the module that contains the stopwords directory. By adding these parameters to the di.xml file of the custom module, the Architect can change the location of the stopwords files without modifying the core code or database.
Jarod
2 days agoDean
7 days agoRodolfo
12 days agoDick
17 days agoWinfred
23 days agoNadine
28 days agoDenna
2 months agoKirk
2 months agoTheola
2 months agoRonny
2 months agoArthur
2 months agoArthur
2 months agoAntonio
3 months agoTy
3 months agoAliza
3 months agoKattie
3 months agoPhillip
3 months agoJeanice
4 months ago