DataImportHandler is just a URL call. You can see the specific URL you
want to call by opening debugger window in Chrome/Firefox and looking
at the network tab.

Then, you have a general problem of how to call a URL from Windows
Scheduler. Google brings a lot of results for that, so you should be
able to find something you prefer.

Regards,
    Alex.
Personal website: http://www.outerthoughts.com/
Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency


On Fri, Apr 11, 2014 at 12:02 PM, harshrossi <harshro...@gmail.com> wrote:
> I am using *DeltaImportHandler* for indexing data in Solr. Currently I am
> manually indexing the data into Solr by selecting commands full-import or
> delta-import from the Solr Admin screen.
>
> I am using Windows 7 and would like to automate the process by specifying a
> certain time interval for executing the commands through windows task
> scheduler or something. e.g.: like every two minutes it should index data
> into solr.
>
> From few sites I came to know that I need to create a *batch file* with some
> command to run the imports and the batch file is run using *windows
> scheduler*. But there were no examples regarding this.
>
> I am not sure what to code in the batch file and how to link it with the
> scheduler.
>
> Can someone provide me the code and the steps to accomplish it?
>
> Thanks a lot in advance.
>
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/DataImportHandler-Automatic-scheduling-of-delta-imports-in-Solr-in-windows-7-tp4130565.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to