prop.put("hostanalysis_facets_"+fc+"_facet_"+c+"_a","http://localhost:"+sb.getConfigInt("port",8090)+"/solr/collection1/select?q=host_s:"+host+" AND "+facetfield+":"+entry.getKey()+"&defType=edismax&start=0&rows=1000&fl=sku,crawldepth_i");
c++;
}
prop.put("hostanalysis_facets_"+fc+"_facet",c);
fc++;
}
prop.put("hostanalysis_facets",fc);
prop.put("hostanalysis",1);
}
// write file list for subpath
booleandelete=false;
booleanreload404=false;
if(authorized&&post.containsKey("delete")){
// delete the complete path!! That includes everything that matches with this prefix.
delete=true;
}
if(authorized&&post.containsKey("reload404")){
// try to re-load all urls that have load errors and matches with this prefix.
reload404=true;
}
intfacetcount=post.getInt("facetcount",0);
booleancomplete=post.getBoolean("complete");
if(complete){// we want only root paths for complete lists
<td><inputtype="button"value="contact current peer from this peer"onclick="top.location.href='http://' + document.getElementById('otherPeerAddress').value + '/Network.html?peerHash=#[my-hash]#&peerIP=#[my-ip]#&peerPort=#[my-port]#&page=4&addPeer=add+Peer'"/></td>
</tr>
</table>
::
<!--
possible column values:
aM activeLastMonth
aW activeLastWeek
aD activeLastDay
aH activeLastHour
cC countConnected (Active Senior)
cD countDisconnected (Passive Senior)
cP countPotential (Junior)
cR count of the RWI entries
cI size of the index (number of documents)
maxtime: number of hours in the past
scale: number of hours per scale unit in the bottom line
-->
<h3><b>Count of Connected Senior Peers</b> in the last two days, scale = 1h</h3>
@ -105,10 +108,24 @@ public class NetworkHistory {
finalinttopborder=20;
finalintbottomborder=20;
finalintvspace=height-topborder-bottomborder;
finalintleftscale=(maxpeers/100)*10;
ChartPlotterchart=newChartPlotter(width,height,0xFFFFFFl,0x000000l,0xAAAAAAl,leftborder,rightborder,topborder,bottomborder,"YACY NETWORK HISTORY","IN THE LAST 48 HOURS");
if(columns.contains("cI"))headline="YACY INDEX SIZE HISTORY: NUMBER OF DOCUMENTS";
if(columns.contains("cR"))headline="YACY INDEX SIZE HISTORY: NUMBER OF RWI ENTRIES";
ChartPlotterchart=newChartPlotter(width,height,0xFFFFFFl,0x000000l,0xAAAAAAl,leftborder,rightborder,topborder,bottomborder,headline,"IN THE LAST "+timestr);