KinoSearch::Search::TermQuery - match individual Terms
my $term = KinoSearch::Index::Term->new( $field, $term_text ); my $term_query = KinoSearch::Search::TermQuery->new( term => $term, ); my $hits = $searcher->search( query => $term_query );
TermQuery is a subclass of KinoSearch::Search::Query for matching individual Terms. Note that since Term objects are associated with one and only one field, so are TermQueries.
my $term_query = KinoSearch::Search::TermQuery->new( term => $term, );
Constructor. Takes hash-style parameters:
term - a KinoSearch::Index::Term.
Copyright 2005-2009 Marvin Humphrey
See KinoSearch version 0.164.
To install KinoSearch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm KinoSearch
CPAN shell
perl -MCPAN -e shell install KinoSearch
For more information on module installation, please visit the detailed CPAN module installation guide.