lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshum Gupta <ans...@anshumgupta.net>
Subject Re: SolrJ CollectionAdminRequest.Reload fails
Date Fri, 11 Sep 2015 21:41:00 GMT
This certainly can be fixed. Can you create a JIRA for the same? There
might be other calls which might need fixing on similar lines.

On Fri, Sep 11, 2015 at 2:32 PM, Shawn Heisey <apache@elyograg.org> wrote:

> On 9/11/2015 3:12 PM, Hendrik Haddorp wrote:
> > I'm using Solr 5.3.0 and noticed that the following code does not work
> > with Solr Cloud:
> >     CollectionAdminRequest.Reload reloadReq = new
> > CollectionAdminRequest.Reload();
> >     reloadReq.process(client, collection);
> >
> > It complains that the name parameter is required. When adding
> >     reloadReq.setCollectionName(collection);
> > it works. But why would I need to specify the collection name twice?
>
> This might be an oversight in the code, or perhaps it is a situation
> where it won't be possible to handle the collection as a method argument.
>
> Can you give us the full error message (including any stacktrace) so I
> can look into it later this evening?
>
> Thanks,
> Shawn
>
>


-- 
Anshum Gupta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message