search: paginated repository resolution
Created by: tsenart
Repository resolution is currently a blocking operation that most search types depend on, and its implementation doesn't scale with large number of repositories (i.e. too slow and too much memory usage).
Introducing paginated repository resolution should address the slowness and memory usage.