Search/Lucene/Analysis/Analyzer/Common/Utf8Num/CaseInsensitive.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 [email protected] 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: CaseInsensitive.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8Num_CaseInsensitive

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_Common_Utf8Num < \Zend_Search_Lucene_Analysis_Analyzer_Common < \Zend_Search_Lucene_Analysis_Analyzer
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprivateinteger $_bytePosition =
inherited

Current binary position in an UTF-8 stream

Inherited from: \Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8Num::$$_bytePosition
Propertyprivatearray $_filters = array()
inherited

The set of Token filters applied to the Token stream.

Inherited from: \Zend_Search_Lucene_Analysis_Analyzer_Common::$$_filters\Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8Num::$$_filters

Array of Zend_Search_Lucene_Analysis_TokenFilter objects.

Default valuearray()Details
Type
array
Inherited_from
\Zend_Search_Lucene_Analysis_Analyzer_Common::$$_filters  
Inherited_from
\Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8Num::$$_filters  
Propertyprivateinteger $_position =
inherited

Current char position in an UTF-8 stream

Inherited from: \Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8Num::$$_position

Methods

methodpublic__construct() : void

Object constructor

Throws
Exception Description
\Zend_Search_Lucene_Exception
methodpublicnextToken() : \Zend_Search_Lucene_Analysis_Token | null
inherited

Tokenization stream API Get next token Returns null at the end of stream

Inherited from: \Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8Num::nextToken()

Tokens are returned in UTF-8 (internal Zend_Search_Lucene encoding)

Returns
Type Description
\Zend_Search_Lucene_Analysis_Token | null
methodpublicnormalize(\Zend_Search_Lucene_Analysis_Token $token) : \Zend_Search_Lucene_Analysis_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
methodpublicreset() : void
inherited

Reset token stream

Inherited from: \Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8Num::reset()
methodpublicsetDefault( $analyzer) : void
Parameters
Name Type Description
$analyzer
methodpublicsetInput(string $data,  $encoding = '') : void
Parameters
Name Type Description
$data string
$encoding
methodpublictokenize(string $data,  $encoding = '') : array

Tokens are returned in UTF-8 (internal Zend_Search_Lucene encoding)

Parameters
Name Type Description
$data string
$encoding
Returns
Type Description
array
Documentation was generated by phpDocumentor 2.0.0a8.