Hi All,
I have a query regarding the search in JCR:content,
1. In the AEM using QueryBuilder. When I try searching with keyword "
KalmKap®" the trademark symbols are not getting searched. Instead of that it is searching for the keyword "Kalmkap".
2. The special characters like "[", "]", "{", "}", and many..... my search is not working...
Below is my Query::
group.1_fulltext.relPath=jcr:content/@jcr:title
group.1_fulltext=[KalmKap]
group.1_fulltext.relPath=jcr:content/@jcr:title
group.1_fulltext=KalmKap®
kindly help me out on this........
Solved! Go to Solution.
Views
Replies
Total Likes
If you want to do this only with QueryBuilder then create custom predicate
e.g.
Code:
aem63app-repo/CaseInsensitiveLikePredicate.java at master · arunpatidar02/aem63app-repo · GitHub
Query
path=/content/we-retail/us/en/products
caseinsensitive.property=jcr:content/@jcr:title
caseinsensitive.value=%portland®%
Views
Replies
Total Likes
If you want to do this only with QueryBuilder then create custom predicate
e.g.
Code:
aem63app-repo/CaseInsensitiveLikePredicate.java at master · arunpatidar02/aem63app-repo · GitHub
Query
path=/content/we-retail/us/en/products
caseinsensitive.property=jcr:content/@jcr:title
caseinsensitive.value=%portland®%
Views
Replies
Total Likes
Nice suggestion and a correct answer
Views
Replies
Total Likes
Thanks Arun Patidar The above worked well... I'm able to fetch all the expected results....
Still I'm stuck at one point. How can I limit the search result in XPath, like "guessTotal" in queryBuilder.
Views
Replies
Total Likes
Hi,
JCR XPATH only support few function, If you want better control over searching and querying the JCR, then use the JCR API SQL2 or the Query Builder
Views
Replies
Total Likes
Views
Likes
Replies