Does order matter when doing range searches by date?


(None) #1

Say I insert a few documents that have "date" field (not ES stamp) but the
documents are not inserted in order of date.

{
...
"DateMoved": "2014-12-31..."
}

{
...
"DateMoved": "2013-12-31..."
}

{
...
"DateMoved": "2014-12-25..."
}

{
...
"DateMoved": "2012-12-25..."
}

{
...
"DateMoved": "2013-12-25..."
}

And so on...

If i wanted to do a range query by DateMoved (For all documents in 2013-12)
would it affect the speed of the query?

--
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/c000ec08-abc9-44c1-9f88-544ce69a824c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2