This improves the search result class structure. It is an automated change running the following command to correct Rubocop offenses:
rubocop -A ee/lib/gitlab/elastic/search_results.rb