You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Neeraj Bhatt <ne...@gmail.com> on 2016/03/03 11:42:04 UTC

Does SolrEntityProcessor works with Solr Cloud ?

Hello All

I am tryiing to import data from one solr cloud into another using
SolrEntityProcessor. My schema got changed and I need to reindex

1. Does SolrEntityProcessor works with Solr cloud to get data from Solr Cloud ?

It looks it will not work as SolrEntityProcessor code is creating
instance of SolrClient and not of CloudSolrClient

 solrClient = new HttpSolrClient(url.toExternalForm(), client);

2. Also in url how will I pass my zookeeper external ensemble urls

Should I open a jira for it


Thanks
Neeraj

Re: Does SolrEntityProcessor works with Solr Cloud ?

Posted by Shawn Heisey <ap...@elyograg.org>.
On 3/3/2016 4:00 AM, Erik Hatcher wrote:
> Neeraj -
>
> SolrEntityProcessor does not yet work with CloudSolrClient, only the direct HTTP one as you’ve determined.  Please feel free to file a JIRA for this feature request.
>
> However, practically speaking, using a hard-coded HTTP end-point in the SolrEntityProcessor configuration would still work, even against a SolrCloud cluster.

I have opened an issue in Jira and uploaded a patch.

https://issues.apache.org/jira/browse/SOLR-8784

I'm nearly ready to commit it, but I would like others to review.

Thanks,
Shawn


Re: Does SolrEntityProcessor works with Solr Cloud ?

Posted by Erik Hatcher <er...@gmail.com>.
Neeraj -

SolrEntityProcessor does not yet work with CloudSolrClient, only the direct HTTP one as you’ve determined.  Please feel free to file a JIRA for this feature request.

However, practically speaking, using a hard-coded HTTP end-point in the SolrEntityProcessor configuration would still work, even against a SolrCloud cluster.


—
Erik Hatcher, Senior Solutions Architect
http://www.lucidworks.com <http://www.lucidworks.com/>



> On Mar 3, 2016, at 5:42 AM, Neeraj Bhatt <ne...@gmail.com> wrote:
> 
> Hello All
> 
> I am tryiing to import data from one solr cloud into another using
> SolrEntityProcessor. My schema got changed and I need to reindex
> 
> 1. Does SolrEntityProcessor works with Solr cloud to get data from Solr Cloud ?
> 
> It looks it will not work as SolrEntityProcessor code is creating
> instance of SolrClient and not of CloudSolrClient
> 
> solrClient = new HttpSolrClient(url.toExternalForm(), client);
> 
> 2. Also in url how will I pass my zookeeper external ensemble urls
> 
> Should I open a jira for it
> 
> 
> Thanks
> Neeraj