I deleted an entry but it still appears in search results
When you delete or disable an entry in the CMS, removing it from the Algolia search index happens as a separate background process- it does not take effect immediately. Until that process has run, the entry may continue to appear in search results on the site.
The index removal may not have run yet
Deletion from the Algolia index is handled by the same background queue as all other index updates. On the live site this queue runs on an automated schedule, so there will usually be a short delay between deleting an entry and it disappearing from search. In most cases this will resolve itself within a few minutes.
If the entry is still appearing in search after a significant amount of time has passed, the queue job may have failed or stalled. Contact your site administrator who can check the queue and manually trigger a re-index to remove the entry.
Check the entry has been fully deleted and not just moved to the trash
Craft CMS uses a soft delete system- when you delete an entry it is first moved to the Trash rather than being permanently removed. An entry in the Trash will be removed from the live site and the search index, but if the queue has not yet processed, it may still appear briefly. If you need it removed urgently, contact your site administrator.
Check the page cache has also cleared
If your site displays search results on a cached page, the cached version of that page may still reference the deleted entry even after the Algolia index has been updated. Your site uses static caching at the server level, which should clear automatically but can occasionally need a manual purge. If the entry has been removed from the Algolia index but is still appearing on a cached search results page, contact your site administrator to clear the cache.
The index removal may not have run yet
Deletion from the Algolia index is handled by the same background queue as all other index updates. On the live site this queue runs on an automated schedule, so there will usually be a short delay between deleting an entry and it disappearing from search. In most cases this will resolve itself within a few minutes.
If the entry is still appearing in search after a significant amount of time has passed, the queue job may have failed or stalled. Contact your site administrator who can check the queue and manually trigger a re-index to remove the entry.
Check the entry has been fully deleted and not just moved to the trash
Craft CMS uses a soft delete system- when you delete an entry it is first moved to the Trash rather than being permanently removed. An entry in the Trash will be removed from the live site and the search index, but if the queue has not yet processed, it may still appear briefly. If you need it removed urgently, contact your site administrator.
Check the page cache has also cleared
If your site displays search results on a cached page, the cached version of that page may still reference the deleted entry even after the Algolia index has been updated. Your site uses static caching at the server level, which should clear automatically but can occasionally need a manual purge. If the entry has been removed from the Algolia index but is still appearing on a cached search results page, contact your site administrator to clear the cache.