1
1
mirror of https://github.com/MarginaliaSearch/MarginaliaSearch.git synced 2025-10-06 07:32:38 +02:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Viktor Lofgren
39ce40bfeb (query) Add debug logging for specific query 2025-05-16 23:23:53 +02:00

View File

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