API Documentation

Zend/Search/Lucene/Analysis/Analyzer/Common.php

Show: inherited
Table of Contents

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.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Search_Lucene  
Subpackage
Analysis  
Version
$Id: Common.php 24594 2012-01-05 21:27:01Z matthew $  

Constants

Constant  ZEND_SEARCH_LUCENE_COMMON_ANALYZER_PROCESSED = true

Todo
Section should be removed with ZF 2.0 release as obsolete  

\Zend_Search_Lucene_Analysis_Analyzer_Common

Package: Zend\Search\Lucene\Analysis

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.

Parent(s)
\Zend_Search_Lucene_Analysis_Analyzer
Children
\Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8Num
\Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum
\Zend_Search_Lucene_Analysis_Analyzer_Common_Text
\Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Todo
ZSearchHTMLAnalyzer and ZSearchXMLAnalyzer implementation  

Properties

Propertyprivatearray  $_filters= 'array()'

The set of Token filters applied to the Token stream.

Array of Zend_Search_Lucene_Analysis_TokenFilter objects.

Default valuearray()Details
Type
array

Methods

methodpublicaddFilter( \Zend_Search_Lucene_Analysis_TokenFilter $filter ) : void

Add Token filter to the Analyzer

Parameters
Name Type Description
$filter \Zend_Search_Lucene_Analysis_TokenFilter
methodpublicnormalize( \Zend_Search_Lucene_Analysis_Token $token ) : \Zend_Search_Lucene_Analysis_Token

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

Parameters
Name Type Description
$token \Zend_Search_Lucene_Analysis_Token
Returns
Type Description
\Zend_Search_Lucene_Analysis_Token
Documentation was generated by DocBlox 0.15.1.