You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2016/11/28 19:26:58 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-5790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar resolved SOLR-5790.
-----------------------------------------
    Resolution: Not A Problem

Thanks for confirming Ishan. I'll close this as "Not a problem".

> 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.3.4#6332)

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