Top N [Obj,Obj]

Description

Select the top-N results (highest score first). This can be used at the end of a strategy to return a maximum number of results. It can also be used within a strategy to take only the top N results for follow-up blocks. For example in recommendation to use only the latest sales to suggest relevant products.

Input

  • SOURCE [OBJ,OBJ]: the list of pairs to filter

Output

  • RESULT [OBJ,OBJ]: the top-N pairs

Parameters

  • N: the number of results to return