Skip to content

Apache Lucene open-source search software

SOLR-1263. SOLR-1234 did not fix it completely

Noble Paul4bd75f0221c3
diff --git a/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/SolrWriter.java b/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/SolrWriter.java
index c3af118838d..bc736d31976 100644
--- a/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/SolrWriter.java
+++ b/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/SolrWriter.java
@@ -108,10 +108,10 @@ public class SolrWriter {
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);