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

This widget could not be displayed.

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
Community showcase
Posted Thursday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

53 views 0 0
View post

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