RedisVL HFCrossEncoderReranker: scores returned in original input order after reranking

HFCrossEncoderReranker.rank(..., return_score=True) returned reranked documents sorted by descending score, but the accompanying score array stayed in the original input order. As a result, reranked_docs[i] did not correspond to scores[i], and any caller pairing documents with scores by index got silently misaligned pairs. The bug was reported with a minimal reproduction and fixed upstream.

This was a real bug and was fixed in redisvl v0.27.0. Upgrade to v0.27.0 or later so the returned scores align with the reranked documents. Source: https://github.com/redis/redis-vl-python/issues/693

Source: https://github.com/redis/redis-vl-python/issues/693