Problem with user search

rated by 0 users
Not Answered This post has 0 verified answers | 0 Replies | 1 Follower

Charles Boyung
Not Ranked
39 Posts
Points 680
By: Charles Boyung
Posted: Tue, Jun 10 2008 3:27 PM

 Cross posting to CS 2008 as well since it appears to be a problem there too.

If you go to the "Find a user" page in CS (such as http://dev.communityserver.com/user/Members.aspx), the UserList object performs the search even though it is not going to be rendered.  It calls Users.GetUsers in the DataSource.Get property, but it doesn't render the user list due to the fact that it has a DisplayCondition of the search QueryStringProperty set to 1.  In many cases, I'm sure, this is not a problem, but when your system has several hundred thousand users, like ours does, it is very time consuming.  It takes between 10 and 20 seconds to bring up the search page, which should really come up immediately.  Once you put a username in to search on, the page comes back quickly because the search itself runs quickly once the queryoverrides are set properly, but that initial page load is completely unacceptible.

I can't find a way to make it only run the search if the results are going to be rendered, so I need a way to do that.

Boyung.com

 
  • Post Points: 5 |

All Replies

Page 1 of 1 (1 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com