From e1a726babfc9e539d69ae39b5613b7c7899a0068 Mon Sep 17 00:00:00 2001 From: vlofgren Date: Wed, 24 Aug 2022 03:50:05 +0200 Subject: [PATCH] Use links index for site suggestions. --- .../nu/marginalia/wmsa/edge/search/EdgeSearchOperator.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/marginalia_nu/src/main/java/nu/marginalia/wmsa/edge/search/EdgeSearchOperator.java b/marginalia_nu/src/main/java/nu/marginalia/wmsa/edge/search/EdgeSearchOperator.java index b007666b..dd3db595 100644 --- a/marginalia_nu/src/main/java/nu/marginalia/wmsa/edge/search/EdgeSearchOperator.java +++ b/marginalia_nu/src/main/java/nu/marginalia/wmsa/edge/search/EdgeSearchOperator.java @@ -144,9 +144,7 @@ public class EdgeSearchOperator { results.addAll(result.getResults()); } - var ret = edgeDataStoreDao.getBrowseResultFromUrlIds(new ArrayList<>(results)); - ret.removeIf(result -> !resultDomains.contains(result.url.domain)); - return ret; + return edgeDataStoreDao.getBrowseResultFromUrlIds(new ArrayList<>(results)); } private String getEvalResult(@Nullable Future eval) {