lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <goks...@gmail.com>
Subject Re: abort data import on errors
Date Wed, 05 Jan 2011 03:16:48 GMT
The DataImportHandler does this already. In fact you can set what
happens on an indexing error.

On Tue, Jan 4, 2011 at 4:59 PM, Tri Nguyen <tringuyen99@yahoo.com> wrote:
> I didn't want to issue the rollback command but have solr automatically detect exceptions
and rollback should there be exceptions.
>
> Probably there's an attribute I can configure to specify this for solr to understand.
>
> Tri
>
> --- On Tue, 1/4/11, Markus Jelsma <markus.jelsma@openindex.io> wrote:
>
>
> From: Markus Jelsma <markus.jelsma@openindex.io>
> Subject: Re: abort data import on errors
> To: solr-user@lucene.apache.org
> Date: Tuesday, January 4, 2011, 4:57 PM
>
>
> http://wiki.apache.org/solr/UpdateXmlMessages#A.22rollback.22
>
>> Hi,
>>
>> Is there a way to specify to abort (rollback) the data import should there
>> be an error/exception?
>> If everything runs smoothly, commit the data import.
>>
>> Thanks,
>>
>> Tri
>



-- 
Lance Norskog
goksron@gmail.com

Mime
View raw message