Search/Lucene/Search/QueryEntry/Term.php
- 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: Term.php 20096 2010-01-06 02:05:09Z bkarwin $
- Classes
- Zend_Search_Lucene_Search_QueryEntry_Term
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_Term
- 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
- $_term
- $_field
- $_fuzzyQuery
- $_similarity
- Methods
- __construct
- processFuzzyProximityModifier
- getQuery
Description
Properties
string|null $_field = ''
Field
Details
- $_field
- string|null
- visibility
- private
- default
- final
- false
- static
- false
boolean $_fuzzyQuery = 'false'
Fuzzy search query
Details
- $_fuzzyQuery
- boolean
- visibility
- private
- default
- false
- final
- false
- static
- false
float $_similarity = '1.'
Similarity
Details
- $_similarity
- float
- visibility
- private
- default
- 1.
- final
- false
- static
- false
string $_term = ''
Term value
Details
- $_term
- string
- visibility
- private
- default
- final
- false
- static
- false
Methods
__construct(
string $term, string $field
)
:
Object constractor
Arguments
- $term
- string
- $field
- string
Details
- visibility
- public
- final
- false
- static
- false
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