Peter Karman

NAME

LucyX::Search::NullTermQuery - Lucy query extension for NULL values

SYNOPSIS

 my $query = LucyX::Search::NullTermQuery->new(
    field   => 'color',
 );
 my $hits = $searcher->hits( query => $query );
 

DESCRIPTION

NullTermQuery is for matching documents in a Lucy index that have no value for a field.

NullTermQuery isa NOTQuery negating an AnyTermQuery.

METHODS

This class isa Lucy::Search::NOTQuery subclass. Only new or overridden methods are documented.

new( field => $field )

Returns a NullTermQuery.

to_string

Returns the query clause the object represents.

AUTHOR

Peter Karman, <karman at cpan.org>

BUGS

Please report any bugs or feature requests to bug-lucyx-search-wildcardquery at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=LucyX-Search-NullTermQuery. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc LucyX::Search::NullTermQuery

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2013 Peter Karman.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.