My list of synonyms, extracted from a thesaurus, contains commas, generally used to put the main word in the first place, for example for person names or geographic names:
Barack Obama => Obama, Barack
But the list of synonyms of Solr uses only the "," as separator. So I need to change it to something like "|" or to add an enclosure. Where are these options?
You can use a backslash - \
- to escape special characters in the synonyms.txt
file:
Barack Obama => Obama\, Barack