I have a lot of pages under /content path that has names like archive, archive1, archive-test, test-archive, etc.
I tried using the below Query Builder queries but it doesn't seem to work.
path=/content
nodename=archive
(and)
type=cq:Page
path=/content
group.property=nodename
group.property.value=archive
group.property.operation=like
p.limit=-1
Is there a way to find all the pages with names that has the text 'archive' in it?
Solved! Go to Solution.
Views
Replies
Total Likes
This should work
path=/content
type=cq:Page
nodename=*archive*
operation=like
You can use wildcard in query to achieve your goal, like this:
path=/content
nodename=*archive*
Please also explore official predicates documentation for more information:
I tried doing as suggested with the below. It keeps searching and nothing is happening after that.
path=/content nodename=*archive*
Will explore the suggested documentation on predicates. Thanks so much for the response
This should work
path=/content
type=cq:Page
nodename=*archive*
operation=like