Marvin Humphrey
and 1 contributors

SAMPLE CLASS

PrefixQuery - Sample subclass of KinoSearch::Query, supporting trailing wildcards.

SYNOPSIS

    my $prefix_query = PrefixQuery->new(
        field        => 'content',
        query_string => 'foo*',
    );
    my $hits = $searcher->hits( query => $prefix_query );

DESCRIPTION

See KinoSearch::Docs::Cookbook::CustomQuery.

COPYRIGHT AND LICENSE

Copyright 2008-2011 Marvin Humphrey

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.