sirensolutions / siren-join

[This is the old, single node version for Elasticsearch 2.x, see the latest "Siren Federate" plugin for distributed Elasticsearch 5.x and 6.x capabilities]

Home Page:http://siren.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

return error :null_pointer_exception

why633630 opened this issue · comments

commented

hylanda_dpt_newest_db/dpt_newest/_coordinate_search

{
  "query": {
    "bool": {
      "filter": {
        "filterjoin": {
          "foreign_key": {
            "indices": [
              "hylanda_db_7"
            ],
            "types": [
              "data"
            ],
            "path": "url_crc",
            "maxTermsPerShard": 10,
            "query": {
              "bool": {
                "must": [
                  {
                    "range": {
                      "release_date_day": {
                        "gte": "2017-05-02",
                        "lte": "2017-05-08"
                      }
                    }
                  },
                  {
                    "terms": {
                      "url_crc": [
                        "1721795334512627"
                      ]
                    }
                  }
                ]
              }
            }
          }
        }
      }
    }
  }
}

return

`{
  "error": {
    "root_cause": [
      {
        "type": "null_pointer_exception",
        "reason": null
      }
    ],
    "type": "search_phase_execution_exception",
    "reason": "all shards failed",
    "phase": "query",
    "grouped": true,
    "failed_shards": [
      {
        "shard": 0,
        "index": "hylanda_dpt_newest_db",
        "node": "Ak4l0xsVQYydaxbMT35XFw",
        "reason": {
          "type": "null_pointer_exception",
          "reason": null
        }
      }
    ]
  },
  "status": 500
}`