Type date bugs while searching

i definded
"logtime": {
"type" : "date",
"format" : "MM-dd HH:mm:ss"
,"index": "not_analyzed"
}

i can using searching "from": 1400854131, "to": "now", and get i correct
result,
{
"facets": {
....
"filter": {
"bool": {
"must": [
{
"range": {
"logtime": {
"from": 1400854131,
"to": "now"
}
}
...
}
but when i use "from": 1400854131, "to": 1400854381 i get nothing
(there are a lot of docment during this time)
and when i use "from": 1400854131212, "to": now, i get nothing too (kibana
searching in this way)

i'm using version 1.1.1 is there a solution to solve this problem?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/314e085d-5719-4686-820d-ff7e44ebba54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I found 1.1.2 mentioned fix some problem about query/filter on dates
but i tried 1.2.0 the problem is still there. is there a solution to solve
this problem?

On Friday, May 23, 2014 11:38:11 PM UTC+8, Zealot Yin wrote:

i definded
"logtime": {
"type" : "date",
"format" : "MM-dd HH:mm:ss"
,"index": "not_analyzed"
}

i can using searching "from": 1400854131, "to": "now", and get i
correct result,
{
"facets": {
....
"filter": {
"bool": {
"must": [
{
"range": {
"logtime": {
"from": 1400854131,
"to": "now"
}
}
...
}
but when i use "from": 1400854131, "to": 1400854381 i get nothing
(there are a lot of docment during this time)
and when i use "from": 1400854131212, "to": now, i get nothing too
(kibana searching in this way)

i'm using version 1.1.1 is there a solution to solve this problem?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/82061bf6-2d0d-4814-a32d-efb2da2874f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.