Solr4.7.1中配置中文分詞器

1、SmartChineseAnalyzer    (1)將lucene-analyzers-smartcn-4.7.1.jar添加到tomcat/webapps/solr/WEB-INF/lib文件中    (2)編輯solr主目錄中conf/schema.xml文件,在<types></types>之間添加如下定義:    (3)爲了測試,將schema.xml中<field name="au
相關文章
相關標籤/搜索