I have a field timeStamp (which is not be confused _timestamp), where i
store date_time format date (yyyy-MM-dd'T'HH:mm:ss.SSSZ). I have pushed a
couple of documents with different timestamp. http://localhost:9200/_search?Sort=timeStamp:desc&from=0&size=10
Tried to query it using above URI. But it seem to be not in sorted order as
expected.
mapping looks like below,
· "timeStamp": {
"type": "date",
*"format": "date_time" *
what i am looking for is to sort the timestamp value in desc/asc
format...is there anything wrong which i am trying? Thanks for the help.
I have a field timeStamp (which is not be confused _timestamp), where i
store date_time format date (yyyy-MM-dd'T'HH:mm:ss.SSSZ). I have pushed a
couple of documents with different timestamp. http://localhost:9200/_search?Sort=timeStamp:desc&from=0&size=10
Tried to query it using above URI. But it seem to be not in sorted order
as expected.
mapping looks like below,
· "timeStamp": {
"type": "date",
*"format": "date_time" *
what i am looking for is to sort the timestamp value in desc/asc
format...is there anything wrong which i am trying? Thanks for the help.
On Mon, Dec 17, 2012 at 5:17 PM, Prab <itsmepr...@gmail.com <javascript:>>wrote:
Hi All,
I have a field timeStamp (which is not be confused _timestamp), where i
store date_time format date (yyyy-MM-dd'T'HH:mm:ss.SSSZ). I have pushed
a couple of documents with different timestamp. http://localhost:9200/_search?Sort=timeStamp:desc&from=0&size=10
Tried to query it using above URI. But it seem to be not in sorted order
as expected.
mapping looks like below,
· "timeStamp": {
"type": "date",
*"format": "date_time" *
what i am looking for is to sort the timestamp value in desc/asc
format...is there anything wrong which i am trying? Thanks for the help.
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.