code: public static synchronized LuceneIndexer getInstance(String lucDirPath)
      {
          // super(analyzer);
          if (indexer == null && lucDirPath != null)
          {
              indexer = new LuceneIndexer(lucDirPath);
  
          }
          return indexer;
      }
docs: Gets the single instance of LuceneIndexer.
  
  @param analyzer
  the analyzer
  @param lucDirPath
  the luc dir path
  @return single instance of LuceneIndexer