## Zend_Search_Lucene_Analysis_Analyzer_Common

Description

Common implementation of the Zend_Search_Lucene_Analysis_Analyzer interface.

There are several standard standard subclasses provided by Zend_Search_Lucene/Analysis subpackage: Zend_Search_Lucene_Analysis_Analyzer_Common_Text, ZSearchHTMLAnalyzer, ZSearchXMLAnalyzer.

- abstract:
- license: New BSD License
- copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
- todo: ZSearchHTMLAnalyzer and ZSearchXMLAnalyzer implementation

Located in /Zend/Search/Lucene/Analysis/Analyzer/Common.php (line 40)

    Zend_Search_Lucene_Analysis_Analyzer
       |
       --Zend_Search_Lucene_Analysis_Analyzer_Common

Direct descendents

Class | Description
--- | ---
Zend_Search_Lucene_Analysis_Analyzer_Common_Text |
Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum |
Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8 |
Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8Num |

Method Summary
void addFilter (Zend_Search_Lucene_Analysis_TokenFilter $filter)
Zend_Search_Lucene_Analysis_Token normalize (Zend_Search_Lucene_Analysis_Token $token)
Variables

#### Inherited Variables

Inherited from Zend_Search_Lucene_Analysis_Analyzer

> Zend_Search_Lucene_Analysis_Analyzer::$_encoding
> Zend_Search_Lucene_Analysis_Analyzer::$_input

Methods
addFilter (line 55)

Add Token filter to the Analyzer

- access: public

void addFilter (Zend_Search_Lucene_Analysis_TokenFilter $filter)

- Zend_Search_Lucene_Analysis_TokenFilter $filter

normalize (line 66)

Apply filters to the token. Can return null when the token was removed.

- access: public

Zend_Search_Lucene_Analysis_Token normalize (Zend_Search_Lucene_Analysis_Token $token)

- Zend_Search_Lucene_Analysis_Token $token

#### Inherited Methods

Inherited From Zend_Search_Lucene_Analysis_Analyzer

> Zend_Search_Lucene_Analysis_Analyzer::getDefault()
> Zend_Search_Lucene_Analysis_Analyzer::nextToken()
> Zend_Search_Lucene_Analysis_Analyzer::reset()
> Zend_Search_Lucene_Analysis_Analyzer::setDefault()
> Zend_Search_Lucene_Analysis_Analyzer::setInput()
> Zend_Search_Lucene_Analysis_Analyzer::tokenize()

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