---
name: "Lucy::Search::MatchAllQuery"
section: "3pm"
platform: "linux"
package: "liblucy-perl"
version: "0.3.3-7+b1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Lucy::Search::MatchAllQuery"
---

# Lucy::Search::MatchAllQuery(3pm)

Query which matches all documents.

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

## INHERITANCE

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