Case Insensitive Queries with the AEM Query Builder
Recently, I needed to perform a query using the AEM Query Builder which was case insensitive. While I normally prefer using JCR SQL2 queries, in this case Query Builder was a better fit as I wanted consuming applications to be able to manipulate the query and doing so as a map is significantly easier than doing so as a string.
I was surprised to find that there was no native Query Builder Predicate for doing case insensitive queries so I ended up writing my own.
Author: Dan Klco
AEM News Newsletter
Join the newsletter to receive the latest updates in your inbox.
Sign in or become a AEM News member to join the conversation.
Just enter your email below to get a log in link.