Agree. I was planning to limit the number of choices to 10 int eh auto complete list.
But my question is more about the server side which has to return these ten entries matching the partially typed name entry on the client side.
Do I go and query DB for top 10 matches for whatever the suer typed into the text field or do i query an in-memory List/Structure (which is preloaded with names of all 50000 employees and only reloaded once a day(configurable)).
jubin
0 Points
4 Posts
Re: How do you go about implementing this scenario
Apr 16, 2012 04:14 PM|LINK
Agree. I was planning to limit the number of choices to 10 int eh auto complete list.
But my question is more about the server side which has to return these ten entries matching the partially typed name entry on the client side.
Do I go and query DB for top 10 matches for whatever the suer typed into the text field or do i query an in-memory List/Structure (which is preloaded with names of all 50000 employees and only reloaded once a day(configurable)).