Using modified:[date TO date] to search a subset of pages fails


We're using 5.4.3 download.

I've been using:

  • modified:[20110101 TO 20131031]

to search for content modified between those dates and want to have it search a specific group of pages within a space only.

So I've added a seach field to the top page in the group and run the search. However, the results are for the whole space, not just the ones I'm interested in. Why is this?

If I run a search for a word or a phrase from the same field, I only get results for that group of pages.

This seems like a bug to me, but what do other people think?


1 answer

0 votes
Davin Studer Community Champion May 15, 2014

If you use the page tree search macro it will let you specify the root of the search in one of the macro parameters. If you leave it blank it will assume the current page is the root. You can also explicitly state this in a search using this syntax. Where the ????? is the id of the page. That is all the page tree search macro does ... it adds in the id of the page that is the root into the search string.

Search string
ancestorIds:????? AND modified:[20110101 TO 20131031]

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,170 views 20 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you