Confluence search: does not find content in panel or codeblock macro

It seems that it is not possible to search for content that is incluede within a panel or code-block macro. I want to search for a text included in such a macro, but do not receive any results at all.

Can anyone confirm this or has a solution ready?

Confluence Server 5.10.1

 

Thanks in advance!

1 answer

0 vote

Hi Markus,

I've just tried that in my Confluence 5.10.7 and it works fine.

I just figured out that it is a different problem than initially thought.

Especially in code-blocks often words are not separated by a space, e.g., ConfluenceHandler.this

Searching for "ConfluenceHandler" will not show any results, however searching for "ConfluenceHandler*" does.

Thomas Schlegel Community Champion May 29, 2017

This is the desired behaviour for searching in Confluence. If you don't add a wildcard, Confluence searches for the exact phrase. Look here: 

https://confluence.atlassian.com/doc/confluence-search-syntax-158720.html

 

Thanks a lot.

Too bad that the wildcard is not included automatically at the beginning and end of each search term. Well, good to know now to explain it to our users.

 

 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Agility Beta

We've moved!

A note to all watchers that we've moved to a new community home... https://community.atlassian.com/t5/Agility/ct-p/agility Please update your notification subscriptions to keep across the ...

61 views 0 2
Read article

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