org.opencms.search
Class CmsSearchAnalyzer

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

public class CmsSearchAnalyzer
extends java.lang.Object
implements java.lang.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
 java.lang.String getClassName()
          Returns the className.
 java.lang.String getLocale()
          Returns the locale.
 java.lang.String getStemmerAlgorithm()
          Returns the stemmer algorithm.
 void setClassName(java.lang.String className)
          Sets the class name.
 void setLocale(java.lang.String locale)
          Sets the locale.
 void setStemmerAlgorithm(java.lang.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 java.lang.String getClassName()
Returns the className.

Returns:
the className

getLocale

public java.lang.String getLocale()
Returns the locale.

Returns:
the locale

getStemmerAlgorithm

public java.lang.String getStemmerAlgorithm()
Returns the stemmer algorithm.

Returns:
the stemmer algorithm

setClassName

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

Parameters:
className - the class name

setLocale

public void setLocale(java.lang.String locale)
Sets the locale.

Parameters:
locale - the locale

setStemmerAlgorithm

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

Parameters:
stemmerAlgorithm - the stemmer algorithm