[
https://issues.apache.org/jira/browse/SOLR-5790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15702515#comment-15702515
]
Ishan Chattopadhyaya commented on SOLR-5790:
--------------------------------------------
I tried this on 6.3, both on Linux and Windows. Created a collection each with
compositeid router. I was able to issue a DBQ using a CloudSolrClient. I think
this was temporary, due to reason that Shalin mentioned.
> 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: [email protected]
For additional commands, e-mail: [email protected]