debian man page for plucene::search::phrasequery

Query: plucene::search::phrasequery

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Plucene::Search::PhraseQuery(3pm)			User Contributed Perl Documentation			 Plucene::Search::PhraseQuery(3pm)

NAME
Plucene::Search::PhraseQuery - A query that matchs a phrase
SYNOPSIS
# isa Plucene::Search::Query
DESCRIPTION
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.
METHODS
add Adds a term to the end of the query phrase. sum_squared_weights The sum squared weights of this query. normalize Normalize the query. to_string Prints a user-readable version of this query. perl v5.12.4 2011-08-14 Plucene::Search::PhraseQuery(3pm)
Related Man Pages
plucene::index::fieldinfos(3pm) - debian
plucene::index::reader(3pm) - debian
plucene::index::segmentinfos(3pm) - debian
plucene::search::booleanquery(3pm) - debian
search::gin::query::class(3pm) - debian
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
Introduction
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections