Feature Proposal: Add varaible to FormattedSearch that returns number of topics found

If you're looking for the discussion about FormattedSearch returning the count of a regex search, see FormattedSearchRegexCountVariable.

Motivation

For FacetedNavigation, it would be very helpful to list simply the number of topics found from a search.

Description and Documentation

Since the $count(regex) syntax is already defined by FormattedSearchRegexCountVariable (see details of feature as implemented here), I would propose using simply $count (without parenthesis or regex) to return the count of topics found.

Examples

Providing a list of categories with the number found of each. Granted, this would require a nested search.

Impact and Available Solutions

Implementation

-- Contributors: LynnwoodBrown

Discussion

-- LynnwoodBrown - 23 Feb 2006

A useful enhancement. One issue might be timing/performance. The total number of topics might not be known until the end of the search.

-- PeterThoeny - 27 Feb 2006

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2006-02-27 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.