PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Counting results in categories

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Counting results in categories

    Hi

    At the top of my search page, I am having 3 links which represent individual categories and filter the results as requested. Is there a way, or is there asp code I can use, that will let me count how many results would be in each category. Im new to asp, so any help would be greatly appriacted.

    Many thanks.

  • #2
    This count is not stored in the search index. It would need to be calculated by checking each page and determining which categor(ies) the page fell into then adding up a total. Some custom script would need to be written to do this calculation.

    How if you just want to do a one off calculation. Do a search for the word,
    **
    (a double star)
    and select the category that you want. All pages in that category will be displayed. Is it not efficient, but should give you an answer.

    Comment

    Working...
    X