Lps 45980

Follow same pattern on LPS-44894 to refact getSummary method  of Indexer class