KinoSearch1::Search::TermQuery(3pm) | User Contributed Perl Documentation | KinoSearch1::Search::TermQuery(3pm) |
KinoSearch1::Search::TermQuery - match individual Terms
my $term = KinoSearch1::Index::Term->new( $field, $term_text ); my $term_query = KinoSearch1::Search::TermQuery->new( term => $term, ); my $hits = $searcher->search( query => $term_query );
TermQuery is a subclass of KinoSearch1::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 = KinoSearch1::Search::TermQuery->new( term => $term, );
Constructor. Takes hash-style parameters:
Copyright 2005-2010 Marvin Humphrey
See KinoSearch1 version 1.01.
2022-10-20 | perl v5.36.0 |