asset-share-commons icon indicating copy to clipboard operation
asset-share-commons copied to clipboard

Actual Search Result Statistics Count

Open robertkeding opened this issue 5 years ago • 2 comments

Hello,

I am using the statistics component in my search results page. When a large result set returns I see 250+

Is there are way to configure ASC to render the actual search result count? Setting the Guess total to 0 gets me your max 250+. I would like to render the actual results, no matter how high.

Thanks!

I have a Maven build extending ASC 1.9.4 running AEM 6.5.4.

robertkeding avatar Jun 30 '20 22:06 robertkeding

ASC forces a guessTotal that is > 1 and <= 2000 .. anything outside these ranges will default to 250.

Try setting your guessTotal to 2000, and you should get accurate totals up to 2000 (if there are more than 2000, then it will show the 2000+)

davidjgonzalez avatar Jul 01 '20 17:07 davidjgonzalez

Enhancement: It would be nice to make the guessTotal dialog field have 1 -> 2000 (inclusive), and a description noting the default behavior.

davidjgonzalez avatar Jul 01 '20 17:07 davidjgonzalez