API Documentation

Search/Lucene/Search/QueryEntry/Phrase.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Search_Lucene
subpackage
Search
version
$Id: Phrase.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Search_Lucene_Search_QueryEntry_Phrase

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Search_Lucene_Search_QueryEntry_Phrase

Extends from
Zend_Search_Lucene_Search_QueryEntry
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Search_Lucene
subpackage
Search
Properties
$_phrase
$_field
$_proximityQuery
$_wordsDistance
Methods
__construct
processFuzzyProximityModifier
getQuery

Description

Properties

$_field

string|null $_field = ''

Field

Details

$_field
string|null
visibility
private
default
final
false
static
false

$_phrase

string $_phrase = ''

Phrase value

Details

$_phrase
string
visibility
private
default
final
false
static
false

$_proximityQuery

boolean $_proximityQuery = 'false'

Proximity phrase query

Details

$_proximityQuery
boolean
visibility
private
default
false
final
false
static
false

$_wordsDistance

integer $_wordsDistance = '0'

Words distance, used for proximiti queries

Details

$_wordsDistance
integer
visibility
private
default
0
final
false
static
false

Methods

__construct

__construct( string $phrase, string $field ) :

Object constractor

Arguments
$phrase
string
$field
string
Details
visibility
public
final
false
static
false

getQuery

getQuery( string $encoding ) : Zend_Search_Lucene_Search_Query

Transform entry to a subquery

Arguments
$encoding
string
Details
visibility
public
final
false
static
false
throws

processFuzzyProximityModifier

processFuzzyProximityModifier( mixed $parameter = null ) :

Process modifier ('~')

Arguments
$parameter
mixed
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.