で値を見つけることができません。 データ所有者の部分を削除しても、まだ結果はありません。私がbankCommunicationDateを剥奪すると、私は10件の結果を得ているので、問題があります。のみbankCommunicationDateの 問い合わせ:Elasticsearchは、私は次のクエリを起動範囲クエリ
GET archive-bp/_search
{
"query" :
{
"range" : {
"bankCommunicationStatusDate" : {
"from" : "2016-04-27T09:45:43.000Z",
"to" : "2026-04-27T09:45:43.000Z",
"time_zone" : "+02:00",
"include_lower" : true,
"include_upper" : true
}
}
}
}
私のインデックスのマッピングは、以下のbankCommunicationStatusDateフィールドが含まれています
"bankCommunicationStatusDate": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
}
そしてelasticsearchのフィールドbankCommunicationStatusDateの値があります。
- "bankCommunicationStatusDate": "2016-04-27T09:45:43.000Z"
- "bankCommunicationStatusDate": "2016-04-27T09:45:47.000Z"
何が悪いのでしょうか?
'time_zone'パラメータを削除するとどうなりますか? – Val
"time_zone"は "UTC"を意味する "Z"エンディングのために重要ではないはずです。もちろん、試してみる価値があります。 –