Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I limit a search to a page and its child pages instead of the whole space?

Sanjay Patel July 12, 2012

We are using the documentation theme and would like to be able to limit a search to just a page and its child pages. Currently the searches will find matching terms through the whole space.

1 answer

0 votes
CharlesH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 5, 2012

There is a search syntax to achieve this: The <tt>ancestorIds</tt> parameter is used to restrict the search to a subset of pages. This is so you can search everything "under" a given page, determined by the id value you provide.


Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events