mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-10-05 21:22:39 +02:00
Compare commits
3 Commits
deploy-018
...
deploy-018
Author | SHA1 | Date | |
---|---|---|---|
|
39ce40bfeb | ||
|
c187b2e1c1 | ||
|
42eaa4588b |
@@ -80,7 +80,12 @@ public class IndexClient {
|
||||
.limit(pagination.pageSize)
|
||||
.toList();
|
||||
|
||||
return new AggregateQueryResponse(results, pagination.page(), totalNumResults.get());
|
||||
var result = new AggregateQueryResponse(results, pagination.page(), totalNumResults.get());
|
||||
if (indexRequest.getHumanQuery().equals("slackware linux")) {
|
||||
logger.info("Query: {}", indexRequest.getHumanQuery());
|
||||
logger.info("Results: {}", result.results);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
private boolean isBlacklisted(RpcDecoratedResultItem item) {
|
||||
|
@@ -23,7 +23,7 @@ public class SearchResultClusterer {
|
||||
}
|
||||
|
||||
/** No clustering, just return the results as is */
|
||||
private static List<ClusteredUrlDetails> noOp(List<UrlDetails> results, int total) {
|
||||
public static List<ClusteredUrlDetails> noOp(List<UrlDetails> results, int total) {
|
||||
if (results.isEmpty())
|
||||
return List.of();
|
||||
|
||||
|
Reference in New Issue
Block a user