defined search for autocomplete