On 1/20/2015 11:42 PM, Clemens Wyss DEV wrote:
> But then what happens if:
> Autocommit is set to 10 docs
> and
> I add 11 docs and then decide (due to an exception?) to rollback.
> 
> Will only one (i.e. the last added) document be rollen back?

The way I understand the low-level architecture, yes -- assuming that
all 11 documents actually got indexed.  If the exception happened
because of document 5 was badly formed, only documents 1-4 will have
been indexed, and in that case, all four of them would get rolled back.

Thanks,
Shawn

Reply via email to