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

Hello,

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?

Cheers.

1 answer

0 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,008 views 22 10
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