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 votes

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 Friday in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

42 views 2 2
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