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
Plucene::Search::PhraseQuery(3) User Contributed Perl Documentation Plucene::Search::PhraseQuery(3)

Plucene::Search::PhraseQuery - A query that matchs a phrase

        # isa Plucene::Search::Query

A Query that matches documents containing a particular sequence of terms.

A phrase query represents a query that is matched against a consecutive sequence of terms in the field. For example, the phrase query 'winding road' should match 'winding road' but not 'road winding' (with the exception of more relaxed slop factors).

Phrase queries are represented in Plucene's API by instances of the PharseQuery class. These instances contain an ordered list of Term objects that represent the terms to match. For obvious reasons, all terms in a PhraseQuery must refer to the same field.

A phrase query may have an optional boost factor and an optional slop parameter (default = 0). The slop parameter can be used to relax the phrase matching by accepting somewhat out of order sequences of the terms.

Adds a term to the end of the query phrase.

The sum squared weights of this query.

Normalize the query.

Prints a user-readable version of this query.
2005-09-05 perl v5.32.1

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

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