API Documentation

Search/Lucene/Search/QueryEntry/Term.php

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-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Search_Lucene  
subpackage
Search  
version
$Id: Term.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Search_Lucene_Search_QueryEntry_Term

Extends from
\Zend_Search_Lucene_Search_QueryEntry
category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Search_Lucene  
subpackage
Search  

Properties

Propertyprivatestring|null  $_field= ''

Field

Details
Type
stringnull
Propertyprivateboolean  $_fuzzyQuery= 'false'

Fuzzy search query

Default valuefalseDetails
Type
boolean
Propertyprivatefloat  $_similarity= '1.'

Similarity

Default value1.Details
Type
float
Propertyprivatestring  $_term= ''

Term value

Details
Type
string

Methods

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

Object constractor

Parameters
Name Type Description
$term string
$field string
methodpublicboost( float $boostFactor ) : void

Boost query entry

Inherited from: \Zend_Search_Lucene_Search_QueryEntry::boost()
Parameters
Name Type Description
$boostFactor float
methodpublicgetQuery( string $encoding ) : \Zend_Search_Lucene_Search_Query

Transform entry to a subquery

Parameters
Name Type Description
$encoding string
Returns
Type Description
\Zend_Search_Lucene_Search_Query
Throws
Exception Description
\Zend_Search_Lucene_Search_QueryParserException
methodpublicprocessFuzzyProximityModifier( mixed $parameter = null ) : void

Process modifier ('~')

Parameters
Name Type Description
$parameter mixed
Documentation was generated by DocBlox 0.13.3.