Tags:
create new tag
view all tags

Question

I have yet another type of search that I need to do, and I cannot find a way to perform it with the current %SEARCH% capability.

Specifically, I need to search for all topics that have not been modified for N days. (I need to list topics that have not received any attention lately. This is distinct from them reaching their due date.)

It is easy to list all topics from oldest to newest, but I need a way to specify a cut-off value. This is something like searching with limit="nn", but data based instead of an absolute count.

In the more general case, it would seem like a powerful tool if %SEARCH%{...} could select a (numerical or date) range of data rather than just regular expressions.

I have a sneaking feeling that there is something completely obvious that I am missing. Is there a trick that I do not know about?

  • TWiki version: Beta 14 Apr 2002
  • Web server: Apache 1.3
  • Server OS: Solaris 2.8
  • Web browser: IE
  • Client OS: Windows 2000

-- DaveBoulton - 30 Jul 2002

Answer

You currently cannot limit the number of topics shown other then by a number of topics.

<brainstorming> It would be possible to enhance TWiki::Search to understand something like limit=">9 days" and limit="<9 days" </brainstorming>

Alternatively you could create a Plugin that searches for those files, e.g. with syntax SEARCHOLDTOPICS{"9"}%

-- PeterThoeny - 01 Aug 2002

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2002-08-01 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.