1Lucy::Search::MatchAllQUuseerry(C3o)ntributed Perl DocumLeunctya:t:iSoenarch::MatchAllQuery(3)
2
3
4

NAME

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

DESCRIPTION

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

CONSTRUCTORS

15   new
16           my $match_all_query = Lucy::Search::MatchAllQuery->new;
17
18       Constructor.  Takes no arguments.
19

METHODS

21   make_compiler
22           my $compiler = $match_all_query->make_compiler(
23               searcher    => $searcher,     # required
24               boost       => $boost,        # required
25               subordinate => $subordinate,  # default: false
26           );
27
28       Abstract factory method returning a Compiler derived from this Query.
29
30searcher - A Searcher.
31
32boost - A scoring multiplier.
33
34subordinate - Indicates whether the Query is a subquery (as opposed
35           to a top-level query).  If false, the implementation must invoke
36           normalize() on the newly minted Compiler object before returning
37           it.
38

INHERITANCE

40       Lucy::Search::MatchAllQuery isa Lucy::Search::Query isa Clownfish::Obj.
41
42
43
44perl v5.36.0                      2023-01-20    Lucy::Search::MatchAllQuery(3)
Impressum