title: jquery ui autocomplete complex search with pre and post results
body: <p>I have a search using jquery ui autocomplete which works great.  Currently I preload a json list of cities and countries so that it loads quickly and has no need to poll the server.  However now, I'd like to add to my autocomplete search specific names of places ie in my case hotels, restaurants, etc..</p>
  
  <p>My question is should I just ditch the preloaded city and country list and do a plain vanilla ajax database query ?q= as they type, or is it possible and would it be useful to have some sort of hybrid between the two.  IE a preloaded list until they reach a certain number of characters or there are fewer than 5 results?  </p>
  
  <p>Would it save load time or just be a headache?  And if so, how should I go about it?</p>
  
  <p>I originally had it as an ajax query but switched to the preloaded json to speed it up.  The complete list of cities and countries is tiny, however the list of places is large.  99.9% of the time people will search for locations and not specific places.</p>