lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnon Yogev <>
Subject Re: Implicit Router Configurations
Date Wed, 24 Jun 2015 06:54:42 GMT
Thank you Erick,

What is the recommended way to manually change clusterstate.json?
Is there a java code \ script way of editing a file in ZK?


From:   Erick Erickson <>
Date:   23/06/2015 09:09 PM
Subject:        Re: Implicit Router Configurations

Please raise a JIRA for this, I can see why this would occur.
You can manually change the clusterstate.json file when this
happens as a stop-gap, I'd have all the Solr instances down
when doing this though.


On Tue, Jun 23, 2015 at 8:19 AM, Arnon Yogev <> wrote:
> We have a use case where documents are indexed in shards according to a
> specific field (shard per user), and the number of shards is unknown 
> creating the collection.
> For that purpose we use the implicit router and define 
> From what we've seen, the only way to define an implicit router is 
> the collection creation.
> Moreover, the router definitions ( and router.field) are kept
> only in clusterstate.json and not in any solr configuration file on 
> In some cases solr state becomes inconsistent and we need to delete the
> configs from ZK and restart the solr server. The behavior we see is the
> new clusterstate.json generated by solr on startup has the default
>, which is not what we defined during creation.
> Are we missing something? Is there a place to configure the implicit
> router on disk such that it will be persistent?
> Thanks,
> Arnon

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message