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.
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.

addFilter(
\Zend_Search_Lucene_Analysis_TokenFilter $filter
)
:
void
Add Token filter to the Analyzer
Name | Type | Description |
---|---|---|
$filter | \Zend_Search_Lucene_Analysis_TokenFilter |

normalize(
\Zend_Search_Lucene_Analysis_Token $token
)
:
\Zend_Search_Lucene_Analysis_Token
Apply filters to the token. Can return null when the token was removed.
Name | Type | Description |
---|---|---|
$token | \Zend_Search_Lucene_Analysis_Token |
Type | Description |
---|---|
\Zend_Search_Lucene_Analysis_Token |