Quick Search Development

We are using TWiki to maintain a requirements database. The tool is working out nicely (with appropriately designed forms). The only problem we've had is that navigation among requirements and status are maintained by pages with a number of in-line searches and the response time was getting out of hand as the number of requirements grew above a few hundred (we've already implemented mod_perl and a few other measures to speed TWiki up in general).

Finding no obvious solution I hacked the full-featured function to make a plugin I call QuickSearch. It just returns a list of topics matching the search string formatted according to a template file. Alternatively it will return only the count of matching topics which can then be embedded in tables, reports, etc.

A very informal comparison shows about a 4-5x improvement in speed over the default search.

If there is any interest I'll finish packaging it up and release it as a plugin.

-- DaveAlsup - 06 Mar 2002

Yeah! I'd be interested! I'm having similar problems.

-- AndrewTetlaw - 06 Mar 2002

I've added QuickSearchPlugin in the plugins web, let me know if there are any problems.

-- DaveAlsup - 12 Mar 2002

Edit | Attach | (削除) Watch (削除ここまで) | Print version | History : r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2002年03月12日 - DaveAlsup
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.

AltStyle によって変換されたページ (->オリジナル) /