Sunday, May 3, 2020

HOW TO ENABLE SEARCH SYNONYMS IN AEM WITH LUCENE?

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:
  • wordnet: based on the popular Wordnet community. This required the synonyms configuration in specific format
  • 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.



No comments:

Post a Comment