(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
|
// 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user