Does Confluence index text of links?

I have a link to an anchor (#sometext) and the displayed text is sometext. (anchor ID without #). If I search 'sometext' there is no result. What's the problem?

Indexing works for normal words.

4 answers

Hi Péter,

Actually Confluence doesn't index anchor words, only normal words and links.


I know, the anchor ID is not indexed. (And also all other macro paramaters or macro generated outputs are not indexed.)

0 votes

In addition to Will's answer, in this doc, you can find some additional information on how the indexing is working:




Thanks, but I've already read this page before my question. :)

You might misunderstand me. There is a page, where I declare an anchor, ID is sometext. I created a link to this anchor from other page: Link: page#sometext Link text: sometext My requirement: searching to sometext will find other page, because link text is sometext. It works. (tick) I created a link this anchor on the same page: Link: #sometext Link text: sometext My requirement is same: searching to sometext will find page (the original), because link text is sometext (not becuase of anchor ID or link 'URL'). But page is missing from the result. I don't understand why. (question) I hope the situation is clear.

I was having a similar issue in 5.10 but rebuilding the content index fixed the problem.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

283 views 2 11
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