In spite of recent advances, the transformerbased models are large, and using them to compare each query with each document is computationally expensive even for a small corpus.
the two-stage approach remains a prudent choice.