SOLR-783 followup -- Set last_index_time to current date even if commit=false to avoid NPE.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@747792 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2009-02-25 14:17:36 +00:00
parent 47487967fc
commit c1e663e905
1 changed files with 1 additions and 3 deletions

View File

@ -340,9 +340,7 @@ public class DataImporter {
setStatus(Status.RUNNING_DELTA_DUMP);
try {
if (requestParams.commit) {
setIndexStartTime(new Date());
}
setIndexStartTime(new Date());
docBuilder = new DocBuilder(this, writer, requestParams);
docBuilder.execute();
if (!requestParams.debug)