Why would taxonomy terms that I have previously deleted show up in my facet? I'm using search api solr. There is no term named "23"; it is a tid, but tid 23 is not in the database yet my facet shows 29 items as being tagged with it. I have flushed cache, run cron, rebuilt index, all multiple times, and don't know what else to do.

enter image description here

1 Answer 1


Filter by that facet and check the nodes that display, they probably still reference the deleted term (see issue: Database records not deleted for Term Reference Fields after Term is Deleted)

To get rid of it, edit the nodes and remove the term reference, either manually or programatically depending on the volume. Then reindex your content.

  • 1
    Thanks for the issue reference. That is it. Removed the offending rows from field_[data,revision]_field_name Oct 12, 2015 at 19:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.