You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Günther Ruck (JIRA)" <ji...@apache.org> on 2014/02/27 17:35:22 UTC

[jira] [Created] (SOLR-5790) SolrException: Unknown document router '{name=compositeId}'.

Günther Ruck created SOLR-5790:
----------------------------------

             Summary: SolrException: Unknown document router '{name=compositeId}'.
                 Key: SOLR-5790
                 URL: https://issues.apache.org/jira/browse/SOLR-5790
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
    Affects Versions: 4.6.1
         Environment: Windows 7 64 Bit
            Reporter: Günther Ruck
            Priority: Minor


I tried to use the CloudServerClass of the SolrJ-Api. SolrJ and Solr-Server both in version 4.6.1.
{{serverCloud =  new CloudSolrServer(zkHost);}}
My JUnit starts with a deleteByQuery. In DocRouter.java:46 a SolrException is thrown because 
{{routerMap.get(routerSpec);}}
finds no entry.
_Hints:_
routerSpec is an instance of LinkedHashMap<K,V> with one entry (key:"name", value:"compositeId").

routerMap is a HashMap<K,V> holding 4 entries, especially key:"compositeId" has value: " org.apache.solr.common.cloud.CompositeIdRouter".

Probably there is a type mismatch at the routerMap.get call.




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org