diff --git a/build.properties b/build.properties index 3881f73b5..598e8e9ad 100644 --- a/build.properties +++ b/build.properties @@ -3,7 +3,7 @@ javacSource=1.4 javacTarget=1.4 # Release Configuration -releaseVersion=0.424 +releaseVersion=0.425 releaseFile=yacy_dev_v${releaseVersion}_${DSTAMP}_${releaseNr}.tar.gz #releaseFile=yacy_v${releaseVersion}_${DSTAMP}_${releaseNr}.tar.gz releaseDir=yacy_dev_v${releaseVersion}_${DSTAMP}_${releaseNr} diff --git a/htroot/DetailedSearch.html b/htroot/DetailedSearch.html index e2b78e05f..e086fd8b2 100644 --- a/htroot/DetailedSearch.html +++ b/htroot/DetailedSearch.html @@ -12,6 +12,19 @@ picEmpty = new Image(11, 11); picEmpty.src = "/env/grafics/empty.gif"; picMinus = new Image(11, 11); picMinus.src = "/env/grafics/minus.gif"; +function checker(name, z1, z2) { + if (z1 == z2) { + document.write(""); + } else { + document.write(""); + } +} +function checkers(name, n) { + for (i = 0; i < 16; i++) { + checker(name, n, i); + } + document.write(n); +}
@@ -45,95 +58,95 @@ picMinus.src = "/env/grafics/minus.gif"; - + - +
 
Local Ranking
Local Ranking
Entropy - +
Date - +
YBR - +
Position in Text - +
Word SistanceWord Distance - +
Word Hit Count - +
Domain Length - +
URL Length - +
URL Components - +
Description Length - +
Description Components - +
Query appears in URL - +
Query appears in Description - +
URL Component appears in Toplist - +
Description Component appears in Toplist - +
@@ -160,8 +173,6 @@ picMinus.src = "/env/grafics/minus.gif"; #(num-results)# :: #[linkcount]# results from #[orderedcount]# ordered links of a total number of #[totalcount]# known. -→ Catch up more links -from 'late' peers. #(/num-results)# #(combine)# :: diff --git a/source/de/anomic/plasma/plasmaSearchRankingProfile.java b/source/de/anomic/plasma/plasmaSearchRankingProfile.java index e7df348d9..97809a0af 100644 --- a/source/de/anomic/plasma/plasmaSearchRankingProfile.java +++ b/source/de/anomic/plasma/plasmaSearchRankingProfile.java @@ -104,9 +104,12 @@ public class plasmaSearchRankingProfile { String[] elts = profile.substring(1, profile.length() - 1).split(","); int p; int s = prefix.length(); + String e; for (int i = 0; i < elts.length; i++) { - if ((s == 0) || (elts[i].startsWith(prefix))) - coeff.put(elts[i].substring(s, (p = elts[i].indexOf("="))), elts[i].substring(p + 1)); + e = elts[i].trim(); + if ((s == 0) || (e.startsWith(prefix))) { + coeff.put(e.substring(s, (p = e.indexOf("="))), new Integer(Integer.parseInt(e.substring(p + 1)))); + } } }