I am using the {pagetreesearch:root=root page name} macro in the sidebar...it usually works, but when I'm in certain pages in the space it only searches the attachments on that page, rather than the whole space.
I tried "rootPage=" as I found here in the questions, but that then said "root page not found" and the search button was greyed out.
What am I doing wrong?
(I hope this is okay to add more info this way?)
as possible additional information, I've noticed when I search that the search string comes up as ancestorIds:167714191 AND mysearchstring.
I'm not sure what the "ancestorIds" is supposed to be, other than some type of page id, but if I copy "ancestorIds:167714191 AND" from a search that works, and replace it in the search within a page that doesn't work (i.e. doesn't search the whole space as expected), then click the magnifying glass to redo the search, then the search works. So, how do I get the search to force that "ancestorIds" every time? I thought ":root=my page name" would do that, but no...
Also - it acts like I'm using ":root=@self", even though I put in "my page name" and also tried "@home".
Hi @Ron Kaledas ,
Welcome to Atlassian community.
I myself need to explore this macro but i went through the documentation here. I think you should specify the space name to search on that entire space. Also, you might be interested in this Livesearch macro.
I hope above information helps. Have a good day.!
Thanks,
Srinath T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I actually am specifying my space name (where I specify "root page name" in the question), which is why I'm wondering why it isn't actually searching the space name when I'm within certain pages.
I also saw livesearch, but that seems to search all spaces, or at least more than what I'm looking to search.
So, still wondering why it's not starting from my root page no matter what page I may be looking at...
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.