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.

Cheers,
WZ

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

0 vote

In addition to Will's answer, in this doc, you can find some additional information on how the indexing is working: https://confluence.atlassian.com/doc/content-index-administration-148844.html

 

Cheers, 

Giu

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

785 views 23 12
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