mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
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:
parent
4654eae4e2
commit
c47bb1182d
|
@ -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>
|
||||
|
|
|
@ -96,7 +96,7 @@ globalheader();
|
|||
<H2>YaCy<br><br>
|
||||
<FONT SIZE="4">p2p-based distributed Web Search Engine</FONT></H2><br>
|
||||
|
||||
<p><i>Für eine deutsche Dokumentation sehen sie bitte <a href="http://www.suma-lab.de/yacy/">hier</a></p>
|
||||
<p><i>Fü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%">
|
||||
|
||||
|
|
|
@ -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]#
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user