lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
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:
http://wiki.apache.org/solr/DataImportHandler?action=diff&rev1=315&rev2=316

   * 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 [[http://download.oracle.com/javaee/6/api/javax/servlet/ServletContextListener.html|javax.servlet.ServletContextListener]]
(listens to web app Initialize and Destroy events)
   * uses ''HTTPPostScheduler'', [[http://download.oracle.com/javase/6/docs/api/java/util/Timer.html|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;
  

Mime
View raw message