Plucene::QueryParser(3pm) - phpMan

Command: man perldoc info search(apropos)  


Plucene::QueryParser(3pm)      User Contributed Perl Documentation      Plucene::QueryParser(3pm)

NAME
       Plucene::QueryParser - Turn query strings into Plucene::Search::Query objects

SYNOPSIS
               my $p = Plucene::QueryParser->new({
                       analyzer => Plucene::Analysis::Analyzer $a,
                       default  => "text"
               });

               my Plucene::Search::Query $q = $p->parse("foo bar:baz");

DESCRIPTION
       This module is responsible for turning a query string into a Plucene::Query object. It
       needs to have an Analyzer object to help it tokenize incoming queries, and it also needs
       to know the default field to be used if no field is given in the query string.

METHODS
   new
               my $p = Plucene::QueryParser->new({
                       analyzer => Plucene::Analysis::Analyzer $a,
                       default  => "text"
               });

       Construct a new query parser

   parse
               my Plucene::Search::Query $q = $p->parse("foo bar:baz");

       Turns the string into a query object.

perl v5.26.1                                2018-04-02                  Plucene::QueryParser(3pm)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2025-01-15 01:48 @13.59.67.189 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!