In AEM fulltext query find number of occurrences along with total number of matches
Hi,
I have a working fulltext search query which finds a text in a folder
map.put("path", path);
map. Put("fulltext", matchString);
map.put("p.limit", "-1");
map.put("p.excerpt", "true");
map.put("p.offset", offset);
map.put("type", "dam:Asset");
map.put("group.p.or", "true");
But this returns the number of total files matching the query, I need the total number of occurrences also. Is there a way I can get that ?
