Feature Proposal: Offer ability to return a named SECTION in FormattedSearch
Motivation
With the implementation of
NamedIncludeSections (see details
here) in Dakar, it seems like a logical extention of this feature to return a specified section for topics found in a
FormattedSearch.
Description and Documentation
I imagine simply the variable
$section(name) which returns the section "name".
Examples
Suppose one has a
CategoryCategory called "CategoryPolicies" that has a
SECTION defined which was called "policy_summary." One could define a
FormattedSearch that searched for all policies that returned the summary sections.
Impact and Available Solutions
Implementation
--
Contributors: LynnwoodBrown
Discussion
--
LynnwoodBrown - 23 Feb 2006
Shouldn't this be implemented as enhancement of
$summary in the light of a future
TopicObjectModel?
--
FranzJosefSilli - 24 Feb 2006
Hmmm. I haven't reviewed
TopicObjectModel in a while and don't know the status of that, but I see using this feature not
just for the topic summary. I would like the ability to return
any defined section.
--
LynnwoodBrown - 24 Feb 2006
how about this, as a workaround:
%SEARCH{"toSearch"
format="$percntINCLUDE{\"$topic\" section=\"sectionname\"}$percnt
}%
--
RafaelAlvarez - 25 Feb 2006
This is a useful enhancement, it is also KISS because admins do not need to use a regex pattern to get the text of a named section.
--
PeterThoeny - 27 Feb 2006