• Resolved aballco

    (@aballco)


    We recently migrated our site from a Digital Ocean droplet to WP Engine. The new server meets the requirements (PHP7, curl and mbstring enabled, WP 4.9.4, etc.).

    But we have found that the plugin only updates our index when a post (in this case our custom post type) is published or unpublished. However, when deleting a post, the index is never updated.

    The plugin seemed to be working fine on our old server, but I can’t say for certain that we ever encountered a situation where we were deleting posts, so I can’t guarantee that this wasn’t an issue previously.

    Any insight is appreciated.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor rayrutjes

    (@rayrutjes)

    Hello,

    In a recent version, we introduced a bug leading to the loss of the number of records for a given post.
    The result is that when those posts get deleted, there is no way to properly delete them from Algolia.

    The version of the plugin containing this version has not stayed out for long but it might be possible you got it which would explain your unexpected behaviour.

    If you manually delete the indices in Algolia and re-index everything, all meta data should be reset properly.

    Last but not least, the issue could also be related to the way wp-engine optimizes meta data. There is not much more I can tell on that part given it is a secret sauce.

    I hope that helps,

    Best,

    Thread Starter aballco

    (@aballco)

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Indexing on publish/unpublish, but not on deletion’ is closed to new replies.