The default installation of Solr contains a list of synonyms to enrich the search whenever users search for particular phrases. These could be abbreviations written in full, often misspelled words, differences in spelling, synonyms and so on.
In other words: when the user searches for 'oct', then 'october' is also included in the search. When the user searches for 'dash', Solr also searches for 'sprint'. And so on.
Using these synonyms results in a better user experience because a higher number of related files are found.
The synonyms list
This list is referred to as the 'synonyms' list. Because the list that is shipped with Solr is not very comprehensive and is for English only, Enterprise Server provides alternative lists. These lists are more comprehensive and available in the following languages:
- American English
Step 1. Download the Enterprise Solr Integration file from the Announcement page for your version of Enterprise Server.
Step 2. Unpack the downloaded file SolrEnterprise_v10.x.x_Buildyz.zip.
Step 3. Copy one of the synonyms.txt file from
where <language code> is one of the following:
Tip: If the language you are looking for is not available, use one of the available files and replace its content by synonyms in your preferred language.
Step 4. (Optional) Edit the file in a plain-text editor that supports UTF-8.