Abstract Class ZSearchAnalyzer

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 ZSearch analysis API works with data strings and sets (arrays).

Located in /incubator/Zend/Search/Lucene/analysis/ZSearchAnalyzer.php (line 49)


	
			
Direct descendents
Class Description
Abstract class ZSearchCommonAnalyzer Common implementation of the ZSearchAnalyzer interface.
Method Summary
 void setDefault (ZSearchAnalyzer $analyzer, ZSearchAnalyzer $similarity)
 array tokenize (string $data)
Methods
getDefault (line 84)

Return the default Analyzer implementation used by indexing code.

  • access: public
  • static:
ZSearchAnalyzer getDefault ()
setDefault (line 73)

Set the default Analyzer implementation used by indexing code.

  • access: public
  • static:
void setDefault (ZSearchAnalyzer $analyzer, ZSearchAnalyzer $similarity)
tokenize (line 65)

Tokenize text to a terms Returns array of ZSearchToken objects

  • access: public
  • abstract:
array tokenize (string $data)
  • string $data

Redefined in descendants as:

Documentation generated on Wed, 08 Mar 2006 04:56:32 -0800 by phpDocumentor 1.3.0RC4