0

突然,我认为我们没有进行任何更改,我们在重新索引目录搜索时出错:

{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"mapper [category_position_25536] cannot be changed from type [text] to [integer]"}],"type":"illegal_argument_exception","reason":"mapper [category_position_25536] cannot be changed from type [text] to [integer]"},"status":400}

我重新索引了几次,使用 bin/magento index:reset,删除了这样的索引: curl -XDELETE https://host:9200/prefix_product_4_v904 (这适用于所有索引)

现在搜索没有错误,只是没有结果。即使在类别页面上也没有产品出现。

有人可以指出我正确的方向吗?

4

0 回答 0