Timestamp Based Sharding/Searching

Hi

i want to use elasticsearch for realtime analysis , for which partitioning
scheme is , dumping the indexes in a round robin fashion with a period of
4/2 hrs ( 6/12 shards in total (cycle of 24 hrs)) . Each record contains a
time stamp (long) value .

For the querying part , the routing parameter is required for optimizing
search . in the query there's a time stamp range interval ( t1 , t2 ) ,
for the interval range ,the result is desired.

how should i use this interval to translate into shard routing key ? could
somebody please suggest some idea how to achieve this ?

Thanks
Tarang Dawer

--
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.
For more options, visit https://groups.google.com/groups/opt_out.