Oops- solrconfig.xml does not include an option for autocommit to use
expungeDeletes. You will have to do a <commit> operation directly.

On Thu, Mar 25, 2010 at 8:18 PM, Lance Norskog <goks...@gmail.com> wrote:
> You can do autoCommit in solrconfig.xml. This runs regular commits
> independently of the DataImportHandler.
>
> On Thu, Mar 25, 2010 at 9:44 AM, Ruben Chadien <ruben.chad...@aspiro.com> 
> wrote:
>> Hi
>>
>> I know this has been discussed before, but is there any way do 
>> expungeDeletes=true when the DataImportHandler does the commit.
>> I am using the deleteDocByQuery in a Transformer when doing a delta-import 
>> and as discussed before the documents are not deleted until restart.
>>
>> Also, how do i know in a Transformer if its running a Delta or Full Import , 
>> i tries looking at Context. currentProcess() but that gives me "FULL_DUMP" 
>> when doing a delta import...?
>>
>> Thanks!
>> Ruben Chadien
>
>
>
> --
> Lance Norskog
> goks...@gmail.com
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to