debounce the search function

Prevents hammering the server with search queries

cc @DeepDiver1975 @PVince81