(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
// or not very interesting
if (!domainResult.indexed()
&& !domainResult.active()
&& domainResult.relatedness() > 50)
if (!(domainResult.indexed() && domainResult.active())
&& domainResult.relatedness() < 50)
{
return true;
}
return false;
}