:: RootR ::  Hosting Order Map Login   Secure Inter-Network Operations  
 
Lucy::Search::TermQuery(3pm) - phpMan

Command: man perldoc info search(apropos)  


Lucy::Search::TermQuery(3)     User Contributed Perl Documentation     Lucy::Search::TermQuery(3)



NAME
       Lucy::Search::TermQuery - Query which matches individual terms.

SYNOPSIS
           my $term_query = Lucy::Search::TermQuery->new(
               field => 'content',
               term  => 'foo',
           );
           my $hits = $searcher->hits( query => $term_query );

DESCRIPTION
       TermQuery is a subclass of Lucy::Search::Query for matching individual terms in a specific
       field.

CONSTRUCTORS
   new( [labeled params] )
           my $term_query = Lucy::Search::TermQuery->new(
               field => 'content',    # required
               term  => 'foo',        # required
           );

       ·   field - Field name.

       ·   term - Term text.

METHODS
   get_field()
       Accessor for object's "field" member.

   get_term()
       Accessor for object's "term" member.

INHERITANCE
       Lucy::Search::TermQuery isa Lucy::Search::Query isa Clownfish::Obj.



perl v5.20.2                                2015-12-01                 Lucy::Search::TermQuery(3)


rootr.net - man pages