Deleted attachments still show in search

After deleting an attachment from a page and adding a new attachment, the old attachment will still show in the search results.  Any ideas why or how to stop this?

5 answers

I have found the answer to this, but I do believe that this is a bug.  The attachment still existed in the Space Trash but as soon as I purged it from the Trash, it no longer showed up in the search results.  Now I was expecting to find that because I was a System Admin, and therefore by default would have access to the Trash, that was why I could see it in the Search Results.  I tested this by having a user that did not have access to the Trash search for the document and he was still able to see it in the search results.

1 vote

Hi Chris,

Have you tried to re-index the instance? Here's the guide:

In case it doesn't work, we might need to re-index the instance from scratch as described here:


I hope it helps!


I don't think that the re-indexing will help.  I have looked into the page history and found a document that was deleted on Aug 12, but still shows up in the search results.  The attachment is currently in the trash.  We rebuilt the index from scratch on September 6, so we have already tried this.

Deleted my previous comment as I was looking into the wrong page and space.

If this is resolved can you mark your own answer as answered so we can close this post :)?

It's not resolved, I moved my last comment to go under Eduardo's answer. The re-index has not helped. One of the attachments in question was deleted on Aug 12, we rebuilt the index from scratch on September 6. It is still showing in the search results.

Re-indexing doesn't solve the problem . Deleted files show in search. Only after deleting the attachments out of the space trash it disappears from the search. This is a bug.

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

1,189 views 2 13
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