Lucy::Search::NoMatchQuery - Query which matches no documents.
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.
my $no_match_query = Lucy::Search::NoMatchQuery->new;
Constructor. Takes no arguments.
my $compiler = $no_match_query->make_compiler( searcher => $searcher # required boost => $boost # required subordinate => $subordinate # default: false );
Abstract factory method returning a Compiler derived from this Query.
Lucy::Search::NoMatchQuery isa Lucy::Search::Query isa Clownfish::Obj.
Copyright © 2010-2015 The Apache Software Foundation, Licensed under the
Apache License, Version 2.0.
Apache Lucy, Lucy, Apache, the Apache feather logo, and the Apache Lucy project logo are trademarks of The
Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their
respective owners.