## Zend_Search_Lucene_Analysis_Analyzer

Description

An Analyzer is used to analyze text.

It thus represents a policy for extracting index terms from text.

Note: Lucene Java implementation is oriented to streams. It provides effective work with a huge documents (more then 20Mb). But engine itself is not oriented such documents. Thus Zend_Search_Lucene analysis API works with data strings and sets (arrays).

- abstract:
- license: New BSD License
- copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

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

Direct descendents

Class | Description
--- | ---
Zend_Search_Lucene_Analysis_Analyzer_Common | Common implementation of the Zend_Search_Lucene_Analysis_Analyzer interface.

Method Summary
static Zend_Search_Lucene_Analysis_Analyzer getDefault ()
static void setDefault (Zend_Search_Lucene_Analysis_Analyzer $analyzer, Zend_Search_Lucene_Analysis_Analyzer $similarity)
array tokenize (string $data)
Methods
static getDefault (line 86)

Return the default Analyzer implementation used by indexing code.

- access: public

Zend_Search_Lucene_Analysis_Analyzer getDefault ()
static setDefault (line 75)

Set the default Analyzer implementation used by indexing code.

- access: public

void setDefault (Zend_Search_Lucene_Analysis_Analyzer $analyzer, Zend_Search_Lucene_Analysis_Analyzer $similarity)

- Zend_Search_Lucene_Analysis_Analyzer $similarity
- Zend_Search_Lucene_Analysis_Analyzer $analyzer

tokenize (line 67)

Tokenize text to a terms Returns array of Zend_Search_Lucene_Analysis_Token objects

- access: public
- abstract:

array tokenize (string $data)

- string $data

Redefined in descendants as:

- Zend_Search_Lucene_Analysis_Analyzer_Common_Text::tokenize() : Tokenize text to a terms Returns array of Zend_Search_Lucene_Analysis_Token objects

Documentation generated on Tue, 11 Jul 2006 12:16:31 -0500 by phpDocumentor 1.3.0RC6