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

This widget could not be displayed.
Stephen Sifers Community Champion Jun 25, 2014

You want to use the Page Tree search.

{page tree search}
This widget could not be displayed.

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 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...

482 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