( vs. 1) TWikiQueryHoistREsDotPm < TWiki < TWiki

Home - this site is powered by TWiki(R)
TWiki  TWikiQueryHoistREsDotPm ( vs. 1)

Welcome | Register | Changes | Topics | Index | Search | Go

 <<O>>  Difference Topic TWikiQueryHoistREsDotPm (1 - 2008-01-22 - TWikiContributor)
 

Package =TWiki::Query::HoistREs

Static functions to extract regular expressions from queries. The REs can be used in caching stores that use the TWiki standard inline meta-data representation to pre-filter topic lists for more efficient query matching.

See Store/RcsFile.pm for an example of usage.

ObjectMethod hoist ($query) -> @res

Extract useful filter REs from the given query. The list returned is a list of filter expressions that can be used with a cache search to refine the list of topics. The full query should still be applied to topics that remain after the filter match has been applied; this is purely an optimisation.


View | History: r1 | More

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiQueryHoistREsDotPm.

Revision r1 - 2008-01-22 - 03:21:29 - TWikiContributor Edit

(%REVTITLE2% vs. %REVTITLE1%) TWikiQueryHoistREsDotPm < TWiki < TWiki