Confluence Search Box Macro

Hi Everyone,

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


Thanks, 

Rumi

3 answers

This widget could not be displayed.

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.

This widget could not be displayed.
Daniel Eads Community Champion Jul 20, 2015

Why not just use Ctrl+F in your browser?

This widget could not be displayed.
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 Sep 17, 2018 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...

603 views 8 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