VIVO-870 Implement UpdateStatementsTask.

Also add the listener to support it and get rid of the last of the vestigial classes.
This commit is contained in:
Jim Blake 2015-01-12 15:15:16 -05:00
parent 0602406c53
commit dee53e3aac
24 changed files with 845 additions and 1317 deletions

View file

@ -18,8 +18,9 @@
<p><@showIndexerCounts "STATEMENT_COUNTS", status /></p>
<p><@showElapsedTime status.elapsed /> Expected completion ${status.expectedCompletion?datetime}.</p>
<#elseif status.statusType = "PREPARING_REBUILD">
<h3>The search indexer has been preparing to rebuild the index since ${status.since?datetime}</h3>
<#elseif status.statusType = "REBUILDING">
<h3>The search indexer has been rebuilding the index since ${status.since?datetime}</h3>
<p><@showIndexerCounts "REBUILD_COUNTS", status /></p>
<#else>
<h3>The search indexer status is: ${status.statusType}
@ -67,6 +68,11 @@
<#elseif countsType == "STATEMENT_COUNTS">
Processed: ${counts.processed}, remaining: ${counts.remaining}, total: ${counts.total}
<#elseif countsType == "REBUILD_COUNTS">
Number of individuals before rebuild: ${counts.numberOfIndividuals}
Number of document before rebuild: ${counts.documentsBefore}, after rebuild:
<#if counts.documentsAfter == 0>
UNKNOWN
<#else>
${counts.documentsAfter}
</#if>
</#if>
</#macro>