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

Jason Gerlowski resolved SOLR-9362.
-----------------------------------
    Resolution: Cannot Reproduce

> ConcurrentUpdateSolrClient does not work unless core name is passed in 
> constructor
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-9362
>                 URL: https://issues.apache.org/jira/browse/SOLR-9362
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrJ
>    Affects Versions: 5.5.2
>         Environment: SolrJ version 5.5.2 and Solr 5.5.2
>            Reporter: Toby Hobson
>            Priority: Minor
>
> With the standard HttpSolrClient I can use either:
> {code:java}
> new HttpSolrClient("http://localhost:8983/solr/mycore";)
> client.add(doc)
> {code}
> or 
> {code:java}
> new HttpSolrClient("http://localhost:8983/solr";)
> client.add("mycore", doc)
> {code}
> However  I cannot use
> {code:java}
> new ConcurrentUpdateSolrClient("http://localhost:8983/solr";, 100, 10)
> client.add("mycore", doc)
> {code}
> as I get an error:
> java.lang.RuntimeException: Invalid version (expected 2, but 60) or the data 
> in not in 'javabin' format
> {code:java}
> new ConcurrentUpdateSolrClient("http://localhost:8983/solr/mycore";, 100, 10)
> client.add(doc)
> {code}
> works as expected



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to