---
name: "Lucy::Search::NoMatchQuery"
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::NoMatchQuery"
---

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

Query which matches no documents.

## NAME

Lucy::Search::NoMatchQuery - Query which matches no documents.

## DESCRIPTION

NoMatchQuery is a utility class representing a query which matches nothing. Typical usage might include e.g. returning a NoMatchQuery when a QueryParser is asked to parse an empty string.

## CONSTRUCTORS

### *new()*

```
    my $no_match_query = Lucy::Search::NoMatchQuery->new;
```

Constructor. Takes no arguments.

## INHERITANCE

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