diff --git a/build.properties b/build.properties index c3ff07c26..6aa6c2d48 100644 --- a/build.properties +++ b/build.properties @@ -3,7 +3,7 @@ javacSource=1.4 javacTarget=1.4 # Release Configuration -releaseVersion=0.486 +releaseVersion=0.487 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.java b/htroot/DetailedSearch.java index f658e796e..0c613969f 100644 --- a/htroot/DetailedSearch.java +++ b/htroot/DetailedSearch.java @@ -137,7 +137,7 @@ public class DetailedSearch { // do the search plasmaSearchQuery thisSearch = new plasmaSearchQuery(query, wdist, "", count, searchtime, urlmask, ((global) && (yacyonline) && (!(env.getConfig("last-search","").equals(querystring)))) ? plasmaSearchQuery.SEARCHDOM_GLOBALDHT : plasmaSearchQuery.SEARCHDOM_LOCAL, - "", 20); + "", 20, plasmaSearchQuery.catchall_constraint); plasmaSearchRankingProfile localRanking = new plasmaSearchRankingProfile("local", post.toString()); plasmaSearchTimingProfile localTiming = new plasmaSearchTimingProfile(4 * thisSearch.maximumTime / 10, thisSearch.wantedResults); plasmaSearchTimingProfile remoteTiming = new plasmaSearchTimingProfile(6 * thisSearch.maximumTime / 10, thisSearch.wantedResults); diff --git a/htroot/IndexControl_p.java b/htroot/IndexControl_p.java index 6fd6491f3..92d81c537 100644 --- a/htroot/IndexControl_p.java +++ b/htroot/IndexControl_p.java @@ -61,6 +61,7 @@ import de.anomic.index.indexRWIEntry; import de.anomic.plasma.plasmaURL; import de.anomic.index.indexURLEntry; import de.anomic.net.URL; +import de.anomic.plasma.plasmaCondenser; import de.anomic.plasma.plasmaSwitchboard; import de.anomic.plasma.plasmaWordIndex; import de.anomic.plasma.urlPattern.plasmaURLPattern; @@ -175,7 +176,7 @@ public class IndexControl_p { switchboard.wordIndex.deleteContainer(keyhash); post.remove("keyhashdeleteall"); if (keystring.length() > 0 && - plasmaURL.word2hash(keystring).equals(keyhash)) { + plasmaCondenser.word2hash(keystring).equals(keyhash)) { post.put("keystringsearch", "generated"); } else { post.put("keyhashsearch", "generated"); @@ -198,7 +199,7 @@ public class IndexControl_p { // this shall lead to a presentation of the list; so handle that the remaining program // thinks that it was called for a list presentation post.remove("keyhashdelete"); - if (keystring.length() > 0 && plasmaURL.word2hash(keystring).equals(keyhash)) { + if (keystring.length() > 0 && plasmaCondenser.word2hash(keystring).equals(keyhash)) { post.put("keystringsearch", "generated"); } else { post.put("keyhashsearch", "generated"); @@ -228,7 +229,7 @@ public class IndexControl_p { } if (post.containsKey("keystringsearch")) { - keyhash = plasmaURL.word2hash(keystring); + keyhash = plasmaCondenser.word2hash(keystring); prop.put("keyhash", keyhash); prop.put("urlstring", ""); prop.put("urlhash", ""); @@ -236,7 +237,7 @@ public class IndexControl_p { } if (post.containsKey("keyhashsearch")) { - if (keystring.length() == 0 || !plasmaURL.word2hash(keystring).equals(keyhash)) { + if (keystring.length() == 0 || !plasmaCondenser.word2hash(keystring).equals(keyhash)) { prop.put("keystring", ""); } prop.put("urlstring", ""); @@ -246,7 +247,7 @@ public class IndexControl_p { // transfer to other peer if (post.containsKey("keyhashtransfer")) { - if (keystring.length() == 0 || !plasmaURL.word2hash(keystring).equals(keyhash)) { + if (keystring.length() == 0 || !plasmaCondenser.word2hash(keystring).equals(keyhash)) { prop.put("keystring", ""); } prop.put("urlstring", ""); diff --git a/htroot/IndexCreate_p.java b/htroot/IndexCreate_p.java index a92d513f6..b737083a2 100644 --- a/htroot/IndexCreate_p.java +++ b/htroot/IndexCreate_p.java @@ -59,6 +59,7 @@ import de.anomic.data.wikiCode; import de.anomic.htmlFilter.htmlFilterContentScraper; import de.anomic.htmlFilter.htmlFilterWriter; import de.anomic.http.httpHeader; +import de.anomic.kelondro.kelondroBitfield; import de.anomic.plasma.plasmaURL; import de.anomic.net.URL; import de.anomic.plasma.plasmaCrawlEURL; @@ -68,7 +69,6 @@ import de.anomic.server.serverFileUtils; import de.anomic.server.serverObjects; import de.anomic.server.serverSwitch; import de.anomic.server.serverThread; -import de.anomic.tools.bitfield; import de.anomic.yacy.yacyCore; import de.anomic.yacy.yacyNewsPool; import de.anomic.yacy.yacyNewsRecord; @@ -204,7 +204,7 @@ public class IndexCreate_p { prop.put("error_reasonString", reasonString); plasmaCrawlEURL.Entry ee = switchboard.urlPool.errorURL.newEntry(crawlingStartURL, null, yacyCore.seedDB.mySeed.hash, yacyCore.seedDB.mySeed.hash, - crawlingStartURL.getHost(), reasonString, new bitfield()); + crawlingStartURL.getHost(), reasonString, new kelondroBitfield()); ee.store(); switchboard.urlPool.errorURL.stackPushEntry(ee); } @@ -282,7 +282,7 @@ public class IndexCreate_p { c++; } else { plasmaCrawlEURL.Entry ee = switchboard.urlPool.errorURL.newEntry(nexturlURL, null, yacyCore.seedDB.mySeed.hash, yacyCore.seedDB.mySeed.hash, - (String) e.getValue(), rejectReason, new bitfield()); + (String) e.getValue(), rejectReason, new kelondroBitfield()); ee.store(); switchboard.urlPool.errorURL.stackPushEntry(ee); } diff --git a/htroot/env/templates/simpleheader.template b/htroot/env/templates/simpleheader.template index eb4d42d4c..4d2465b26 100644 --- a/htroot/env/templates/simpleheader.template +++ b/htroot/env/templates/simpleheader.template @@ -1,6 +1,6 @@