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: https://confluence.atlassian.com/display/DOC/Content+Index+Administration

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

https://confluence.atlassian.com/display/CONFKB/How+to+rebuild+the+content+indexes+from+scratch

 

I hope it helps!

Eduardo

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

903 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