Package org.opencms.search
Class CmsSearchAnalyzer
java.lang.Object
org.opencms.search.CmsSearchAnalyzer
An analyzer class is used by Lucene to reduce the content to be indexed
with trimmed endings etc.
- Since:
- 6.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the className.Returns the locale.Returns the locale as a String.void
setClassName
(String className) Sets the class name.void
Sets the locale.void
setLocaleString
(String locale) Sets the locale as a String.
-
Constructor Details
-
CmsSearchAnalyzer
public CmsSearchAnalyzer()
-
-
Method Details
-
getClassName
Returns the className.- Returns:
- the className
-
getLocale
Returns the locale.- Returns:
- the locale
-
getLocaleString
Returns the locale as a String.- Returns:
- the locale as a String
- See Also:
-
setClassName
Sets the class name.- Parameters:
className
- the class name
-
setLocale
Sets the locale.- Parameters:
locale
- the locale
-
setLocaleString
Sets the locale as a String.- Parameters:
locale
- the locale- See Also:
-