The disclosed embodiments provide a system for processing data. During operation, the system obtains, based on parameters of a search of an online system by a user, counts of attributes required by a set of opportunities within a team. Next, the system determines, based on data retrieved from a data store, multiple sets of candidates for the set of opportunities based on multiple objectives that comprise maximizing coverage of the counts of attributes by a given set of candidates. The system then selects, from the multiple sets of candidates, one or more sets of candidates that best meet one or more combinations of the multiple objectives. Finally, the system outputs, in a user interface of the online system, the one or more sets of candidates as recommendations for filling the set of opportunities in the team.
展开▼