Hi,
how to find the title which is repeated among two different content path using querybuilder in aem 6.5.
i need this result as com.day.cq.search.result.SearchResult result. i am using this result object for pagination, total cound , exeution time in search results.
i have tried with below approach
- i have using the below constrainsts and getting the results then assign to one list and finding the repeated title then using result list. but while doing pagination and total count its giving worng data.
predicate:
1_group.1_path=/content/med/en/hm/pa/comm
1_group.2_path=/content/med/en/hw/pa/comm
1_group.p.or=true
p.limit=10
p.excerpt=false
orderby.sort=desc
p.offset=0,
2_property=jcr:content/policy-details/number
2_property.value=D-666
orderby=@jcr:content/policy-details/version
type=cq:Page
but i want to achieve this in query itself.
could you please give me right direction.
Thanks in advance.