Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5046

Investigate feasibility of re-indexing ES on each deploy

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Should have Should have
    • None
    • 6
    • Search
    • Sprint #133
    • nix

      Re-indexing through the admin site is a slow process but also "expensive". During the re-indexing the old index is being deleted to create the new one. While the re-index runs the ES is offline. If the admin closes the tab before it's completed the re-index pauses and the ES never gets back online.

      Instead of suggesting to admins to re-index their ES every now and then it would make more sense to automate that process.

      Tasks

      • Investigate wp-cli options of ElasticPress plugin to figure out the less destructive one
      • Add a post-deploy script to re-index on each deployment

            nroussos Nikos Roussos
            nroussos Nikos Roussos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: