Class CmsSearchAnalyzer


  • public class CmsSearchAnalyzer
    extends java.lang.Object
    An analyzer class is used by Lucene to reduce the content to be indexed with trimmed endings etc.

    Since:
    6.0.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getClassName()
      Returns the className.
      java.util.Locale getLocale()
      Returns the locale.
      java.lang.String getLocaleString()
      Returns the locale as a String.
      void setClassName​(java.lang.String className)
      Sets the class name.
      void setLocale​(java.util.Locale locale)
      Sets the locale.
      void setLocaleString​(java.lang.String locale)
      Sets the locale as a String.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getClassName

        public java.lang.String getClassName()
        Returns the className.

        Returns:
        the className
      • getLocale

        public java.util.Locale getLocale()
        Returns the locale.

        Returns:
        the locale
      • getLocaleString

        public java.lang.String getLocaleString()
        Returns the locale as a String.

        Returns:
        the locale as a String
        See Also:
        getLocale()
      • setClassName

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

        Parameters:
        className - the class name
      • setLocale

        public void setLocale​(java.util.Locale locale)
        Sets the locale.

        Parameters:
        locale - the locale
      • setLocaleString

        public void setLocaleString​(java.lang.String locale)
        Sets the locale as a String.

        Parameters:
        locale - the locale
        See Also:
        setLocale(Locale)