Output optimizations for federated search