При попытке выполнить приведенный ниже запрос ES появляется сообщение об ошибке:
Запрос:
curl http://localhost:9200/test1/_search -H 'Content-Type: application/json' -d'
{
"size": 500
"query": {
"bool": {
"must": {},
"filter": {
{
"multi_match": {
"type": "best_fields",
"query": "10.9.5.8 10.9.0.7 10.9.5.5 10.9.2.3 10.9.2.1",
"lenient": true
}
}
}
}
}
}
Я получаю ошибку:
{"error":{"root_cause":[{"type":"json_parse_exception","reason":"Unexpected character ('\"' (code 34)): was expecting comma to separate Object entries\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@3667826c; line: 4, column: 6]"}],"type":"json_parse_exception","reason":"Unexpected character ('\"' (code 34)): was expecting comma to separate Object entries\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@3667826c; line: 4, column: 6]"},"status":500}