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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

373 views 20 10
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