org.opencms.search
Class CmsSearchAnalyzer

java.lang.Object
  extended by org.opencms.search.CmsSearchAnalyzer
All Implemented Interfaces:
Cloneable

public class CmsSearchAnalyzer
extends Object
implements Cloneable

An analyzer class is used by Lucene to reduce the content to be indexed with trimmed endings etc.

Since:
6.0.0
Version:
$Revision: 1.9 $
Author:
Thomas Weckert

Constructor Summary
CmsSearchAnalyzer()
           
 
Method Summary
 String getClassName()
          Returns the className.
 String getLocale()
          Returns the locale.
 String getStemmerAlgorithm()
          Returns the stemmer algorithm.
 void setClassName(String className)
          Sets the class name.
 void setLocale(String locale)
          Sets the locale.
 void setStemmerAlgorithm(String stemmerAlgorithm)
          Sets the stemmer algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsSearchAnalyzer

public CmsSearchAnalyzer()
Method Detail

getClassName

public String getClassName()
Returns the className.

Returns:
the className

getLocale

public String getLocale()
Returns the locale.

Returns:
the locale

getStemmerAlgorithm

public String getStemmerAlgorithm()
Returns the stemmer algorithm.

Returns:
the stemmer algorithm

setClassName

public void setClassName(String className)
Sets the class name.

Parameters:
className - the class name

setLocale

public void setLocale(String locale)
Sets the locale.

Parameters:
locale - the locale

setStemmerAlgorithm

public void setStemmerAlgorithm(String stemmerAlgorithm)
Sets the stemmer algorithm.

Parameters:
stemmerAlgorithm - the stemmer algorithm