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.
GM_SIGNS = '0'
Entries grouping mode
Details GM_BOOLEAN = '1'
Detailsstring|null $_defaultField = ''Default field for the context.
null means, that term should be searched through all fields Zend_Search_Lucene_Search_Query::rewriteQuery($index) transletes such queries to several
Detailsstring $_encoding = ''Query string encoding
Detailsarray $_entries = 'array'Query entries Each entry is a Zend_Search_Lucene_Search_QueryEntry object or boolean operator (Zend_Search_Lucene_Search_QueryToken class constant)
Detailsinteger $_mode = 'null'Grouping mode
Detailsstring $_nextEntryField = 'null'Field specified for next entry
Detailsboolean $_nextEntrySign = 'null'True means, that term is required.
False means, that term is prohibited. null means, that term is neither prohibited, nor required
Detailsarrays $_signs = 'array'Entries signs.
Used in GM_SIGNS grouping mode
Details__construct(
string $encoding, string|null $defaultField
=
null
)
:
Context object constructor
Details_booleanExpressionQuery(
)
:
Zend_Search_Lucene_Search_QueryGenerate 'boolean style' query from the context 'term1 and term2 or term3 and (<subquery1>) and not (<subquery2>)'
Details_signStyleExpressionQuery(
)
:
Zend_Search_Lucene_Search_QueryGenerate 'signs style' query from the context '+term1 term2 -term3 +(<subquery1>) ...'
DetailsaddEntry(
Zend_Search_Lucene_Search_QueryEntry $entry
)
:
Add entry to a query
DetailsaddLogicalOperator(
integer $operator
)
:
Process logical operator
Detailsboost(
float $boostFactor
)
:
Set boost factor to the entry
DetailsgetField(
)
:
string|nullGet context default field
DetailsgetQuery(
)
:
Zend_Search_Lucene_Search_QueryGenerate query from current context
DetailsprocessFuzzyProximityModifier(
$parameter
=
null
)
:
Process fuzzy search or proximity search modifier
DetailssetNextEntryField(
string $field
)
:
Set field for next entry
DetailssetNextEntrySign(
integer $sign
)
:
Set sign for next entry
Details