Plucene::Search::TermQuery - a query that matches terms beginning with a string
# isa Plucene::Search::Query $prefix_query->normalize($norm); my $ssw = $prefix_query->sum_squared_weights($searcher); my $as_string = $prefix_query->to_string($field);
A query that matches a document containing terms beginning with the given string.
$q->to_string
Convert the query to a readable string format
The sum sqaured weights of the query.
Normalize the query.
To install Plucene, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plucene
CPAN shell
perl -MCPAN -e shell install Plucene
For more information on module installation, please visit the detailed CPAN module installation guide.