0

I'm a newbie with Solr, I use it for indexing and search files on a server through a webservice.

I would know how to configure it to run the indexing process only once a day (for example at 3:00am).

femtoRgon
  • 32,893
  • 7
  • 60
  • 87
Dynamite
  • 389
  • 5
  • 17
  • 2
    possible duplicate of [How can I Schedule data imports in Solr](http://stackoverflow.com/questions/3206171/how-can-i-schedule-data-imports-in-solr) – femtoRgon Apr 22 '15 at 16:42

1 Answers1

0

If you are calling it through the web service, add/write a scheduler which will invoke the web service at the required time.

For writing the scheduler please refer below links

http://www.mkyong.com/java/how-to-run-a-task-periodically-in-java/

http://archive.oreilly.com/pub/a/java/archive/quartz.html

Abhijit Bashetti
  • 8,518
  • 7
  • 35
  • 47