Query JCR to fetch pages based on some conditions
Hi All,
path=/content/www/xx/xx
type=nt:unstructured
1_property=abcd
1_property.operation=exists
2_property=efgh
2_property.operation=exists
3_property=ijkl
3_property.operation=exists
p.limit=-1
We want to retrieve pages, only when a specific component included in a page [there are multiple components having similar properties] has these properties(abcd,efgh & ijkl).
The above query when run in http://localhost:4502/libs/cq/search/content/querydebug.html is not working as per our requirement.
Can someone please tweak this query to meet our requirements.
Any thoughts will be really helpful.