During a full rebuild of the search index, if you know how many individuals will be indexed at the start of the process consider logging that in the message. NIHVIVO-3276

This commit is contained in:
briancaruso 2011-11-03 16:54:57 +00:00
parent 98ded1f8bb
commit f5f8a98ea3

View file

@ -259,7 +259,7 @@ public class IndexBuilder extends VitroBackgroundThread {
log.debug("Getting all URIs in the model");
Iterator<String> uris = wdf.getIndividualDao().getAllOfThisTypeIterator();
this.numberOfThreads = MAX_REINDEX_THREADS;
doBuild(uris, Collections.<String>emptyList() );
@ -414,7 +414,7 @@ public class IndexBuilder extends VitroBackgroundThread {
work.get( counter % workers ).add( uris.next() );
counter ++;
}
log.debug("Number of individuals to be indexed : " + counter);
log.info("Number of individuals to be indexed : " + counter);
return work;
}