Expand my Community achievements bar.

Custom Oak Indexes : AEM Part-5 ( Porter Stemming & Lower Case ) | AEM Community Blog Seeding

Avatar

Administrator

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.



Kautuk Sahni
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies