Peter Karman > LucyX-Search-WildcardQuery > LucyX::Search::NOTWildcardQuery

Download:
LucyX-Search-WildcardQuery-0.06.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.06   Source  

NAME ^

LucyX::Search::NOTWildcardQuery - Lucy query extension

SYNOPSIS ^

 my $query = LucyX::Search::NOTWildcardQuery->new(
    term    => 'green*',
    field   => 'color',
 );
 my $hits = $searcher->hits( query => $query );

DESCRIPTION ^

If a WildcardQuery is equivalent to this:

 $term =~ m/$query/

then a NOTWildcardQuery is equivalent to this:

 $term !~ m/$query/

METHODS ^

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

new( term => $term, field => $field )

Returns a NOTWildcardQuery.

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-WildcardQuery. 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::WildcardQuery

You can also look for information at:

COPYRIGHT & LICENSE ^

Copyright 2011 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.

syntax highlighting: