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

Shalin Shekhar Mangar commented on SOLR-670:
--------------------------------------------

Otis, which Solr version are you using or more specifically what is the 
revision of Lucene jars? Did you call commit after the rollback?

bq. Is it possible that the new rollback causes the IndexWriter to be closed on 
error, which then causes the following error next time you try to add a (valid) 
document? 

The javadocs for IndexWriter#rollback do not say anything like that, I'll try 
to reproduce the problem with trunk.

> UpdateHandler must provide a rollback feature
> ---------------------------------------------
>
>                 Key: SOLR-670
>                 URL: https://issues.apache.org/jira/browse/SOLR-670
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Noble Paul
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-670.patch, SOLR-670.patch, SOLR-670.patch
>
>
> Lucene IndexWriter already has a rollback method. There should be a 
> counterpart for the same in _UpdateHandler_  so that users can do a rollback 
> over http 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to