【发布时间】:2017-11-04 19:47:04
【问题描述】:
原因:org.elasticsearch.common.ParsingException: [bool] 格式错误 查询,应为 [END_OBJECT],但找到了 [FIELD_NAME]
这是我的请求方式:
{
"bool": {
"must": [
{
"range": {
"timestamp": {
"gt": ${timestamp_from},
"lt": ${timestamp_to},
"include_lower": true,
"include_upper": false
}
}
}
]
},
"aggs": {
"max_timestamp": {
"max": {
"field": "timestamp"
}
}
}
}
【问题讨论】:
标签: elasticsearch