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

This widget could not be displayed.
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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

464 views 6 6
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