Confluence Search Box Macro

Hi Everyone,

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


Thanks, 

Rumi

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.

0 vote
Daniel Eads Community Champion Jul 20, 2015

Why not just use Ctrl+F in your browser?

0 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,782 views 26 10
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