【问题标题】:Magento 2.4.2 Catalog Search index process unknown errorMagento 2.4.2 目录搜索索引过程未知错误
【发布时间】:2021-04-04 07:53:07
【问题描述】:

我运行了bin/magento indexer:reindex,但出现以下错误: Catalog Search index process unknown error: {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"No handler for type [text] declared on field [_search]"}],"type":"mapper_parsing_exception","reason":"No handler for type [text] declared on field [_search]"},"status":400} 可能是什么问题,我该如何解决?

【问题讨论】:

    标签: elasticsearch magento2


    【解决方案1】:

    我通过将elasticsearch更新到最新版本来修复它

    【讨论】:

      【解决方案2】:
      /etc/apache2/sites-available/elasticsearch.conf
      
      => paste this code
      
      <VirtualHost *:8080>
      ProxyPass "/" "http://localhost:9200/"
      ProxyPassReverse "/" "http://localhost:9200/"
      </VirtualHost>
      
      sudo a2ensite elasticsearch.conf
      

      Visit this link for detailed clarification

      【讨论】:

        猜你喜欢
        • 2014-01-16
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-04-19
        • 2014-10-07
        • 1970-01-01
        • 2021-04-06
        • 1970-01-01
        相关资源
        最近更新 更多