Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1251

Add quartz-like scheduling capability to DIH

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      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>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jayallenhill@gmail.com Jay Hill
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: