|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>YaCy '#[clientname]#': Index Transfer</title>
|
|
|
|
#%env/templates/metas.template%#
|
|
|
|
<meta http-equiv="REFRESH" content="30">
|
|
|
|
</head>
|
|
|
|
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
|
|
|
|
#%env/templates/header.template%#
|
|
|
|
#%env/templates/submenuIndexControl.template%#
|
|
|
|
<br><br>
|
|
|
|
<h2>Index Transfer</h2>
|
|
|
|
|
|
|
|
<form action="IndexTransfer_p.html" method="post" enctype="multipart/form-data">
|
|
|
|
<p>The local index currently consists of (at least) #[wcount]# reverse word indexes and #[ucount]# URL references.</p>
|
|
|
|
<p>
|
|
|
|
<table border="0" cellpadding="2" cellspacing="1">
|
|
|
|
<tr class="TableHeader" valign="bottom">
|
|
|
|
<td> </td>
|
|
|
|
<td class="small" >Status</td>
|
|
|
|
<td class="small" >Chunk Size<br>(Word Entries)</td>
|
|
|
|
<td class="small" >Words Range</td>
|
|
|
|
<td class="small" >Transfered Words</td>
|
|
|
|
<td class="small" >Delete<br>Index</td>
|
|
|
|
<td class="small" >Remote<br>Peer</td>
|
|
|
|
<td class="small" >Start/Stop Transfer</td>
|
|
|
|
</tr>
|
|
|
|
#(running)#
|
|
|
|
<tr valign="top" class="TableCellLight">
|
|
|
|
<td class="TableHeader">-</td>
|
|
|
|
<td class="small">#[status]#</td>
|
|
|
|
<td class="small" align="center">-</td>
|
|
|
|
<td class="small" align="center">-</td>
|
|
|
|
<td class="small" align="center">-</td>
|
|
|
|
<td class="small">
|
|
|
|
<select name="deleteIndex">
|
|
|
|
<option value="1">true</option>
|
|
|
|
<option value="0">false</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
<td class="small">
|
|
|
|
<select name="hostHash">
|
|
|
|
#{hosts}#
|
|
|
|
<option value="#[hosthash]#">#[hostname]#</option>
|
|
|
|
#{/hosts}#
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
<td class="small">
|
|
|
|
<input type="submit" name="startIndexTransfer" value="Start Index Transfer">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table></p>
|
|
|
|
::
|
|
|
|
<tr class="TableCellLight">
|
|
|
|
<td class="TableCellDark">Selection</td>
|
|
|
|
<td class="small" ><font color="#(stopped)#green::red#(/stopped)#">#[selection.status]#</font></td>
|
|
|
|
<td class="small" align="rigth">#[selection.twchunk]# words</td>
|
|
|
|
<td class="small" align="right"><tt>#[selection.twrange]#</tt></td>
|
|
|
|
<td class="small" rowspan="2" align="left">#[twEntityCount]# Entities (#[twEntityPercent]#%)<br>
|
|
|
|
#[twEntryCount]# Entries<br>
|
|
|
|
#[twEntitySpeed]# entities/s</td>
|
|
|
|
<td class="small" rowspan="2">#(deleteIndex)#false::true#(/deleteIndex)#</td>
|
|
|
|
<td class="small" rowspan="2">#[peerName]#</td>
|
|
|
|
<td class="small" rowspan="2">#(stopped)#<input type="submit" name="stopIndexTransfer" value="Stop Index Transfer">::
|
|
|
|
<input type="submit" name="newIndexTransfer" value="Start New Index Transfer">#(/stopped)#</td>
|
|
|
|
</tr>
|
|
|
|
<tr class="TableCellLight">
|
|
|
|
<td class="TableCellDark">Transfer</td>
|
|
|
|
<td class="small" ><font color="#(stopped)#green::red#(/stopped)#">#[transfer.status]#</font></td>
|
|
|
|
<td class="small" align="rigth">#[transfer.twchunk]# words</td>
|
|
|
|
<td class="small" align="right"><tt>#[transfer.twrange]#</tt></td>
|
|
|
|
</tr>
|
|
|
|
#(/running)#
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
<p><font size="-3"><i>Last Refresh:</i> #[date]#</font></p>
|
|
|
|
|
|
|
|
#%env/templates/footer.template%#
|
|
|
|
</body>
|
|
|
|
</html>
|