On Thu, Aug 27, 2009 at 9:57 PM, GiriGG <giri...@gmail.com> wrote:

>
> Hi All,
>
> I need to build a Search system using Solr. I need to keep data of 30 days
> which will be around 400GB.
> I will be using Distributed Search with Master/Slaves (Data will be
> published to each shard on round robin basis). My challenge is I need to
> delete older than 30 days data (around 12GB) every night. Search will be
> very high on the data of the current day as well as last 1 week data. How
> many shards with masters & slaves I should have to handle the search as
> well
> as to delete old data every night?
>

The number of shards and number of slaves in a shard is all dependent on
your hardware, data and kind of queries. It may be better to shard by date
and just delete the shards which have data older than 30 days.

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to