Class Zend_Search_Lucene_Analysis_TokenFilter_ShortWords

Description

Token filter that removes short words. What is short word can be configured with constructor.

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

Located in /Zend/Search/Lucene/Analysis/TokenFilter/ShortWords.php (line 37)

Zend_Search_Lucene_Analysis_TokenFilter
   |
   --Zend_Search_Lucene_Analysis_TokenFilter_ShortWords
Method Summary
 Zend_Search_Lucene_Analysis_TokenFilter_ShortWords __construct ([ $length = 2], integer $short)
Methods
Constructor __construct (line 50)

Constructs new instance of this filter.

  • access: public
Zend_Search_Lucene_Analysis_TokenFilter_ShortWords __construct ([ $length = 2], integer $short)
  • integer $short: minimum allowed length of term which passes this filter (default 2)
  • $length
normalize (line 60)

Normalize Token or remove it (if null is returned)

  • access: public

Redefinition of:
Zend_Search_Lucene_Analysis_TokenFilter::normalize()
Normalize Token or remove it (if null is returned)

Inherited Methods

Inherited From Zend_Search_Lucene_Analysis_TokenFilter

 Zend_Search_Lucene_Analysis_TokenFilter::normalize()

Documentation generated on Thu, 18 Jan 2007 09:59:15 -0800 by phpDocumentor 1.3.1