public IndexBuilder() { try{ this.indexDir = FSDirectory.open(new File(this.catalogDir)); this.analyzer = new ChineseAnalyzer(); }catch(Exception e) { e.printStackTrace(); } }