lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie Johnson (Commented) (JIRA)" <>
Subject [jira] [Commented] (SOLR-2765) Shard/Node states
Date Thu, 06 Oct 2011 19:31:29 GMT


Jamie Johnson commented on SOLR-2765:


I had a need to have this role capability so I could dynamically add/remove/discover solr
instances and their responsibility as the state of the cloud changed.  To do this I added
the following snippet to, and to
incorporate this information.  Now in solr.xml you define the following:

    <core name="coreName" instanceDir="." shard="shard1" collection="collection" roles="searcher,indexer"/>

I've attached the patch for comment (wasn't done against trunk but I can try to pull that
down and do it there if necessary).
> Shard/Node states
> -----------------
>                 Key: SOLR-2765
>                 URL:
>             Project: Solr
>          Issue Type: Sub-task
>          Components: SolrCloud, update
>            Reporter: Yonik Seeley
>             Fix For: 4.0
>         Attachments: shard-roles.patch
> Need state for shards that indicate they are recovering, active/enabled, or disabled.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message