Case Insensitive Search Query in AEM 6.3

Why?

Because the default query does not search for value in a case-insensitive way. Which means if a value (say) 009A is saved in AEM, and search for 009a will not return the value. Sounds strange.. and this sounds so trivial for any developer. And this article is about this.

Details

There are several ways we can achieve searching for content in AEM programmatically. One of the approach is to use Query Builder API.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Suren Konathala

Suren Konathala

Software Engineering Manager, Programmer, Architect, Inventor, Speaker and Writer. Works @HeroDigital https://surenk.com