On 8/31/2015 11:26 AM, Troy Edwards wrote:
> I am having a hard time finding documentation on DataImportHandler
> scheduling in SolrCloud. Can someone please post a link to that? I have a
> requirement that the DIH should be initiated at a specific time Monday
> through Friday.
Every modern operating system (and most of the previous versions of
every modern OS) has a built-in task scheduling system.  For Windows,
it's literally called Task Scheduler.  For most other operating systems,
it's called cron.

Including dataimport scheduling capability in Solr has been discussed,
and I think someone even wrote a working version ... but since every OS
already has scheduling capability that has had years of time to mature,
why should Solr reinvent the wheel and take the risk that the
implementation will have bugs?

Currently virtually all updates to Solr's index must be initiated
outside of Solr, and there is good reason to make sure that Solr doesn't
ever modify the index without outside input.  The only thing I know of
right now that can update the index automatically is Document
Expiration, but the expiration time is decided when the document is
indexed, and the original indexing action is external to Solr.

https://lucidworks.com/blog/document-expiration/

Thanks,
Shawn

Reply via email to