You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "jkevan (via GitHub)" <gi...@apache.org> on 2023/03/09 17:24:12 UTC

[GitHub] [unomi] jkevan commented on a diff in pull request #584: UNOMI-700 : specify indices when doing a refresh

jkevan commented on code in PR #584:
URL: https://github.com/apache/unomi/pull/584#discussion_r1131359719


##########
services/src/main/java/org/apache/unomi/services/impl/goals/GoalsServiceImpl.java:
##########
@@ -540,7 +540,7 @@ public GoalReport getGoalReport(String goalId, AggregateQuery query) {
     @Override
     public PartialList<CampaignEvent> getEvents(Query query) {
         if(query.isForceRefresh()){
-            persistenceService.refresh();
+            persistenceService.refreshIndex(Campaign.class);

Review Comment:
   I think here it's CampaignEvent.class that need to be refreshed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@unomi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org