Re: DIH Schedule Solr 6

2016-04-21 Thread Shawn Heisey
On 4/21/2016 5:25 AM, Mahmoud Almokadem wrote:
> We have a cluster of solr 4.8.1 installed on tomcat servlet container and 
> we’re able to use DIH Schedule by adding this lines to web.xml of the 
> installation directory:
>
>   
>
> org.apache.solr.handler.dataimport.scheduler.ApplicationListener
>   
>
> No we are planing to migrate to Solr 6 and we already installed it as 
> service. The question is how to install DIHS on Solr 6 as service?

The dataimport scheduler is not an official part of Solr.  There's a
patch in Jira, and somebody has turned it into an external jar.  You
might be able to do exactly what you did for 4.8.1 with 6.0.0, but I
would not be surprised to find it's not compatible with 6.x.  Also, it
will not be officially supported here on this list.  You are on your
own.  You might be able to get some help from the person who wrote the
dataimport scheduler, but I have no idea what they are willing to do.

Instead of using something that has no official support: Your operating
system contains a scheduling program -- "cron" on most operating
systems, "Task Scheduler" on Windows.  Write a small script that calls
for an import with a program like curl and ask your operating system to
run it at certain times on the days you need.  If you want to get more
creative and write a more traditional program with HTTP capability, go
for it.

Thanks,
Shawn




DIH Schedule Solr 6

2016-04-21 Thread Mahmoud Almokadem
Hello, 

We have a cluster of solr 4.8.1 installed on tomcat servlet container and we’re 
able to use DIH Schedule by adding this lines to web.xml of the installation 
directory:

  
   
org.apache.solr.handler.dataimport.scheduler.ApplicationListener
  



No we are planing to migrate to Solr 6 and we already installed it as service. 
The question is how to install DIHS on Solr 6 as service?

Thanks,
Mahmoud