There is a document with timestamp as 2015-05-18T19:08:35Z. This is correctly returned in the following query.
But if I increase the time interval from 5 minutes to 10 minutes the same row does not show up in the results.
curl -XGET "http://localhost:9200/enwiki_content/page/_search?&pretty=true" -d' {
"query": {
"range": {
"timestamp": {
"gte": "2015-05-18T19:04:00Z",
"lte": "2015-05-18T19:09:00Z"
}
}
} } ' > out2.txt
curl -XGET "http://localhost:9200/enwiki_content/page/_search?&pretty=true" -d' {
"query": {
"range": {
"timestamp": {
"gte": "2015-05-18T19:01:00Z",
"lte": "2015-05-18T19:09:00Z"
}
}
} } ' > out2.txt
The second query above should return all the rows from first query + any other matching rows. Right? (This is wikipedia 5 million data (more than 100 GB) if that matters.)
Zand notz? Probably won't change much, but never know.