Re: Custome routing based on date field

2014-04-14 Thread Mukesh Jha
"Aliases are meant for read operations can refer to one or more real collections". So should I go with the approach of creating a collection for per day's data and aliasing a collection with all these collection names? So instead of trying to route the documents to a shard should I send to a spec

Re: Custome routing based on date field

2014-04-14 Thread Alexandre Rafalovitch
Would collection aliasing be a relevant feature here (a different approach): http://blog.cloudera.com/blog/2013/10/collection-aliasing-near-real-time-search-for-really-big-data/ Regards, Alex. Personal website: http://www.outerthoughts.com/ Current project: http://www.solr-start.com/ - Acceler

Custome routing based on date field

2014-04-14 Thread Mukesh Jha
Hello Experts, I want to index my documents in a way that all documents for a day are stored in a single shard. I am planning to have shards for each day e.g. shard1_01_01_2010, shard1_02_01_2010 ... And while hashing the documents of 01/01/2010 should go to shard1_01_01_2010. Thins way I can qu