[ 
https://issues.apache.org/jira/browse/SOLR-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497697#comment-13497697
 ] 

Radim Kolar commented on SOLR-1487:
-----------------------------------

workaround to expunge deleted documents

UpdateRequest rq = new UpdateRequest();
rq.setAction(UpdateRequest.ACTION.COMMIT, false, false, 100, true);
rq.process(solrSvr);
                
> Add  expungeDelete to SolrJ's SolrServer.commit(..)
> ---------------------------------------------------
>
>                 Key: SOLR-1487
>                 URL: https://issues.apache.org/jira/browse/SOLR-1487
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>    Affects Versions: 1.3
>         Environment: N/A
>            Reporter: Jibo John
>         Attachments: expunge-patch.txt
>
>
> Add  expungeDelete to SolrJ's SolrServer.commit(..).
> Currently, this can be done only through updatehandler (  ( curl update -F 
> stream.body=' <commit expungeDeletes="true"/>' )) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to