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

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

I would avoid using the DIH for incremental updates. You need to be careful 
synchronizing with an eventually consistent database. I would go to the 
'source' that manages the updates/inserts before they even get to the database 
and push to SOLR from the source.

                
> 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: James Dyer
>         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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to