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:
parent
98ded1f8bb
commit
f5f8a98ea3
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue