mispelled word gives appropriate result in Search Component | Community
Skip to main content
Level 2
March 16, 2022
Solved

mispelled word gives appropriate result in Search Component

  • March 16, 2022
  • 1 reply
  • 638 views

Hi All,

 I have created Search Component and Client ask me  if user search misspelled word it is not showing anything.

at least it will show appropriate result .

exmaple:fince it will show finance result

anyone worked such kind of requeirement

 

.

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

@savi50 If you are using Lucene API for searching the text, you should explore Stemming & Fizzy search. 

Stemmed searches return relevance-ranked results for the words you search for as well as for words with the same stem as the words you search for.

Lucene provide Analyzers to get filtered results. Refer below link to get more info on the same. 

 

Search in AEM - AEM Corner

1 reply

Nitin_laad
Community Advisor
Nitin_laadCommunity AdvisorAccepted solution
Community Advisor
March 16, 2022

@savi50 If you are using Lucene API for searching the text, you should explore Stemming & Fizzy search. 

Stemmed searches return relevance-ranked results for the words you search for as well as for words with the same stem as the words you search for.

Lucene provide Analyzers to get filtered results. Refer below link to get more info on the same. 

 

Search in AEM - AEM Corner