Confluence Search Box Macro

Hi Everyone,

does anybody know how to restrict the search to the current page?



3 answers

I don't think you change the behavior of the main search field, but you can add a search field on your page and set it to only search certain pages and/or labels.

Hi Milo, how can you add search field to a page?

There are at least three included or free search macros: Livesearch Page Tree Search Search Box Each has its own parameters for what to search. Page Tree Search is probably the best option for searching just the page it's on, as long as there are no child pages. The other two could be used to search a single page, but only if it is the only page in a specific space.

Why not just use Ctrl+F in your browser?

0 votes
Steven Behnke Community Champion Jul 20, 2015

The old Lucen options to search on urlPath are broken. This used to let us search on a specific page. We are waiting for CQL to be rolled out to the site search, it hasn't happened yet.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

58 views 3 2
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