bugfix for assortment initialization error

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@547 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
orbiter 2005-08-16 11:43:14 +00:00
parent 4654eae4e2
commit c47bb1182d
6 changed files with 9 additions and 7 deletions

View File

@ -54,8 +54,8 @@ globalheader();
<p>Other YaCy Project Sites
<ul>
<li><a href="http://www.suma-lab.de/yacy/"><b>German documentation</b></a> - from Alexander Schier</li>
<li><a href="http://www.yacy-forum.de"><b>Deutsches Forum</b></a></li>
<li><a href="http://www.yacy-websuche.de/"><b>German documentation</b></a> - Wiki, administrated and initiated by Alexander Schier</li>
<li><a href="http://www.yacy-forum.de"><b>Deutsches Forum</b></a>, administrated by Roland Ramthun</li>
<li><a href="http://sourceforge.net/forum/?group_id=116142"><b>English Forum</b></a></li>
<li><a href="http://developer.berlios.de/projects/yacy/"><b>YaCy at BerliOS</b> - our SVN hosting service</li>
<li><a href="http://freshmeat.net/projects/yacyproxy/"><b>YaCy at fresmeat.net</b></a> - Project Announcement Page (please click here to support the project and enhance Rating/Popularity)</li>

View File

@ -96,7 +96,7 @@ globalheader();
<H2>YaCy<br><br>
&nbsp;<FONT SIZE="4">p2p-based distributed Web Search Engine</FONT></H2><br>
<p><i>F&uuml;r eine deutsche Dokumentation sehen sie bitte <a href="http://www.suma-lab.de/yacy/">hier</a></p>
<p><i>F&uuml;r eine deutsche Dokumentation sehen sie bitte <a href="http://www.yacy-websuche.de/">hier</a></p>
<br>
<table border="0" cellspacing="1" cellpadding="3" width="100%">

View File

@ -129,7 +129,7 @@ You can enrich the search results by using the 'global' option; you must also sw
<hr>
<center><i>YaCy is a GPL'ed project
with the target of implementing a P2P-based global search engine.<br>
Architecture and implementation (C) by Michael Peter Christen,
Architecture (C) by Michael Peter Christen,
<img src="/env/grafics/mcemailh.gif"></i></center>
#[footer]#

View File

@ -127,7 +127,7 @@ public class transferRWI {
yacySeed otherPeer = yacyCore.seedDB.get(iam);
String otherPeerName = iam + ":" + ((otherPeer == null) ? "NULL" : (otherPeer.getName() + "/" + otherPeer.getVersion()));
if (wordhashes.length == 0)
switchboard.getLog().logInfo("Received 0 Words from " + otherPeerName + ", requested " + unknownURL.size() + " URLs");
switchboard.getLog().logInfo("Received 0 RWIs from " + otherPeerName + ", requested " + unknownURL.size() + " URLs");
else {
double avdist = (yacyDHTAction.dhtDistance(yacyCore.seedDB.mySeed.hash, wordhashes[0]) + yacyDHTAction.dhtDistance(yacyCore.seedDB.mySeed.hash, wordhashes[wordhashes.length - 1])) / 2.0;
switchboard.getLog().logInfo("Received " + received + " Words [" + wordhashes[0] + " .. " + wordhashes[wordhashes.length - 1] + "]/" + avdist + " from " + otherPeerName + ", requested " + unknownURL.size() + " URLs");

View File

@ -113,15 +113,16 @@ public final class plasmaWordIndexAssortment {
if (log != null) log.logSystem("Opened Assortment Database, " + assortments.size() + " entries, width " + assortmentLength + ", " + bufferkb + "kb buffer");
return;
} catch (IOException e){
if (log != null) log.logError("unable to open assortment database, creating new: " + e.getMessage(), e);
serverLog.logError("PLASMA", "unable to open assortment database, creating new: " + e.getMessage(), e);
}
assortmentFile.delete(); // make space for new one
}
// create new assortment tree file
try {
assortments = new kelondroTree(assortmentFile, bufferSize, bufferStructure(assortmentLength));
if (log != null) log.logSystem("Created new Assortment Database, width " + assortmentLength + ", " + bufferkb + "kb buffer");
} catch (IOException e){
if (log != null) log.logError("unable to create assortment database: " + e.getMessage(), e);
serverLog.logError("PLASMA", "unable to create assortment database: " + e.getMessage(), e);
}
}

View File

@ -21,6 +21,7 @@ else
nohup java -classpath classes:htroot:$CLASSPATH yacy >> yacy.log &
else
nohup java -classpath classes:htroot:$CLASSPATH yacy > /dev/null &
# nohup java -Xms160m -Xmx160m -classpath classes:htroot:$CLASSPATH yacy > /dev/null &
fi
echo "YaCy started as daemon process. View it's activity in log/yacy00.log"
echo "To stop YaCy, please execute stopYACY.sh and wait some seconds"