I'm implementing fulltext search in AEM using Query builder. Below is the predicate map:
p.limit=-1
2_group.1_fulltext=*cost*
1_group.p.or=true
orderby.sort=asc
p.offset=0
orderby=@jcr:score
type=cq:Page
2_group.2_fulltext=*cost*
path=/content/<some-path>
2_group.p.or=true
2_group.2_fulltext.relPath=jcr:content/@jcr:description
2_group.1_fulltext.relPath=jcr:content/@jcr:title
This was working fine. But now it is returning zero results. I've to remove type=cq:Page
condition to get results. This has subsequently slowed down the query processing.
p.limit=-1
2_group.1_fulltext=*cost*
1_group.p.or=true
orderby.sort=asc
p.offset=0
orderby=@jcr:score
type=
2_group.2_fulltext=*cost*
path=/content/<some-path>
2_group.p.or=true
2_group.2_fulltext.relPath=jcr:content/@jcr:description
2_group.1_fulltext.relPath=jcr:content/@jcr:title
What might have caused this change and how to fix this?
Predicate map testing on - http://localhost:4502/libs/cq/search/content/querydebug.html
AEM version - 6.4
Service Pack - 6.4.6
Solved! Go to Solution.
Views
Replies
Total Likes