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

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@791700 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Noble Paul 2009-07-07 04:57:54 +00:00
parent 7c5825cf25
commit 4bd75f0221

View File

@ -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);