This patch adds a new option to the search command, allowing to limit the returned results from the database.