Merge pull request 'Use links index for site suggestions.' (#102) from master into release

Reviewed-on: https://git.marginalia.nu/marginalia/marginalia.nu/pulls/102
This commit is contained in:
Viktor Lofgren 2022-08-24 03:50:39 +02:00
commit be1f5f076b

View File

@ -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<String> eval) {