lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] Commented: (SOLR-1251) Add quartz-like scheduling capability to DIH
Date Tue, 30 Jun 2009 18:12:47 GMT


Hoss Man commented on SOLR-1251:

FWIW: when this idea has been discussed in the past, one of the key issues was that the "scheduling"
feature probably shouldn't be part of DIH.  it would be just as easy (and more flexible) if
it was a separate request handler that could be configured to trigger*any* other request handler
on a set schedule (ie: ping DIH's delta command, ping DIH's full build command, ping spellcheckerhander's
rebuild command, ping some other custom request handler for triggering special recurring logic,

personally: I think a generic servlet, not even living inside the solr webapp, would be just
as simple, and more generally reusable to the entire world, but i recognize that having this
be a request handler, configured directly in solrconfig.xml, would be the easiest thing for
most solr users to deal with.

> Add quartz-like scheduling capability to DIH
> --------------------------------------------
>                 Key: SOLR-1251
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: contrib - DataImportHandler
>            Reporter: Jay Hill
>            Priority: Minor
> Add capability to schedule in a cron-like way DIH imports. I'm thinking mostly for delta
imports, but could be configurable for full imports as well. Ideally something where you could
set a cron expression in the DIH configuration:
>    <requestHandler name="/indexer/someContent" class="org.apache.solr.handler.dataimport.DataImportHandler">
>     <lst name="defaults">
>         <str name="config">somecontent-config.xml</str>
>     </lst>
>     <lst name="invariants">
>       <str name="scheduleFullImport">0 15 10 15 * ?</str>
>       <str name="scheduleDeltaImport">0 0 12 * * ?</str>
>     </lst>
>   </requestHandler>  

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message