[ https://issues.apache.org/jira/browse/SOLR-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487421#comment-13487421 ]
Lance Norskog commented on SOLR-1487: ------------------------------------- [SOLR-3938]-unit.patch adds prepareCommit(). A question to the experts: what is a good unit test to enhance for this? It needs to check numDoc v.s. maxDoc, to the test would be one that add docs and then reads back the stats. > 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