GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PLUCENE::QUERYPARSER (3)

.ds Aq ’

NAME

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

CONTENTS

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PLUCENE::QUERYPARSER (3) 2005-09-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.