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

This widget could not be displayed.

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.)

This widget could not be displayed.

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. :)

This widget could not be displayed.

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.

This widget could not be displayed.

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
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

601 views 8 6
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