Class 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 57)


	
			
Direct descendents
Class Description
Zend_Search_Lucene_Analysis_Analyzer_Common Common implementation of the Zend_Search_Lucene_Analysis_Analyzer interface.
Method Summary
Methods
static method getDefault (line 92)

Return the default Analyzer implementation used by indexing code.

  • access: public
static method setDefault (line 81)

Set the default Analyzer implementation used by indexing code.

  • access: public
static void setDefault (Zend_Search_Lucene_Analysis_Analyzer $analyzer, Zend_Search_Lucene_Analysis_Analyzer $similarity)
tokenize (line 73)

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:

Documentation generated on Sun, 29 Oct 2006 21:26:59 -0600 by phpDocumentor 1.3.0RC6