小编eqx*_*Dev的帖子

Elasticsearch 7.7 损坏的查询

这是在 7.6.2 上工作的,但是自从升级到 7.7 后它就停止工作了,不知道为什么?

我正在使用嵌套或嵌套必须进行查询,因此它必须在三列上为 5 5 5 或 6 6 6。

我正在使用 laravel scout 驱动程序进行弹性搜索 babenkoivan/scout-elasticsearch-driver

谢谢 :)!

  "query": {
    "bool": {
      "must": [
        {
          "bool": {
            "should": [
              {
                "bool": {
                  "must": [
                    [
                      {
                        "term": {
                          "section": "205"
                        }
                      },
                      {
                        "term": {
                          "profile": "40"
                        }
                      },
                      {
                        "term": {
                          "rim_size": "17"
                        }
                      }
                    ]
                  ]
                }
              }
            ]
          }
        },
        {
          "bool": {
            "should": [
              [
                {
                  "term": {
                    "supplier_id": 3
                  }
                }
              ]
            ] …
Run Code Online (Sandbox Code Playgroud)

php elasticsearch laravel

7
推荐指数
1
解决办法
1249
查看次数

标签 统计

elasticsearch ×1

laravel ×1

php ×1