mirror of
https://github.com/lancedb/lancedb.git
synced 2026-12-03 07:45:17 +00:00
Custom and model rerankers receive every candidate (OpenaiReranker sends them all in one prompt), so they keep the caller's limit + offset budget per side. An empty page (limit 0) no longer gets the floor and is rejected before any candidates are fetched or scored, as on main. Adds regression tests for the reranker input sizes (sync and async, custom reranker and default RRF) and for limit(0), and updates test_query_sync_hybrid to expect k=50 for the default RRF request.