How To Enable Search Synonyms In Aem With Lucene? | AEM Community Blog Seeding

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,200 likes

Total Posts

6,394 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,200 likes

Total Posts

6,394 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

21-05-2020

BlogImage.jpg

How To Enable Search Synonyms In Aem With Lucene? by albinsblog

Abstract

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.

Read Full Blog

How To Enable Search Synonyms In Aem With Lucene?

Q&A

Please use this thread to ask the related questions.