I have a zookeeper ensemble hotes in one amazon server.
Using the CloudSolrServer and trying to connect , I obtain this nreally
unusual error :

969 [main] INFO org.apache.solr.common.cloud.ConnectionManager - Client is
connected to ZooKeeper
1043 [main] INFO org.apache.solr.common.cloud.ZkStateReader - Updating
cluster state from ZooKeeper...
Exception in thread "main" org.apache.solr.common.SolrException: Unknown
document router '{name=implicit}'
at org.apache.solr.common.cloud.DocRouter.getDocRouter(DocRouter.java:46)

Although in my collection I have the compositeId strategy for routing (
from the clusterState.json ) .

This is how I instantiate the server :

CloudSolrServer server;
        server = new CloudSolrServer("
ec2-xx.xx.xx.eu-west-1.compute.amazonaws.com:2181,
ec2-xx.xx.xx.eu-west-1.compute.amazonaws.com:2182,
ec2-xx.xx.xx.eu-west-1.compute.amazonaws.com:2183");
        server.setDefaultCollection("example");
        SolrPingResponse ping = server.ping();

Any hint ?
-- 
--------------------------

Benedetti Alessandro
Visiting card : http://about.me/alessandro_benedetti

"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"

William Blake - Songs of Experience -1794 England

Reply via email to