Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Plucene::QueryParser(3User Contributed Perl DocumentatiPlucene::QueryParser(3)

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.32.1			  2005-09-05	       Plucene::QueryParser(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Plucene::QueryParser&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help