query for location autosearch