SOLR-783 followup - Make sure indexStartTime is never null. Set index start time even if commit=false for full imports too.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@751043 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2009-03-06 19:26:27 +00:00
parent 3569314914
commit ab7106f35f
1 changed files with 1 additions and 2 deletions

View File

@ -316,8 +316,7 @@ public class DataImporter {
LOG.info("Starting Full Import"); LOG.info("Starting Full Import");
setStatus(Status.RUNNING_FULL_DUMP); setStatus(Status.RUNNING_FULL_DUMP);
if (requestParams.commit) setIndexStartTime(new Date());
setIndexStartTime(new Date());
try { try {
docBuilder = new DocBuilder(this, writer, requestParams); docBuilder = new DocBuilder(this, writer, requestParams);