Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Custom Oak Indexes : AEM Part-2 (Synonyms Words) | AEM Community Blog Seeding

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,159 likes

Total Posts

6,260 posts

Correct Reply

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

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,159 likes

Total Posts

6,260 posts

Correct Reply

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

31-05-2021

BlogImage.jpg

Custom Oak Indexes : AEM Part-2 (Synonyms Words) by Bimmisoi

Abstract

As of now we have created custom Index. let's implement synonyms words for search.

synonyms : In most of the search implementation search should work for synonym words. Example : If a user is searching for Mumbai or Bombay or BOM , results should be same.
Or
We can follow below steps to implement this.

Create analyzers node : type - nt:unstructured
Create default node : type - nt:unstructured
Create filters node : type - nt:unstructured
Create Synonym node : type - nt:unstructured

Properties
synonyms : synonyms.txt [String]


Create synonyms.txt file : type - nt:file
After reindex changes will start reflecting.

Read Full Blog

Custom Oak Indexes : AEM Part-2 (Synonyms Words)

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager