[ 
https://issues.apache.org/jira/browse/SOLR-1426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abdul Chaudhry updated SOLR-1426:
---------------------------------

    Attachment: delta-import-perpetual.patch

Uploaded a patch that implements this feature.

Ran all unit tests on my tree and they pass.

The only thing I have hard-coded is the sleep interval which is :-
Thread.sleep(3000)

This should probably be configurable.

> 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
>             Fix For: 1.4
>
>         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://search-master.fansnap.com:8985/solr/tickets/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://search-master.fansnap.com: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