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

[GitHub] [unomi] jsinovassin opened a new pull request, #584: UNOMI-700 : specify indices when doing a refresh

jsinovassin opened a new pull request, #584:
URL: https://github.com/apache/unomi/pull/584

   https://jira.jahia.org/browse/UNOMI-700


-- 
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


[GitHub] [unomi] jsinovassin merged pull request #584: UNOMI-700 : specify indices when doing a refresh

Posted by "jsinovassin (via GitHub)" <gi...@apache.org>.
jsinovassin merged PR #584:
URL: https://github.com/apache/unomi/pull/584


-- 
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


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

Posted by "jkevan (via GitHub)" <gi...@apache.org>.
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