It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

What is / is not indexed by confluence search engine? Edited

I noticed that if I add code into a box on a page using the {code} syntax, that the text within the box is not found by the search engine. Is this the intended behavior? I only wanted to use the {code} box to format the text using a fixed-width font. I did not intend for it to be hidden from the search engine.

What macros do / do not hide the text within from the search engine?

1 answer

0 votes
Jonathan Smith Community Leader Jan 22, 2020

Hi @pewterhacker ,

  Based on this article https://confluence.atlassian.com/doc/confluence-search-syntax-158720.html special characters don't play nice with Confluence search.

Phrases with special characters

Confluence ignores all symbols, such as hyphens or underscores, even if they are included within double quotes.

Avoid using special characters, such as hyphens, in page or attachment names as they may not be found by Confluence search.

- Jonathan

Thanks for your input. I'd like to keep this question open in hopes that someone will still provide a clear answer to my question.

In the meantime, I'm going to define some reasonable expectations...

1) If Confluence search ignores all symbols, including hyphens and underscores, when the search string is enclosed in quotes, then Confluence should be treating this as a high priority bug. Search behavior needs to be well defined and documented. The search engine must fully comply with the defined behavior.

2) If a search result is negative, then that result must be proof-positive that the search string does not exist anywhere. For example, a search for "#%&@Embarrassing_Photo" that produces no results must be concrete proof that "#%&@Embarrassing_Photo" does not exist on the file system (and will not be found by someone else).

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,195 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you