PrefixQuery - Sample subclass of Lucy::Query, supporting trailing wildcards.
my $prefix_query = PrefixQuery->new( field => 'content', query_string => 'foo*', ); my $hits = $searcher->hits( query => $prefix_query );
See Lucy::Docs::Cookbook::CustomQuery.
To install , copy and paste the appropriate command in to your terminal.
cpanm
cpanm NWELLNHOF/Lucy-0.4.3.tar.gz
CPAN shell
perl -MCPAN -e shell install NWELLNHOF/Lucy-0.4.3.tar.gz
For more information on module installation, please visit the detailed CPAN module installation guide.