From 79875782af4abe550387ab0b0eea196aa6375e8c Mon Sep 17 00:00:00 2001 From: orbiter Date: Mon, 22 Jun 2009 12:30:22 +0000 Subject: [PATCH] be a bit more lazy when removing domain navigation entries git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6120 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaSearchRankingProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/de/anomic/plasma/plasmaSearchRankingProcess.java b/source/de/anomic/plasma/plasmaSearchRankingProcess.java index 61b1d7d26..d27e24c33 100644 --- a/source/de/anomic/plasma/plasmaSearchRankingProcess.java +++ b/source/de/anomic/plasma/plasmaSearchRankingProcess.java @@ -480,7 +480,7 @@ public final class plasmaSearchRankingProcess { if (url == null) continue; hostname = url.getHost(); if (hostname == null) continue; - if (query.tenant != null && !hostname.contains(query.tenant)) continue; + if (query.tenant != null && !hostname.contains(query.tenant) && !url.toNormalform(true, true).contains(query.tenant)) continue; result.add(new NavigatorEntry(hostname, hsa[i].count)); } return result;