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 Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,116 views 59 8
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