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=318&rev2=319 <<BR>> == Prereqs == - . (./) working DIH configuration in place <<BR>> (./) ''dataimport.properties'' file in folder ''solr.home/conf/'' with mandatory params inside (see bellow for the example of ''dataimport.properties'') <<BR>> (./) !ApplicationListener declared in Solr's web.xml (see [[#ApplicationListener|bellow]] for more info) <<BR>> (./) Built (or downloaded) jar file placed to solr.war's web-inf\lib before war file deployment + . (./) working DIH configuration in place <<BR>> (./) ''dataimport.properties'' file in folder ''solr.home/conf/'' with mandatory params inside (see bellow for the example of ''dataimport.properties'') <<BR>> (./) !ApplicationListener declared in Solr's web.xml (see [[#ApplicationListener|bellow]] for more info) <<BR>> (./) Built (or downloaded) [[http://code.google.com/p/solr-dataimport-scheduler/|jar file]] placed to solr.war's web-inf\lib folder before war file is deployed {OK} Revisions: @@ -1150, +1150 @@ * parametrized the schedule interval (in minutes) * v1.1: - * now using ''SolrResourceLoader'' to get ''solr.home'' (as opposed to ''System properties'' in v1.0) + * now using ''!SolrResourceLoader'' to get ''solr.home'' (as opposed to ''System properties'' in v1.0) * forces reloading of the properties file if the response code is not 200 * logging done using ''slf4j'' (used ''System.out'' in v1.0) @@ -1232, +1232 @@ <listener-class>org.apache.solr.handler.dataimport.scheduler.ApplicationListener</listener-class> </listener> }}} - * Also don't forget to place downloaded jar file to your solr.war's web-inf\lib folder (you can either alter the war archive or place jar in deployed, unpacked lib folder under your web server + * In order to make Scheduler classes available to DIH you need to place downloaded jar file to your solr.war's web-inf\lib folder (you can either alter the war archive before deploying it or you can place jar file in deployed, unpacked {{{lib}}} folder under your web server's (typically) {{{webapps}}} folder) {{{ package org.apache.solr.handler.dataimport.scheduler;