I want to search or get documents between the date range provided, my
document consists 1 field with name created having mapping as:
"created" : {
"type" : "date",
"format" : "dateOptionalTime"
}
& we store unix timestamp in this field. now when I query against this field with date (yyyy-mm-dd) it doesn't returns me any documents even if documents with that date converted into timestamp exists in ES.
Now there are many documents in this range but created field has timestamp stored instead of date...per documentation on website I guess this should be possible...
I want to search or get documents between the date range provided, my
document consists 1 field with name created having mapping as:
"created" : {
"type" : "date",
"format" : "dateOptionalTime"
}
& we store unix timestamp in this field. now when I query against this field with date (yyyy-mm-dd)
it doesn't returns me any documents even if documents with that date converted into timestamp
exists in ES.
Now there are many documents in this range but created field has timestamp stored instead
of date...per documentation on website I guess this should be possible...
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.