Skip to content

Commit

Permalink
Indexing the object_id for clickthrough rates.
Browse files Browse the repository at this point in the history
Signed-off-by: jzonthemtn <[email protected]>
  • Loading branch information
jzonthemtn committed Dec 10, 2024
1 parent 81d6a2c commit 0ca0822
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ public void indexClickthroughRates(final Map<String, Set<ClickthroughRate>> 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);

Expand Down

0 comments on commit 0ca0822

Please sign in to comment.