-
1. Re: Too much time to search an user by attributes: 2 min when 1000 users exists
anil.saldhana May 24, 2010 1:13 PM (in response to valentino8484)Have you tried Hibernate caching mechanisms to speed up the search?
-
2. Re: Too much time to search an user by attributes: 2 min when 1000 users exists
valentino8484 Jun 1, 2010 4:10 AM (in response to anil.saldhana)The caching mechanism does not help here because inside the search method first all the user are retrieved from the database and then all the user that do not have the necessary attributes are filtered out from the list of all users.
-
3. Re: Too much time to search an user by attributes: 2 min when 1000 users exists
bdaw Jun 1, 2010 5:59 AM (in response to valentino8484)I'm aware that implementation could be improved in this area. Which version you are using and where is this happening? I assume you are using pure hibernate store setup.
-
4. Re: Too much time to search an user by attributes: 2 min when 1000 users exists
valentino8484 Jun 2, 2010 5:03 AM (in response to bdaw)I'm using the version 1.1.1.GA and yes, I'm using a Hibernate store setup.
The search is done in the class HibernateIdentityStoreImpl the method :
public Collection<IdentityObject> findIdentityObject(IdentityStoreInvocationContext ctx, IdentityObjectType identityType, IdentityObjectSearchCriteria criteria) throws IdentityException
-
5. Re: Too much time to search an user by attributes: 2 min when 1000 users exists
anil.saldhana Jun 2, 2010 10:26 AM (in response to valentino8484)Valentin, since you have the setup, are you able to try out fixes to the code to improve your search experience? This is a community project and we appreciate community involvement.