You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Cool Techi <co...@outlook.com> on 2013/08/01 17:16:57 UTC
RE: Autowarming last 15 days data
Thanks Shwan, get the point.
Regards,
Ayush
> Date: Wed, 31 Jul 2013 09:46:49 -0600
> From: solr@elyograg.org
> To: solr-user@lucene.apache.org
> Subject: Re: Autowarming last 15 days data
>
> On 7/31/2013 9:21 AM, Cool Techi wrote:
> > Would it make sense if we open a newSearcher with the last 15 days documents? since these is the documents which are mostly used by the users. Also, how could i do this if this is possible?
>
> When you open a searcher, it's for the entire index. You may want to go
> distributed and keep the newest 15 days of data in a separate index from
> the rest. For my own index, I use this hot/cold shard setup. I have a
> nightly process that indexes data that needs to be moved into the cold
> shards and deletes it from the hot shard.
>
> http://wiki.apache.org/solr/DistributedSearch
>
> SolrCloud is the future of distributed search, but it does not have
> built-in support for a hot/cold shard setup. You'd need to manage that
> yourself with manual sharding. A custom sharding plugin to automate
> indexing would likely be very very involved, it would probably be easier
> to manage it outside of SolrCloud.
>
> Thanks,
> Shawn
>