Determine type of search (WIP)