WARNING LocalSite.cfg could not be found (This is normal for a new installation)
This Foswiki is running using a bootstrap configuration worked out by detecting the layout of the installation. To complete the bootstrap process you should either:
  • Restore the missing LocalSite.cfg from a backup, or
  • Complete the new Foswiki installation:

You have been logged in as a temporary administrator. Any requests made to this Foswiki will be treated as requests made by an administrator with full rights Your temporary administrator rights will "stick" until you've logged out from this session.

PerlDoc

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


Parent package: Foswiki::Store::QueryAlgorithms
Child packages:

    SMELL / FIX / TODO count: 11

    internal package Foswiki::Store::QueryAlgorithms::BruteForce is a Foswiki::Store::Interfaces::QueryAlgorithm

    Implements 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.

    TODO: There is an additional opportunity for optimisation; if we assume

    ClassMethod new( $class, ) → $cereal

    TODO: is this simplification call appropriate here, or should it
    TODO: what about simplify to constant in this web?
    SMELL: use any old topic
    TODO: i'm sure that is a flawed assumption
    TODO: how to ask iterator for list length?
    TODO: once the inputTopicSet isa ResultSet we might have an idea
    TODO: I presume $hoisetedRE's is undefined for constant queries..
    TODO: clearly this can be re-written as a FilterIterator,
    TODO: preload the meta cache if we're doing date
    TODO: frustratingly, there is no way to evaluate a
    Topic revision: r1 - 15 Mar 2026, UnknownUser
    This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
    Ideas, requests, problems regarding Foswiki? Send feedback