Command Line Interface - Fast Asynchronous Re-indexing
To run extension via command line (shell, SSH) you can use php script located at
Usage: php asyncindex.php [options]
Run (reindex queue, index validation (if enabled))
--fill-queue Generate random queue
--help Help
Examples
Additionaly, for handle indexes you can use native magento php script located at php asyncindex.php
php asyncindex.php --fill-queue
Usage: php indexer.php [options]
--status <indexer> Show Indexer(s) Status
--mode <indexer> Show Indexer(s) Index Mode
--mode-realtime <indexer> Set index mode type "Update on Save"
--mode-manual <indexer> Set index mode type "Manual Update"
--reindex <indexer> Reindex Data
info Show allowed indexers
reindexall Reindex Data by all indexers
help This help
<indexer>
- Comma separated indexer codes or value "all" for all indexers (if without codes). To see all available indexers, run php indexer.php info
Examples
php indexer.php reindexall
php indexer.php --reindex catalog_product_attribute
Was this page helpful?
Your feedback about this content is important.
Let us know what you think.