|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.search.CmsSearchAnalyzer
public class CmsSearchAnalyzer
An analyzer class is used by Lucene to reduce the content to be indexed with trimmed endings etc.
Constructor Summary | |
---|---|
CmsSearchAnalyzer()
|
Method Summary | |
---|---|
String |
getClassName()
Returns the className. |
Locale |
getLocale()
Returns the locale. |
String |
getLocaleString()
Returns the locale as a String. |
String |
getStemmerAlgorithm()
Returns the stemmer algorithm. |
void |
setClassName(String className)
Sets the class name. |
void |
setLocale(Locale locale)
Sets the locale. |
void |
setLocaleString(String locale)
Sets the locale as a String. |
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 |
---|
public CmsSearchAnalyzer()
Method Detail |
---|
public String getClassName()
public Locale getLocale()
public String getLocaleString()
getLocale()
public String getStemmerAlgorithm()
This is required only for the SnowBall analyzer, which is deprecated in Lucene and should not longer be used since all languages have special analyzers now.
public void setClassName(String className)
className
- the class namepublic void setLocale(Locale locale)
locale
- the localepublic void setLocaleString(String locale)
locale
- the localesetLocale(Locale)
public void setStemmerAlgorithm(String stemmerAlgorithm)
This is required only for the SnowBall analyzer, which is deprecated in Lucene and should not longer be used since all languages have special analyzers now.
stemmerAlgorithm
- the stemmer algorithm
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |