cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

To add new language in SOLR.

Former Member
0 Likes
2,488

Hi Experts, We are trying to setup different solr cores for multi site setup. We have add some site specific languages in solr.impex file. The only issue we are facing is the solr OOB auto-suggest, spellcheck has some predefined locales. So how to add new locale to these fields since while doing full index its throwing error autosuggest_sv not defined in case of Swedish language. Is it possible to change it via impex and remove other locales. Or any other way to change it? Note: We will be also using hybris cloud for deployment where we might not directly changed Solr schema files.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hello ,

If you are going to do multi country roll out such as US, CA, MX & UK Web shops (either B2B or B2C) you have to introduce new Languages in XXXXXcore > essential data @ hybris eCP.

XXXXX - your new extn

for example:

  • US default Langauge as en_US, Locale is en_US

  • CA default Langauge as en_CA, Locale is en_CA

  • MX default Langauge as es_MX, Locale is en_MX

  • UK default Langauge as en_UK, Locale is en_GB

This Languages corresponding impexes you need to introduce for localization Also @ hybris\config\solr\instances\default\configsets\default\conf - do the respective changes in solrconfig.xml, schema.xml

And introduce stopwords_en_US.txt, stopwords_en_CA.txt, stopwords_en_UK.txt, stopwords_es_MX.txt @ the below location \hybris\config\solr\instances\default\configsets\default\conf\lang

Try..like this