Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
I have a query like this:
type=nt:unstructuredpath=/content/dam/articlesnodename=mastergroup.p.or=truegroup.1_property=titlegroup.1_property.value=%articlegroup.1_property.operation=like
...
for group's `1_property` I want to search without case senstivity, how can I achieve the same? I am on AEM 6.5
Solved! Go to Solution.
You may need to write a custom Predicate to achieve it. please refer to following example - https://blogs.perficient.com/2020/11/11/case-insensitive-queries-with-the-aem-query-builder/
For like operation xpath would be something like this -
/jcr:root/content/dam/wknd/en//*[(jcr:like(fn:lower-case(@property),'value%'))]
Make changes to example code accordingly.
View solution in original post
Views
Likes
Replies
Like