Search Component for different languages | Community
Skip to main content
sursharma
April 13, 2022
Solved

Search Component for different languages

  • April 13, 2022
  • 1 reply
  • 692 views

Not able to search arabic or other language fulltext using out of box search component- foundation/components/search

Any code change to do in search.jsp to make it work with all languages?

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 milind_bachani

Hi @sursharma ,

The OOTB search works on query-builder, so it will search for query you are entering for the given content path.
Did you check if it is working for other languages, since arabic language is RTL(Right - to - Left) and might be causing issues. Check for normal LTR languages other than en.

However, can you also check by leveraging core search component instead :
https://github.com/adobe/aem-core-wcm-components/tree/main/content/src/content/jcr_root/apps/core/wcm/components/search/v2/search

Thanks.

1 reply

milind_bachani
Adobe Employee
milind_bachaniAdobe EmployeeAccepted solution
Adobe Employee
April 13, 2022

Hi @sursharma ,

The OOTB search works on query-builder, so it will search for query you are entering for the given content path.
Did you check if it is working for other languages, since arabic language is RTL(Right - to - Left) and might be causing issues. Check for normal LTR languages other than en.

However, can you also check by leveraging core search component instead :
https://github.com/adobe/aem-core-wcm-components/tree/main/content/src/content/jcr_root/apps/core/wcm/components/search/v2/search

Thanks.