Display number of results found per index of search results

Derek McDonald asked on August 21, 2014 03:57

I have a UI that has been designed that shows the number of results found for sections of the site. I have created a search index for each of the sections of the website.

What the UI has is something like this

  • All (100)
  • Section 1 (30)
  • Section 2 (20)
  • Section 3 (40)
    • Section 3.1 (10)
    • Section 3.2 (10)
    • Section 3.3 (10)
    • Section 3.4 (10)
  • Section 4 (10)

Any help would be appreciated.

Cheers

   Please, sign in to be able to submit a new answer.