## Zend_Search_Lucene_Search_QueryParserContext

Description

- license: New BSD License
- copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Search/Lucene/Search/QueryParserContext.php (line 64)

Class Constant Summary
GM_BOOLEAN = 1
GM_SIGNS = 0
Method Summary
Zend_Search_Lucene_Search_QueryParserContext __construct (string $encoding, [string|null $defaultField = null])
void addEntry (Zend_Search_Lucene_Search_QueryEntry $entry)
void addLogicalOperator (integer $operator)
void boost (float $boostFactor)
string|null getField ()
Zend_Search_Lucene_Search_Query getQuery ()
void processFuzzyProximityModifier ([ $parameter = null])
void setNextEntryField (string $field)
void setNextEntrySign (integer $sign)
Zend_Search_Lucene_Search_Query _signStyleExpressionQuery ()
Methods
Constructor __construct (line 137)

Context object constructor

- access: public

Zend_Search_Lucene_Search_QueryParserContext __construct (string $encoding, [string|null $defaultField = null])

- string $encoding
- string|null $defaultField

addEntry (line 194)

Add entry to a query

- access: public

void addEntry (Zend_Search_Lucene_Search_QueryEntry $entry)

- Zend_Search_Lucene_Search_QueryEntry $entry

addLogicalOperator (line 260)

Process logical operator

- access: public

void addLogicalOperator (integer $operator)

- integer $operator

boost (line 236)

Set boost factor to the entry

- access: public

void boost (float $boostFactor)

- float $boostFactor

getField (line 149)

Get context default field

- access: public

string|null getField ()
getQuery (line 406)

Generate query from current context

- access: public

Zend_Search_Lucene_Search_Query getQuery ()
processFuzzyProximityModifier (line 212)

Process fuzzy search or proximity search modifier

- access: public
- throws: Zend_Search_Lucene_Search_QueryParserException

void processFuzzyProximityModifier ([ $parameter = null])

- $parameter

setNextEntryField (line 159)

Set field for next entry

- access: public

void setNextEntryField (string $field)

- string $field

setNextEntrySign (line 171)

Set sign for next entry

- access: public
- throws: Zend_Search_Lucene_Exception

void setNextEntrySign (integer $sign)

- integer $sign

_signStyleExpressionQuery (line 278)

Generate 'signs style' query from the context '+term1 term2 -term3 +(<subquery1>) ...'

- access: public

Zend_Search_Lucene_Search_Query _signStyleExpressionQuery ()
Class Constants
GM_BOOLEAN = 1 (line 97)
GM_SIGNS = 0 (line 96)

Entries grouping mode

Documentation generated on Wed, 21 Feb 2007 11:58:11 -0800 by phpDocumentor 1.3.1