You can always add arbitrary parameters to an update request:

    UpdateRequest ureq = new UpdateRequest();
    ureq.add(doc);
    ureq.setParam("expungeDeletes","true");
    NamedList<Object> rsp = server.request(ureq);


-Yonik
http://www.lucidimagination.com


On Fri, Oct 2, 2009 at 4:05 PM, Jibo John <jiboj...@mac.com> wrote:
> Hello,
>
> I know I can invoke expungeDeletes using updatehandler  ( curl update -F
> stream.body=' <commit expungeDeletes="true"/>' ), however, I was wondering
> if it is possible to invoke it using SolrJ.
>
> It looks like, currently, there are no SolrServer.commit(..) methods that I
> can use for this purpose.
>
> Any input will be helpful.
>
>
> Thanks,
> -Jibo
>
>
>

Reply via email to