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
pull/1/head
orbiter 16 years ago
parent 57af311627
commit 79875782af

@ -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;

Loading…
Cancel
Save