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-5 ( Porter Stemming & Lower Case ) | AEM Community Blog Seeding

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,167 likes

Total Posts

6,285 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,167 likes

Total Posts

6,285 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-5 ( Porter Stemming & Lower Case ) by Bimmisoi

Abstract

As of now we have implemented Autosuggestion, Stop Words, Synonyms Words, Custom Index Creation. let's implement Porter Stemming & Lower Case for search.

Porter Stemming : In this implementation search will reduce any of the forms of a word such as "talks, talking, talked" or "read, reading" to their elemental roots "talk" and "read".And it will only consider root words for search.

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 PorterStem node : type - nt:unstructured


Lower Case : It converts any uppercase letters in a token to the equivalent lowercase token. All other characters are left unchanged.

Example :

In: "Down With CamelCase"

Tokenizer to Filter: "Down", "With", "CamelCase"

Out: "down", "with", "camelcase"

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 LowerCase node : type - nt:unstructured

Read Full Blog

Custom Oak Indexes : AEM Part-5 ( Porter Stemming & Lower Case )

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager