From 0d31d440d8cb457710c8d702910b923fa3eac393 Mon Sep 17 00:00:00 2001 From: jzonthemtn Date: Tue, 19 Nov 2024 09:20:44 -0500 Subject: [PATCH] Removing logging. --- .../opensearch/OpenSearchHelper.java | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/opensearch-search-quality-evaluation-plugin/src/main/java/org/opensearch/eval/judgments/opensearch/OpenSearchHelper.java b/opensearch-search-quality-evaluation-plugin/src/main/java/org/opensearch/eval/judgments/opensearch/OpenSearchHelper.java index 53f286c..9f68c61 100644 --- a/opensearch-search-quality-evaluation-plugin/src/main/java/org/opensearch/eval/judgments/opensearch/OpenSearchHelper.java +++ b/opensearch-search-quality-evaluation-plugin/src/main/java/org/opensearch/eval/judgments/opensearch/OpenSearchHelper.java @@ -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);