pub(super) async fn search( query: SearchQuery, ctx: SharedContext ) -> Result<impl Reply, Rejection>