Pull out search mapping functions