harshrossi <harshrossi <at> gmail.com> writes: > > 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. > >
I created a WPF Application and Windows Service to deal with this, since using batch files and Windows Task Scheduler was not an acceptable solution for me. https://github.com/systemidx/SolrScheduler/