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.
To change the directory from your module
Configure Elasticsearch stopwords
Buddy
2 hours agoEsteban
5 days agoMariann
10 days agoBuddy
16 days agoMariann
21 days agoEsteban
26 days agoBuddy
1 month agoEsteban
1 month agoBuddy
1 month agoMarg
2 months agoPatria
2 months agoAshley
2 months agoDorathy
2 months agoNovella
2 months agoFrance
2 months agoJulieta
3 months agoAmalia
3 months agoZana
3 months ago