code: public void setAnalyzer(String analyzerClassName)
     {
        try
        {
           Class<?> analyzerClass = ClassLoading.forName(analyzerClassName, this);
           analyzer.setDefaultAnalyzer((Analyzer)analyzerClass.newInstance());
        }
        catch (ClassNotFoundException e)
        {
           log.warn("Invalid Analyzer class: " + analyzerClassName, e);
        }
        catch (InstantiationException e)
        {
           log.warn("Invalid Analyzer class: " + analyzerClassName, e);
        }
        catch (IllegalAccessException e)
        {
           log.warn("Invalid Analyzer class: " + analyzerClassName, e);
        }
     }
docs: Sets the analyzer in use for indexing. The given analyzer class name must
  satisfy the following conditions:
  <ul>
  <li>the class must exist in the class path</li>
  <li>the class must have a public default constructor</li>
  <li>the class must be a Lucene Analyzer</li>
  </ul>
  <p>
  If the above conditions are met, then a new instance of the class is set
  as the analyzer. Otherwise a warning is logged and the current analyzer
  is not changed.
  <p>
  This property setter method is normally invoked by the Jackrabbit
  configuration mechanism if the "analyzer" parameter is set in the search
  configuration.
  
  @param analyzerClassName
  the analyzer class name