1KinoSearch1::Search::TeUrsmeQrueCroyn(t3r)ibuted Perl DoKciunmoeSnetaartciho1n::Search::TermQuery(3)
2
3
4
6 KinoSearch1::Search::TermQuery - match individual Terms
7
9 my $term = KinoSearch1::Index::Term->new( $field, $term_text );
10 my $term_query = KinoSearch1::Search::TermQuery->new(
11 term => $term,
12 );
13 my $hits = $searcher->search( query => $term_query );
14
16 TermQuery is a subclass of KinoSearch1::Search::Query for matching
17 individual Terms. Note that since Term objects are associated with one
18 and only one field, so are TermQueries.
19
21 new
22 my $term_query = KinoSearch1::Search::TermQuery->new(
23 term => $term,
24 );
25
26 Constructor. Takes hash-style parameters:
27
28 • term - a KinoSearch1::Index::Term.
29
31 Copyright 2005-2010 Marvin Humphrey
32
34 See KinoSearch1 version 1.01.
35
36
37
38perl v5.36.0 2022-07-22 KinoSearch1::Search::TermQuery(3)