(assistant) Fix logic error in filtering related domains

This commit is contained in:
Viktor Lofgren 2023-12-16 18:45:53 +01:00
parent 3da38d0483
commit f3f12058dc

View File

@ -257,12 +257,12 @@ public class SimilarDomainsService {
// Remove domains that have a relatively high likelihood of being dead links // Remove domains that have a relatively high likelihood of being dead links
// or not very interesting // or not very interesting
if (!domainResult.indexed() if (!(domainResult.indexed() && domainResult.active())
&& !domainResult.active() && domainResult.relatedness() < 50)
&& domainResult.relatedness() > 50)
{ {
return true; return true;
} }
return false; return false;
} }