Tags:
search1Add my vote for this tag create new tag
, view all tags

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

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-02-27 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.