(assistant) Fix logic error in filtering related domains
This commit is contained in:
parent
3da38d0483
commit
f3f12058dc
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue