adds field selection to search