KinoSearch::Search::PhraseQuery - Query matching an ordered list of terms.
my $phrase_query = KinoSearch::Search::PhraseQuery->new( field => 'content', terms => [qw( the who )], ); my $hits = $searcher->hits( query => $phrase_query );
PhraseQuery is a subclass of KinoSearch::Search::Query for matching against an ordered sequence of terms.
field - The field that the phrase must occur in.
terms - The ordered array of terms that must match.
Accessor for object's field attribute.
Accessor for object's array of terms.
KinoSearch::Search::PhraseQuery isa KinoSearch::Search::Query isa KinoSearch::Obj.
Copyright 2005-2009 Marvin Humphrey
See KinoSearch version 0.30.
To install KSx::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm KSx::Simple
CPAN shell
perl -MCPAN -e shell install KSx::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.