(assistant) Clean up similar websites' results
This commit is contained in:
parent
dc773c5c20
commit
7b40c0bbee
@ -258,11 +258,16 @@ 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)
|
||||
&& domainResult.relatedness() <= 50)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Remove domains that are not very similar if there is no mutual link
|
||||
if (domainResult.linkType() == SimilarDomain.LinkType.NONE
|
||||
&& domainResult.relatedness() <= 25)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user