Use links index for site suggestions.

This commit is contained in:
vlofgren 2022-08-24 03:50:05 +02:00
parent 8f3eedf0ee
commit e1a726babf

View File

@ -144,9 +144,7 @@ public class EdgeSearchOperator {
results.addAll(result.getResults()); results.addAll(result.getResults());
} }
var ret = edgeDataStoreDao.getBrowseResultFromUrlIds(new ArrayList<>(results)); return edgeDataStoreDao.getBrowseResultFromUrlIds(new ArrayList<>(results));
ret.removeIf(result -> !resultDomains.contains(result.url.domain));
return ret;
} }
private String getEvalResult(@Nullable Future<String> eval) { private String getEvalResult(@Nullable Future<String> eval) {