restrict search to atleast 3 characters for map
no need to check if text is empty on search