Nick Wellnhofer > Lucy > Lucy::Search::MatchAllQuery

Download:
Lucy-0.6.0.4.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.006000004   Source  

NAME ^

Lucy::Search::MatchAllQuery - Query which matches all documents.

DESCRIPTION ^

MatchAllQuery is a utility class which matches all documents. Each match is assigned a score of 0.0, so that in composite queries, any document which matches against another part of the query will be ranked higher than a document which matches only via the MatchAllQuery.

CONSTRUCTORS ^

new

    my $match_all_query = Lucy::Search::MatchAllQuery->new;

Constructor. Takes no arguments.

METHODS ^

make_compiler

    my $compiler = $match_all_query->make_compiler(
        searcher    => $searcher,     # required
        boost       => $boost,        # required
        subordinate => $subordinate,  # default: false
    );

Abstract factory method returning a Compiler derived from this Query.

INHERITANCE ^

Lucy::Search::MatchAllQuery isa Lucy::Search::Query isa Clownfish::Obj.

syntax highlighting: