(assistant) Fix logic error in filtering related domains
This commit is contained in:
parent
3da38d0483
commit
f3f12058dc
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user