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

Abdul Chaudhry commented on SOLR-1426:
--------------------------------------

The SOLR-783 fix seems to force you to use the entity name with the 
last_index_time

My fix for this was to change the deltaQuery like so :-

WHERE updated_at > DATE_SUB('${dataimporter.[name of 
entity].last_index_time}',INTERVAL 10 SECOND)



> Allow delta-import to run continously until aborted
> ---------------------------------------------------
>
>                 Key: SOLR-1426
>                 URL: https://issues.apache.org/jira/browse/SOLR-1426
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4
>            Reporter: Abdul Chaudhry
>            Assignee: Noble Paul
>             Fix For: 1.5
>
>         Attachments: delta-import-perpetual.patch
>
>
> Modify the delta-import so that it takes a perpetual flag that makes it run 
> continuously until its aborted.
> http://localhost:8985/solr/select/?command=delta-import&clean=false&qt=/dataimport&commit=true&perpetual=true
> perpetual means the delta import will keep running and pause for a few 
> seconds when running queries.
> The only way to stop delta import will be to explicitly issue an abort like 
> so:-
> http://localhost:8985/solr/tickets/select/?command=abort

-- 
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