2014-01-22 19 views
4

我正在將Solr實例從4.0更新到4.6並且遇到了一些問題。我對Java並不熟悉。錯誤加載類solr.ICUCollat​​ionKeyFilterFactory

如何找到具有ICUCollationKeyFilterFactory類的jar文件?有沒有一個網站來搜索課程,你需要什麼罐子?

在Tomcat 7.更新Solr的4.0至4.6

test: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: 
Plugin init failure for [schema.xml] fieldType "icu_sort_string": 
Plugin init failure for [schema.xml] analyzer/filter: 
Error loading class 'solr.ICUCollationKeyFilterFactory'. 
Schema file is /Users/chall/solr/solr-4.6.0/multicore/test/schema.xml 

回答

1

不知道什麼是要找到它的最佳方式,但尋找一個簡單的查找「ICU」(或類似的OS上視)會給你這個:

lucene-4.6.0\analysis\icu\lucene-analyzers-icu-4.6.0.jar 

如果你偷看裏面的罐子(就像一個拉鍊),你可以在那裏找到類。