HOW TO ENABLE SEARCH SYNONYMS IN AEM WITH LUCENE?
In this video let us see how to enable search synonyms in AEM with Lucene.
Synonyms are used to inform the search engine that searching for one word should also search for others. The analyzer should be configured for custom oak index to support the search synonyms.
There are two possible formats for the dictionary:
1,wordnet: based on the popular Wordnet community. This required the synonyms configuration in specific format
2.solr: it’s more plain text. Comma separated values
The synonym.txt file is a simple comma-separated list of synonyms. All matching terms should exist in a single row. Any word that is searched in the row will match all other words in that same row. Common uses for Synonyms are matching on variations of a word.