You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2009/06/30 20:12:47 UTC

[jira] Commented: (SOLR-1251) Add quartz-like scheduling capability to DIH

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

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, etc....

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: https://issues.apache.org/jira/browse/SOLR-1251
>             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.