### Bug description Running the integration tests defined in #790 using retrieval API v1 and v2, we observed that v2 is slower than v1 (see figure below): <img width="1005" alt="image" src="https://user-images.githubusercontent.com/17721108/198597877-ceb52ffa-2e40-49d0-bfc0-9f0d5d5a9f0a.png">