lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Trivial Update of "DataImportHandler" by MarkoBonaci
Date Wed, 23 May 2012 17:57:30 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "DataImportHandler" page has been changed by MarkoBonaci:

   * Sends HTTP POST request to Solr server
   * Proofs the concept, needs more polishing
   * Successfully tested on ''Apache Tomcat v6'' (should work on any other servlet container)
-  * Hasn't been committed to SVN (published only here)
+  * Hasn't been committed to the trunk (published only in jira)
  <<BR>> <!> TODO:
@@ -1225, +1225 @@

   * the class implements [[|javax.servlet.ServletContextListener]]
(listens to web app Initialize and Destroy events)
   * uses ''HTTPPostScheduler'', [[|java.util.Timer]]
and context attribute map to facilitate periodic method invocation (scheduling)
   * Timer is essentially a facility for threads to schedule tasks for future execution in
a background thread.
+  * Don't forget to add the following listener declaration to Solr's web.xml:<<BR>>
+ {{{
+  <listener>
+    <listener-class>org.apache.solr.handler.dataimport.scheduler.ApplicationListener</listener-class>
+  </listener>
+ }}}
  package org.apache.solr.handler.dataimport.scheduler;

View raw message