and i receive error when using https://github.com/elastic/elasticsearch-js
{
"error": {
"root_cause": [
{
"type": "parsing_exception",
"reason": "Unknown key for a START_OBJECT in [filter].",
"line": 1,
"col": 21
}
],
"type": "parsing_exception",
"reason": "Unknown key for a START_OBJECT in [filter].",
"line": 1,
"col": 21
},
"status": 400
}
hihi @dncrews i have use your example to build query like that
and i receive error when using https://github.com/elastic/elasticsearch-js { "error": { "root_cause": [ { "type": "parsing_exception", "reason": "Unknown key for a START_OBJECT in [filter].", "line": 1, "col": 21 } ], "type": "parsing_exception", "reason": "Unknown key for a START_OBJECT in [filter].", "line": 1, "col": 21 }, "status": 400 }
But when im modify the query like that, im fine
so you can suggest me how can fix that when using your project