Expandir minha barra de realizações na Comunidade.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.

SOLUCIONADO

mispelled word gives appropriate result in Search Component

Avatar

Level 3

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

 

.

1 Solução aceita

Avatar

Resposta correta de
Community Advisor

@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

Ver solução na publicação original

1 Resposta

Avatar

Resposta correta de
Community Advisor

@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