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 8832c72..9d257b1 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 @@ -276,6 +276,7 @@ public void indexClickthroughRates(final Map> clic jsonMap.put("clicks", clickthroughRate.getClicks()); jsonMap.put("events", clickthroughRate.getEvents()); jsonMap.put("ctr", clickthroughRate.getClickthroughRate()); + jsonMap.put("object_id", clickthroughRate.getObjectId()); final IndexRequest indexRequest = new IndexRequest(INDEX_QUERY_DOC_CTR).id(UUID.randomUUID().toString()).source(jsonMap);