mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-10-05 21:22:39 +02:00
Compare commits
2 Commits
deploy-018
...
deploy-018
Author | SHA1 | Date | |
---|---|---|---|
|
eb634beec8 | ||
|
269ebd1654 |
@@ -80,12 +80,7 @@ public class IndexClient {
|
||||
.limit(pagination.pageSize)
|
||||
.toList();
|
||||
|
||||
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;
|
||||
return new AggregateQueryResponse(results, pagination.page(), totalNumResults.get());
|
||||
}
|
||||
|
||||
private boolean isBlacklisted(RpcDecoratedResultItem item) {
|
||||
|
@@ -112,6 +112,13 @@ public class SearchOperator {
|
||||
.selectStrategy(queryResponse)
|
||||
.clusterResults(queryResults, 25);
|
||||
|
||||
if (queryParams.humanQuery().equals("slackware linux")) {
|
||||
logger.info("Query response: {}", queryResponse.results().subList(0, 5));
|
||||
logger.info("Query results: {}", queryResults.subList(0, 5));
|
||||
logger.info("Clustered results: {}", clusteredResults.subList(0, 5));
|
||||
}
|
||||
|
||||
|
||||
// Log the query and results
|
||||
|
||||
logger.info(queryMarker, "Human terms: {}", Strings.join(queryResponse.searchTermsHuman(), ','));
|
||||
|
Reference in New Issue
Block a user