mirror of
https://github.com/apache/lucene.git
synced 2025-02-28 21:39:25 +00:00
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:
parent
7c5825cf25
commit
4bd75f0221
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user