mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 13:09:00 +00:00
(assistant) Clean up the site info related domains view by filtering viable domains
This commit is contained in:
parent
34d4834ff6
commit
e13fa25e11
@ -251,7 +251,7 @@ public class SimilarDomainsService {
|
||||
return domains;
|
||||
}
|
||||
|
||||
boolean shouldRemove(SimilarDomain domainResult) {
|
||||
private boolean shouldRemove(SimilarDomain domainResult) {
|
||||
if (domainResult.url().domain.toString().length() > 32)
|
||||
return true;
|
||||
|
||||
@ -259,7 +259,7 @@ public class SimilarDomainsService {
|
||||
// or not very interesting
|
||||
if (!domainResult.indexed()
|
||||
&& !domainResult.active()
|
||||
&& domainResult.relatedness() < 0.5)
|
||||
&& domainResult.relatedness() < 50)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user