0

The wiki page explains how to setup scheduling in older version of Solr but it hasn't been updated for Solr 5.1.0. The problem is I can't configure the dataimport.properties file.

The instructions in the wiki:

regardless of whether you have single or multiple-core Solr, use dataimport.properties located in your solr.home/conf (NOT solr.home/core/conf)

In Solr 5.1 there is no dataimport.properties located in solr.home/conf, and it doesn't work if I use the one in the core.

Is there any way I can get this to work?

ElGavilan
  • 6,610
  • 16
  • 27
  • 36

1 Answers1

0

I have similar problem in my application.I have setup separate application to schedule delta/full-import.Wiki page you mentioned is not committed to Solr code base.

Hope this helps.

Javadroider
  • 2,280
  • 1
  • 22
  • 45
  • This is what I ended up doing. I created a powershell script that get called by the event scheduler in Windows Server. Here's a what I used to do a full data import : $url="http://localhost:8984/solr/fichierJoints/dataimport?command=full-import" (New-Object System.Net.WebClient).DownloadString("$url"); – Guillaume Touz Jul 23 '15 at 17:34
  • Yes!correct.I did this with the help of java application – Javadroider Jul 24 '15 at 12:54