Java 类org.apache.lucene.analysis.cn.ChineseAnalyzer 实例源码

项目:CadalWorkspace    文件:IndexBuilder.java   
public IndexBuilder() {
    try{
        this.indexDir = FSDirectory.open(new File(this.catalogDir));
        this.analyzer = new ChineseAnalyzer();
    }catch(Exception e) {
        e.printStackTrace();
    }
}