API Documentation

Search/Lucene/Analysis/Analyzer/Common.php

Includes Constants Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Search_Lucene
subpackage
Analysis
version
$Id: Common.php 20096 2010-01-06 02:05:09Z bkarwin $
Constants
ZEND_SEARCH_LUCENE_COMMON_ANALYZER_PROCESSED
Classes
Zend_Search_Lucene_Analysis_Analyzer_Common

Description

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.

Constants

ZEND_SEARCH_LUCENE_COMMON_ANALYZER_PROCESSED

 ZEND_SEARCH_LUCENE_COMMON_ANALYZER_PROCESSED = 'true'

Details

value
true
todo
Section should be removed with ZF 2.0 release as obsolete

Zend_Search_Lucene_Analysis_Analyzer_Common

Extends from
Zend_Search_Lucene_Analysis_Analyzer
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Search_Lucene
subpackage
Analysis
todo
ZSearchHTMLAnalyzer and ZSearchXMLAnalyzer implementation
Properties
$_filters
Methods
addFilter
normalize

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.

Properties

$_filters

array $_filters = 'array'

The set of Token filters applied to the Token stream.

Array of Zend_Search_Lucene_Analysis_TokenFilter objects.

Details

$_filters
array
visibility
private
default
array
final
false
static
false

Methods

addFilter

addFilter( Zend_Search_Lucene_Analysis_TokenFilter $filter ) :

Add Token filter to the Analyzer

Arguments
$filter
Zend_Search_Lucene_Analysis_TokenFilter
Details
visibility
public
final
false
static
false

normalize

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.

Arguments
$token
Zend_Search_Lucene_Analysis_Token
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.