queryHook
is a hook function that provides the query, and the search callback. You can do your own debouncing or special logic here.
default debounce example:
var timeout = 500;
var queryHook = _.debounce(function(query, search){
search(query)
},timeout);