A magento 2 module that uses a cron job to delete indices marked as "ghost".
- PHP >= 7.1
- Magento >= 2.2
- Smile Elasticsuite module >= 2.10
Go to the Magento 2 root directory and run the following commands in the shell:
composer require sehrling/elasticsuite-ghost-cleaner
bin/magento module:enable Sehrling_ElasticsuiteGhostCleaner
bin/magento setup:upgrade
Create the directory app/code/Sehrling/ElasticsuiteGhostCleaner
and copy the all the files from this repository into it. Then run:
bin/magento module:enable Sehrling_ElasticsuiteGhostCleaner
bin/magento setup:upgrade