## 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)
Zend_Search_Lucene_Analysis_Token normalize (Zend_Search_Lucene_Analysis_Token $srcToken)
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

Zend_Search_Lucene_Analysis_Token normalize (Zend_Search_Lucene_Analysis_Token $srcToken)

- Zend_Search_Lucene_Analysis_Token $srcToken

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 Wed, 21 Feb 2007 11:59:50 -0800 by phpDocumentor 1.3.1