Register your search callback on to the autocomplete like so @search="handleSearch".
The handle search function gets passed two parameters terms and done.
Terms is the currently entered query and done a callback method to signal that the search has been performed.
Basically the handleSearch function looks like this: