我試圖找到所有內容字段包含單詞「敘利亞」,並具有紀元時間大於1465312440000的文檔。以下查詢運行,但只返回文檔包含單詞「敘利亞」。 (Elasticsearch版本2.2)Elasticsearch試圖查詢術語和時間範圍
{
"query": {
"filtered": {
"query": {
"match": {
"content": "syria"
},
"filter": {
"term": {
"sourceOriginator": "Twitter"
},
"bool": {
"range": {
"epochCollectionDate": {
"gte": 1465312440
}
}
}
}
}
}
}
}