Author: noble
Date: Tue Jul  7 04:57:54 2009
New Revision: 791700

URL: http://svn.apache.org/viewvc?rev=791700&view=rev
Log:
SOLR-1263. SOLR-1234 did not fix it completely

Modified:
    
lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/SolrWriter.java

Modified: 
lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/SolrWriter.java
URL: 
http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/SolrWriter.java?rev=791700&r1=791699&r2=791700&view=diff
==============================================================================
--- 
lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/SolrWriter.java
 (original)
+++ 
lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/SolrWriter.java
 Tue Jul  7 04:57:54 2009
@@ -108,10 +108,10 @@
       String filePath = configDir;
       if (configDir != null && !configDir.endsWith(File.separator))
         filePath += File.separator;
-      filePath += SolrWriter.IMPORTER_PROPERTIES;
+      filePath += persistFilename;
       propOutput = new FileOutputStream(filePath);
       props.store(propOutput, null);
-      log.info("Wrote last indexed time to " + SolrWriter.IMPORTER_PROPERTIES);
+      log.info("Wrote last indexed time to " + persistFilename);
     } catch (FileNotFoundException e) {
       throw new DataImportHandlerException(DataImportHandlerException.SEVERE,
               "Unable to persist Index Start Time", e);


Reply via email to