FlatQueryParser - Simple query parser, with no boolean operators.
my $searcher = Lucy::Search::IndexSearcher->new( index => '/path/to/index' ); my $parser = FlatQueryParser->new( $searcher->get_schema ); my $query = $parser->parse($query_string); my $hits = $searcher->hits( query => $query ); ...
See Lucy::Docs::Cookbook::CustomQueryParser.
To install Lucy::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lucy::Simple
CPAN shell
perl -MCPAN -e shell install Lucy::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.