Custom Oak Indexes : AEM Part-5 ( Porter Stemming & Lower Case ) | AEM Community Blog Seeding | Community
Skip to main content
kautuk_sahni
Community Manager
Community Manager
May 31, 2021

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

  • May 31, 2021
  • 0 replies
  • 1038 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.