magentoce2.2目录索引问题

thtygnil  于 2021-06-20  发布在  Mysql
关注(0)|答案(1)|浏览(351)

更新至最新的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
仍然没有索引结果

46qrfjad

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-索引器状态

相关问题