Last active
August 29, 2015 14:05
-
-
Save paulrohrbeck/f9feb3bd049e9eb1f2f8 to your computer and use it in GitHub Desktop.
Adobe CQ: find nodes (or pages/assets) that have been changed in the last X days/month/etc. (See docs here: http://dev.day.com/docs/en/cq/current/dam/customizing_and_extendingcq5dam/query_builder.html and http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/search/eval/DateRangePredicateEvaluator.html)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
path=/content | |
group.p.or=true | |
group.1_relativedaterange.property=jcr:lastModified | |
group.1_relativedaterange.lowerBound=-14d | |
group.1_relativedaterange.lowerOperation=>= | |
group.1_relativedaterange.upperBound=0 | |
group.2_relativedaterange.property=jcr:created | |
group.2_relativedaterange.lowerBound=-14d | |
group.2_relativedaterange.lowerOperation=>= | |
group.2_relativedaterange.upperBound=0 | |
group.3_relativedaterange.property=cq:lastModified | |
group.3_relativedaterange.lowerBound=-14d | |
group.3_relativedaterange.lowerOperation=>= | |
group.3_relativedaterange.upperBound=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use "path" and "type" to limit results further. Also adding "jcr:content/" to property might help to filter out some unwanted child nodes.