title: VisualSearch.js getting facet data
body: <p>I am trying to implement a VisualSearch.js Query box but builds its facets from the information stored on the database using a REST interface.</p>
  
  <p>For Example an input facet could be "User email" and then as they type the first few letters the users emails are filtered down until the correct one is found.</p>
  
  <p>The issue I am finding is how do I implement this so that it only sends off a request for the user names when it has 'locked in' that facet (or more ideally, when the first letter is press so the search scope is minimized).  Otherwise it seems I would be loading all the facets and their values every time the page is loaded.  This is be huge set of queries being sent off if I also include other searchable objects and values etc.  It would be almost like loading all searchble elements of the whole database so they can then be filtered down.</p>
  
  <p>As a extra pice of info I am using a cakePHP backend for the REST API.</p>
  
  <p>Many Thanks.</p>