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
Answer accepted

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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,622 views 4 13
Read article

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