A machine learning task where the goal is to order a set of items by relevance or similarity to a query, commonly used in search engines and recommendation systems.