lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suma Shivaprasad <sumasai.shivapra...@gmail.com>
Subject Re: SolrCloud on 5.2.1 cluster state
Date Wed, 05 Aug 2015 17:54:07 GMT
Thanks Shawn.

Does this mean in client code, wherever we are using the API

"ZkStateReader.getClusterState.getCollections" to get status should be
changed to
"CollectionsAdminRequest.ClusterStatus" for each collection or will that
API continue to work ?

Thanks
Suma

On Wed, Aug 5, 2015 at 11:00 PM, Shawn Heisey <apache@elyograg.org> wrote:

> On 8/5/2015 9:22 AM, Suma Shivaprasad wrote:
> > Hello,
> >
> > Is /clusterstate.json in Zookeeper updated with collection state if a
> > collection is created with server running in Solr Cloud mode without
> > creating a core through coreAdmin or providing a core.properties . I find
> > that there is a "state.json" present under /collections/<collection_name>
> > which reflects the collection status . However dont find the
> > /clusterstate.json updated. Is this an expected behaviour ?
>
> Yes, that is expected behavior.  A separate clusterstate for each
> collection was one of the big new features in Solr 5.0:
>
> https://issues.apache.org/jira/browse/SOLR-5473
>
> Thanks,
> Shawn
>
>

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