University of Natural Resources and Life Sciences (BOKU)
Institute of Computational Biology

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::Interfaces
Child packages:

    internal package Foswiki::Store::Interfaces::SearchAlgorithm is a Foswiki::Store::Interfaces::QueryAlgorithm

    DEPRECATED - all SearchAlgorithm and QueryAlgorithm use the same calling convention.

    Interface to search algorithms. Implementations of this interface are found in Foswiki/Store/SearchAlgorithms.

    StaticMethod query( $query, $webs, $inputTopicSet, $session, $options ) → $infoCache

    • $query - A Foswiki::Search::Node object. The tokens() method of this object returns the list of search tokens.
    • $web - name of the web being searched, or may be an array reference to a set of webs to search
    • $inputTopicSet - iterator over names of topics in that web to search
    • $session - reference to the store object
    • $options - hash of requested options
    This is the top-level interface to a search algorithm.

    Return a Foswiki::Search::ResultSet.

    Topic revision: r1 - 2023-08-06, UnknownUser
    2024-09-20 - 06:18 Foswiki v2.1.8