更新至最新的magento 2.2.5
索引:catalogsearch\u全文永远不会完成。
目录size:-
Store View: 10
Category: 33K
Products: 300K
完成以下索引需要花费大量时间(2小时以上):
catalog_product_category
catalog_product_attribute
下面的索引永远不会完成
catalogsearch_fulltext
使用mirasvit的ElasticSearch。
totak mysql数据库大小=~30+gb
仍然没有索引结果
1条答案
按热度按时间46qrfjad1#
This is happening because of multiple store view, is actually easy to manage; in Magento 2.2.5, indexers are scoped and multi-threaded to support reindexing in parallel mode. This feature reduces processing time. It parallelizes by the indexer’s dimension and executes across multiple threads. This means that you can catalogsearch_fulltext can be run in parallel mode:
the
following command runs the Catalog Search Fulltext indexer across three threads:MAGE_INDEXER_THREADS_COUNT=3 php -f bin/magento indexer:reindex catalogsearch_fulltext
了解更多https://devdocs.magento.com/guides/v2.2/config-guide/cli/config-cli-subcommands-index.html#view-索引器状态