2011-10-11 19:45:30 +00:00
|
|
|
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
|
|
|
|
|
|
|
<#--
|
|
|
|
Template for the page that controls the updating or rebuilding of the Search Index.
|
|
|
|
-->
|
|
|
|
|
2011-11-11 23:06:38 +00:00
|
|
|
<h2>Search Index Status</h2>
|
2011-10-11 19:45:30 +00:00
|
|
|
|
|
|
|
<#if worklevel == "IDLE">
|
|
|
|
<#if hasPreviousBuild??>
|
2011-11-25 20:01:04 +00:00
|
|
|
<p>Most recent update was at ${since?string("hh:mm:ss a, MMMM dd, yyyy")}</p>
|
2011-10-11 19:45:30 +00:00
|
|
|
</#if>
|
|
|
|
|
|
|
|
<form action="${actionUrl}" method="POST">
|
2011-11-11 23:06:38 +00:00
|
|
|
<p>
|
2011-11-14 19:51:13 +00:00
|
|
|
<input class="submit" type="submit" name="rebuild" value="Rebuild" role="button" />
|
2011-11-25 20:01:04 +00:00
|
|
|
Reset the search index and re-populate it.
|
2011-11-11 23:06:38 +00:00
|
|
|
</p>
|
2011-10-11 19:45:30 +00:00
|
|
|
</form>
|
|
|
|
<#else>
|
2011-11-11 23:06:38 +00:00
|
|
|
<h3>The search index is currently being ${currentTask}.</h3>
|
2011-12-06 22:05:34 +00:00
|
|
|
<p>since ${since?string("hh:mm:ss a, MMMM dd, yyyy")}, elapsed time ${elapsed}, estimated total time ${expected}</p>
|
2011-11-25 20:01:04 +00:00
|
|
|
<p>Completed ${completedCount} out of ${totalToDo} index records.</p>
|
2011-10-11 19:45:30 +00:00
|
|
|
</#if>
|