public static synchronized LuceneIndexer getInstance ( String lucDirPath ) { // super(analyzer); if ( indexer == null && lucDirPath != null ) { indexer = new LuceneIndexer ( lucDirPath ) ; } return indexer ; }
Gets the single instance of LuceneIndexer .