Add generic search functionality