How to search only from root page, not full space

Hi,

I want to include a Search Box in a specific page that searches only in this page and the child pages. I tried the different search macros, ending up with the "search page tree macro" (even though I would prefer the live search function). However, it still searches in the whole space where my root page is located, not just in the root page and its child pages. With the syntax: "rootpage" AND "Searchterm", it works fine, but if possible I would like to specify the searchpages in advance, and not have my colleagues type the rootpage everytime they use the search function. We are on Confluence 5.5.2.

Thanks in advance,

Jonas

2 answers

1 accepted

1 vote
Stephen Sifers Community Champion Jun 25, 2014

You want to use the Page Tree search.

{page tree search}

Hi Stephen,

I have been using the page tree function.
I realize now that my problem is something else. When people use the searchbar, the searchbar automatically starts with the ancestorID. So my question actually is if it is possible to keep this out of the searchbar, because people might delete it if they want to specify their search and then search the whole space and not the page tree.

Greetings,

Jonas

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

474 views 19 9
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