Hi,
Solved! Go to Solution.
Views
Replies
Total Likes
It seems that Your query has some problem with filtering I get
Please try this query
fulltext=geometrixx
group.p.or=true
group.1_p.and=true
group.1_path=/content
group.1_type=cq:Page
group.1_relativedaterange.property=jcr:content/cq:lastModified
group.1_relativedaterange.lowerBound=-1M
group.2_p.and=true
group.2_path=/content/dam
group.2_type=dam:Asset
group.2_relativedaterange.property=jcr:content/cq:lastModified
It seems that Your query has some problem with filtering I get
Please try this query
fulltext=geometrixx
group.p.or=true
group.1_p.and=true
group.1_path=/content
group.1_type=cq:Page
group.1_relativedaterange.property=jcr:content/cq:lastModified
group.1_relativedaterange.lowerBound=-1M
group.2_p.and=true
group.2_path=/content/dam
group.2_type=dam:Asset
group.2_relativedaterange.property=jcr:content/cq:lastModified
Thanks Mshajiahmed,
Its not filtering using this query as well.
Secondly its also returning the jcr:content node as a result.
Thanks
Are you sure, I tried the same one. attached screenshot all the query works for me
JSON query:
Atom Query:
Hi Mshajiahmed,
It is returning results but not actually doing the filtering.
The situation is like this:
I am working on AEM 5.6.1
I have to filter out CQ pages and DAM assets based on lastModified date.
So for that we need to have two daterange properties because for CQ pages it is cq:lastModified and for assets it is jcr:lastModified
I am not able to use daterange in the same query twice. I have tried many ways.
The only way it works in without any groupname:
like
relativedaterange.property=jcr:content/cq:lastModified
relativedaterange.lowerBound=-1M
If anyone has done it earlier, it may be a great help.
Views
Like
Replies
Views
Likes
Replies