You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "David Griffon (Jira)" <ji...@apache.org> on 2022/10/28 09:58:00 UTC
[jira] [Created] (UNOMI-700) Reduce usage of global indices refresh
David Griffon created UNOMI-700:
-----------------------------------
Summary: Reduce usage of global indices refresh
Key: UNOMI-700
URL: https://issues.apache.org/jira/browse/UNOMI-700
Project: Apache Unomi
Issue Type: Bug
Reporter: David Griffon
In many locations we do a global refresh of indices.
Doing this consume a lot of resource on ES side that can impact ES performances.
The goal of this task is to limit the usage of that method. by using
{code}
<T extends Item> void refreshIndex(Class<T> clazz, Date dateHint);
{code}
instead.
Here the usage of the {{refresh()}}
{code}
cxs-lists-extension-services
org.apache.unomi.services
UserListServiceImpl
getListMetadatas(Query)
persistenceService.refresh();
unomi-itests
org.apache.unomi.itests
BaseIT
refreshPersistence()
persistenceService.refresh();
ConditionESQueryBuilderIT
setUp()
persistenceService.refresh();
org.apache.unomi.itests.graphql
GraphQLViewIT
test()
persistenceService.refresh();
unomi-services
org.apache.unomi.services.impl
AbstractServiceImpl
getMetadatas(Query, Class<T>)
persistenceService.refresh();
org.apache.unomi.services.impl.definitions
DefinitionsServiceImpl
reloadTypes(boolean)
persistenceService.refresh();
org.apache.unomi.services.impl.goals
GoalsServiceImpl
getEvents(Query)
persistenceService.refresh();
org.apache.unomi.services.impl.profiles
ProfileServiceImpl
reloadPropertyTypes(boolean)
persistenceService.refresh();
org.apache.unomi.services.impl.rules
RulesServiceImpl
getRuleMetadatas(Query)
persistenceService.refresh();
getRuleDetails(Query)
persistenceService.refresh();
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)