网站首页 / 资讯 / Magento文档/ Magento2.x文档

M2奇葩问题:从M2.3升级到M2.4搜索无结果

作者:admin

这个问题特别奇特!

发现过程:客户网站从2.3升级到2.4.2 p1版本,发现elasticsearch 正常,但是始终无法得到任何数据,重置并刷新索引也无效。

问题日志:

\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [image_label] in order to load field data by uninverting the inverted index. Note that this can use significant memory.\"}}},\"status\":400} at /www/wwwroot/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:632)"} []

因为客户这个站点是从M1升级过来的,一直无任何问题,本次升级到M2.4,PHP版本及其它均有所升级,一一排除问题所在

标签: 搜索无结果 magento2 搜索无结果 magento2.4搜索无结果 magento搜索 m2搜索
上一篇:magento2 apache伪静态导致无法访问解决方案
下一篇:M2.X在windows机中安装出现报错Unable to apply data patch Magento\Theme\Setup\Patch\Data\RegisterThemes

相关内容

最近更新
相关产品
综合服务邮箱: magento2#foxmail.com