elasticsearch 5: Unknown key for a START_OBJECT in [filters]
<p>Im trying to migrate from elasticsearch 1.7 to 5.1 and I have a problem:</p>

<pre><code>curl -XGET http://127.0.0.1:9200/openlist_ru-formulars/formular/_search?pretty=true -d '{
    "filter": [
        { "range": { "born": { "gte": "1874" }}}
    ]
}'
</code></pre>

<p>and answer:</p>

<pre><code>{
  "error" : {
    "root_cause" : [
      {
        "type" : "parsing_exception",
        "reason" : "Unknown key for a START_OBJECT in [filters].",
        "line" : 2,
        "col" : 12
      }
    ],
    "type" : "parsing_exception",
    "reason" : "Unknown key for a START_OBJECT in [filters].",
    "line" : 2,
    "col" : 12
  },
  "status" : 400
}
</code></pre>

<p>I used google all the day but still have no answer what it means. Please help.</p>