On 10/16/2013 9:44 AM, Christopher Gross wrote:
> Garth,
> 
> I think I get what you're saying, but I want to make sure.
> 
> I have 3 servers (index1, index2, index3), with Solr living on port 8080.
> 
> Each of those has 3 cores loaded with data:
> core1 (old version)
> core1new (new version)
> core2 (unrelated to core1)
> 
> If I wanted to make it so that queries to core1 are really going to
> core1new, I'd run:
> http://index1:8080/solr/admin/cores?action=CREATEALIAS&name=core1&collections=core1new&shard=shard1

Alias is a *Collections* API concept, not a CoreAdmin API concept.

One question is this:  Do you have a *collection* named core1, or just a
*core* named core1?  I'm pretty sure that it's possible on a SolrCloud
system to have cores that are not participating in the cloud infrastructure.

Collections are made up of shards.  Shards have replicas.  Each replica
is a core.

I'd like to see whether you have configurations loaded into zookeeper.
In the admin UI, click on Cloud, then Tree.  Click the arrow to the left
of "/configs" to open it.  If you see folders underneath /configs, then
you do have at least one configurations in zookeeper, and you will have
the name(s) they are using.

You can also click the arrow next to /collections and see whether you
have any collections.

The Cloud->Graph page shows you a visual representation of your cloud.

Let us know what you find.  If you have anything there, I can give you
some API URL calls that will hopefully fully illustrate what I'm saying.

Thanks,
Shawn

Reply via email to