Search/Lucene/Search/QueryEntry/Phrase.php

Show: PublicProtectedPrivateinherited
Table of Contents
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 [email protected] so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Search_Lucene  
Subpackage
Search  
Version
$Id$  

\Zend_Search_Lucene_Search_QueryEntry_Phrase

Package: Zend_Search_Lucene\Search
Parent(s)
\Zend_Search_Lucene_Search_QueryEntry
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprivatestring|null $_field
Field
Details
Type
string | null
>VPropertyprivatestring $_phrase
Phrase value
Details
Type
string
>VPropertyprivateboolean $_proximityQuery = false
Proximity phrase query
Default valuefalseDetails
Type
boolean
>VPropertyprivateinteger $_wordsDistance = 0
Words distance, used for proximiti queries
Default value0Details
Type
integer

Methods

methodpublic__construct(string $phrase, string $field) : void

Object constractor

Parameters
NameTypeDescription
$phrasestring
$fieldstring
methodpublicgetQuery(string $encoding) : \Zend_Search_Lucene_Search_Query

Transform entry to a subquery

Parameters
NameTypeDescription
$encodingstring
Returns
TypeDescription
\Zend_Search_Lucene_Search_Query
Throws
ExceptionDescription
\Zend_Search_Lucene_Search_QueryParserException
methodpublicprocessFuzzyProximityModifier(mixed $parameter = null) : void

Process modifier ('~')

Parameters
NameTypeDescription
$parametermixed
Documentation was generated by phpDocumentor 2.2.0 .