Searching in elections