Because the index size is now provided by solr, and the only way to do
that is a match for [* TO *], a size computation is quite complex and
time-consuming. Therefore this patch prevents that the method is called
at all and if necessary puts a DOS-preventing barrier in front of it.
returnProfilingGraph.performanceGraph(width,height,sb.index.URLCount()+" URLS / "+sb.index.RWICount()+" WORDS IN INDEX / "+sb.index.RWIBufferCount()+" WORDS IN CACHE",showMemory);
RasterPlottergraph=ProfilingGraph.performanceGraph(width,height,indeSizeCache+" URLS / "+sb.index.RWICount()+" WORDS IN INDEX / "+sb.index.RWIBufferCount()+" WORDS IN CACHE",showMemory);
prop.put("response",1/*sb.index.fulltext().collectionSize()*/);// patched to not call collectionSize() any more because the acutal size is not needed. Instead, rwicount should be called
this.peers.mySeed().put(Seed.LCOUNT,Long.toString(indeSizeCache));// the number of links that the peer has stored (LURL's)
this.peers.mySeed().put(Seed.NCOUNT,Integer.toString(this.crawlQueues.noticeURL.size()));// the number of links that the peer has noticed, but not loaded (NURL's)