You are here: Foswiki>System Web>Category>DeveloperDocumentationCategory>PerlDoc (2024-12-23, UnknownUser)Edit Attach
See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview
internal package
Foswiki::Store::QueryAlgorithms::BruteForce is a
Foswiki::Store::Interfaces::QueryAlgorithmImplements Foswiki::Store::Interfaces::QueryAlgorithm
Default brute-force query algorithm. Works by hoisting regular expressions out of the query tree to narrow down the set of topics to be tested. Then uses the query 'evaluate' method on each topic in turn to fully evaluate the remaining query.
Not sure exactly where the breakpoint is between the costs of hoisting and the advantages of hoisting. Benchmarks suggest that it's around 6 topics, though this may vary depending on disk speed and memory size. It also depends on the complexity of the query.
ClassMethod
new( $class, ) → $cereal Edit | Attach | Print version | History: r1 | Backlinks | View wiki text | Edit wiki text | More topic actions
Topic revision: r1 - 2024-12-23, UnknownUser
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback