1KinoSearch1::Search::TeUrsmeQrueCroyn(t3rpimb)uted PerlKDioncouSmeeanrtcaht1i:o:nSearch::TermQuery(3pm)
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.38.0 2023-07-20KinoSearch1::Search::TermQuery(3pm)