Skip to content

Commit

Permalink
Removing logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzonthemtn committed Nov 19, 2024
1 parent 0bcb78b commit 0d31d44
Showing 1 changed file with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,15 @@ public long getCountOfQueriesForUserQueryHavingResultInRankR(final String userQu
final SearchRequest searchRequest = new SearchRequest(indexes, searchSourceBuilder);
final SearchResponse response = client.search(searchRequest).get();

if(queryId.equals("a2151d8c-44b6-4af6-9993-39cd7798671b")) {
if(objectId.equals("B07R1J8TYC")) {
if(rank == 4) {
LOGGER.info("This is the one!");
LOGGER.info("Hits = {}", response.getHits().getTotalHits().value);
LOGGER.info(response.toString());
}
}
}


// if(queryId.equals("a2151d8c-44b6-4af6-9993-39cd7798671b")) {
// if(objectId.equals("B07R1J8TYC")) {
// if(rank == 4) {
// LOGGER.info("This is the one!");
// LOGGER.info("Hits = {}", response.getHits().getTotalHits().value);
// LOGGER.info(response.toString());
// }
// }
// }

//LOGGER.info("Query ID: {} --- Count of {} having {} at rank {} = {}", queryId, userQuery, objectId, rank, response.getHits().getTotalHits().value);

Expand Down

0 comments on commit 0d31d44

Please sign in to comment.