Add throwing exception to re-ranking interface