According to code, at least in Solr 4.2, getParams of CoreAdminRequest.Unload
returns locally created ModifiableSolrParams.
It means that parameters that are set in such way won't be received in
CoreAdminHandler.

I'm going to open an issue in Jira and provide a patch for this.

Best regards,
Lyuba



On Fri, Jul 5, 2013 at 6:12 PM, Shalin Shekhar Mangar <
shalinman...@gmail.com> wrote:

> SolrJ doesn't have explicit support for that param but you can always
> add it yourself.
>
> For example:
> CoreAdminRequest.Unload req = new CoreAdminRequest.Unload(false);
> ((ModifiableSolrParams) req.getParams()).set("deleteInstanceDir", true);
> req.process(server);
>
> On Thu, Jul 4, 2013 at 12:50 PM, Lyuba Romanchuk
> <lyuba.romanc...@gmail.com> wrote:
> > Hi,
> >
> > I need to unload core with deleting instance directory of the core.
> > According to code of Solr4.2 I don't see the support for this parameter
> in
> > solrj.
> > Is there the fix or open issue for this?
> >
> > Best regards,
> > Lyuba
>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Reply via email to