Custom Oak Indexes : AEM Part-3 (Stop Words) | AEM Community Blog Seeding | Community
Skip to main content
kautuk_sahni
Community Manager
Community Manager
May 31, 2021

Custom Oak Indexes : AEM Part-3 (Stop Words) | AEM Community Blog Seeding

  • May 31, 2021
  • 0 replies
  • 819 views

BlogImage.jpg

Custom Oak Indexes : AEM Part-3 (Stop Words) by Bimmisoi

Abstract

As of now we have implemented Synonyms Words, Custom Index Creation. let's implement stop words for search.

Stopwords : Stop words are commonly used words such as articles, pronouns and prepositions. stop words should be indexed for precise result listing . If a phrase contains stop words, the stop words will not be searched, but the searchable words will be searched in the order as entered. Example : "from AEM blog" phrase will exclude "from" as searchable word and search rest of the phrase.

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

Properties

words : stop.txt [String]


Create stop.txt file : type - nt:file

After reindex changes will start reflecting.

Read Full Blog

Custom Oak Indexes : AEM Part-3 (Stop Words)

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.