changeset 415:6da5739cbe0c

Added FullSearchCached macro. imported from: moin--main--1.5--patch-419
author Alexander Schremmer <alex@alexanderweb.de.tla>
date Fri, 03 Feb 2006 20:30:15 +0000
parents 6a0bfc86b441
children fb5e1ecdbc33
files ChangeLog MoinMoin/macro/FullSearchCached.py docs/CHANGES
diffstat 3 files changed, 36 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Feb 03 20:26:27 2006 +0000
+++ b/ChangeLog	Fri Feb 03 20:30:15 2006 +0000
@@ -2,6 +2,22 @@
 # arch-tag: automatic-ChangeLog--arch@arch.thinkmo.de--2003-archives/moin--main--1.5
 #
 
+2006-02-03 21:30:15 GMT	Alexander Schremmer <alex@alexanderweb.de.tla>	patch-419
+
+    Summary:
+      Added FullSearchCached macro.
+    Revision:
+      moin--main--1.5--patch-419
+
+
+    new files:
+     MoinMoin/macro/.arch-ids/FullSearchCached.py.id
+     MoinMoin/macro/FullSearchCached.py
+
+    modified files:
+     ChangeLog docs/CHANGES
+
+
 2006-02-03 21:26:27 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-418
 
     Summary:
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/macro/FullSearchCached.py	Fri Feb 03 20:30:15 2006 +0000
@@ -0,0 +1,16 @@
+# -*- coding: iso-8859-1 -*-
+"""
+    MoinMoin - FullSearch Macro, cached version
+
+    Refer to the FullSearch documentation for details.
+    This macro is cached regardless of the validity of the data.
+
+    @copyright: 2005 by MoinMoin:AlexanderSchremmer
+    @license: GNU GPL, see COPYING for details.
+"""
+
+from MoinMoin.macro.FullSearch import execute
+Dependencies = []
+
+# yes, that's all
+
--- a/docs/CHANGES	Fri Feb 03 20:26:27 2006 +0000
+++ b/docs/CHANGES	Fri Feb 03 20:30:15 2006 +0000
@@ -3,6 +3,10 @@
 
 Current dev version:
 
+  New features:
+    * Added FullSearchCached macro which is statically cached.
+      Use it if you do not depend on fresh search results but prefer raw speed.
+
   Other changes:
     * added surge protection (TODO: configurability)
     * added "voyager" to bot useragent list