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 query a specific shard for my documents of a given date,
also I can just delete the shards for date older than some data.

For this I tried using date*!*docId as my hashing param but it calculates
the hash on the date feild and assigns a shard (based on which shard is
assigned for that hash) to it which is not what i desire to have.

Is this possible using the current solr-cloud?

-- 


Thanks & Regards,

*Mukesh Jha <me.mukesh....@gmail.com>*

Reply via email to