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

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

You can run a crontab every minute but I need near real-time changes mirrored 
from a set of tables in a database to a search index. 

You should be aware that Lucene 2.9 includes what it calls near realtime search 
capabilities and if you include these into solr 1.4 then the use case for 
delta-import will probably change from running every few hours and minutes 
(which is probably what you are used to right now) and quickly move to running 
every few seconds.  In that case running a crontab every minute is too long to 
wait and writing a script to call curl every few seconds will seem like an 
excessive use of system resources.

So, in answer to your question, it's probably is not a common use case now but 
with lucene 2.9 it will become a common use case.

Anyway, Its your call - take it or leave it.



> 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