Search/Lucene/Search/QueryEntry/Term.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 license@zend.com 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_Term

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
>VPropertyprivateboolean $_fuzzyQuery = false
Fuzzy search query
Default valuefalseDetails
Type
boolean
>VPropertyprivatefloat $_similarity = 1.0
Similarity
Default value1.0Details
Type
float
>VPropertyprivatestring $_term
Term value
Details
Type
string

Methods

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

Object constractor

Parameters
NameTypeDescription
$termstring
$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 .