I haven't used this myself, but Solr supports a 
http://wiki.apache.org/solr/UpdateXmlMessages#A.22rollback.22 rollback 
function. It is supposed to rollback to the state at the previous commit. So
you may want to turn off auto-commit on the index you are updating if you
want to control what that last commit level is.

However, in your case if the index gets corrupted due to a disk full
situation, I don't know what rollback would do, if anything, to help. You
may need to play with the scenario to see what would happen.

If you are using the DataImportHandler it may handle the rollback for
you...again, however, it may not deal with disk full situations gracefully
either.
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/index-format-error-because-disk-full-tp948249p948968.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to