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 Erick Erickson <er...@gmail.com> on 2012/06/03 14:30:33 UTC

Re: Rolling partitions with solr shards

Not really that I know of. One of the things on the wish list (and I
think being worked
on) is a pluggable hashing function for SolrCloud....

Best
Erick

On Sun, May 27, 2012 at 2:18 PM, avenka <av...@gmail.com> wrote:
> Is there a simple way to get solr to maintain shards as rolling partitions by
> date, e.g., the last day's documents in one shard, the week before yesterday
> in the next shard, the month before that in the next shard, and so on? I
> really don't need querying to be fast on the entire index, but it is
> critical that it be blazing fast on recent documents.
>
> A related but different question: in which config file can I change the
> default hash function to assign documents to shards? This outdated post
>  http://wiki.apache.org/solr/NewSolrCloudDesign
> seems to suggest that you can define your own hash functions as well as
> assign hash ranges to partitions, but I am not sure whether or how solr 3.6
> supports this. For that matter, I don't know whether or how SolrCloud (that
> I understand is available only in solr4) supports this.
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Rolling-partitions-with-solr-shards-tp3986315.html
> Sent from the Solr - User mailing list archive at Nabble.com.