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 Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,121 views 2 6
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