Hi Alessandro, What version of Solr are you running and what's the version of SolrJ? I am guessing they are different.
On Wed, Oct 30, 2013 at 8:32 PM, Alessandro Benedetti < benedetti.ale...@gmail.com> wrote: > 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 > -- Anshum Gupta http://www.anshumgupta.net