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
Accepted answer

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
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,554 views 25 14
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