1KinoSearch1::Search::PhUrsaesreQCuoenrtyr(i3b)uted PerlKDioncouSmeeanrtcaht1i:o:nSearch::PhraseQuery(3)
2
3
4

NAME

6       KinoSearch1::Search::PhraseQuery - match ordered list of Terms
7

SYNOPSIS

9           my $phrase_query = KinoSearch1::Search::PhraseQuery->new;
10           for ( qw( the who ) ) {
11               my $term = KinoSearch1::Index::Term( 'bodytext', $_ );
12               $phrase_query->add_term($term);
13           }
14           my $hits = $searcher->search( query => $phrase_query );
15

DESCRIPTION

17       PhraseQuery is a subclass of KinoSearch1::Search::Query for matching
18       against ordered collections of terms.
19

METHODS

21   new
22           my $phrase_query = KinoSearch1::Search::PhraseQuery->new;
23
24       Constructor.  Takes no arguments.
25
26   add_term
27           $phrase_query->add_term($term);
28
29       Append a term to the phrase to be matched.  Takes one argument, a
30       KinoSearch1::Index::Term object.
31
33       Copyright 2005-2010 Marvin Humphrey
34

LICENSE, DISCLAIMER, BUGS, etc.

36       See KinoSearch1 version 1.00.
37
38
39
40perl v5.12.2                      2010-10-05KinoSearch1::Search::PhraseQuery(3)
Impressum