KinoSearch::Search::PhraseQuery - Query matching an ordered list of terms.


KinoSearch documentation  | view source Contained in the KinoSearch distribution.

Index


NAME

Top

KinoSearch::Search::PhraseQuery - Query matching an ordered list of terms.

SYNOPSIS

Top

    my $phrase_query = KinoSearch::Search::PhraseQuery->new( 
        field => 'content',
        terms => [qw( the who )],
    );
    my $hits = $searcher->hits( query => $phrase_query );







DESCRIPTION

Top

PhraseQuery is a subclass of KinoSearch::Search::Query for matching against an ordered sequence of terms.

CONSTRUCTORS

Top

new( [labeled params] )

METHODS

Top

get_field()

Accessor for object's field attribute.

get_terms()

Accessor for object's array of terms.

INHERITANCE

Top

KinoSearch::Search::PhraseQuery isa KinoSearch::Search::Query isa KinoSearch::Object::Obj.

COPYRIGHT AND LICENSE

Top


KinoSearch documentation  | view source Contained in the KinoSearch distribution.