diff --git a/code/services-core/assistant-service/src/main/java/nu/marginalia/assistant/domains/SimilarDomainsService.java b/code/services-core/assistant-service/src/main/java/nu/marginalia/assistant/domains/SimilarDomainsService.java index 3aae8986..65a7989f 100644 --- a/code/services-core/assistant-service/src/main/java/nu/marginalia/assistant/domains/SimilarDomainsService.java +++ b/code/services-core/assistant-service/src/main/java/nu/marginalia/assistant/domains/SimilarDomainsService.java @@ -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; }