ECMS-5758: [Unified search] Bad performance of File search