0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

solr が ICUFoldingFilterFactory を見つけられない場合にすること

Last updated at Posted at 2014-10-31
  1. 環境
    --
  • Solr 3.6.2
  1. 問題
    --
    ICUFoldingFilterFactory を使用したいために、instanceDir/conf/solrconfig.xml に以下の jar ファイルを追加した。
solrconfig.xml
<lib path="../../../contrib/analysis-extras/lib/icu4j-4.8.1.1.jar" />
<lib path="../../../contrib/analysis-extras/lucene-libs/lucene-icu-3.6.2.jar" />

しかし、改善しなかった。相対 PATH も間違っていないし、理由がわからなかった。

  1. 対応
    --
  • apache-solr-analysis-extras-3.6.2.jar を追加する
solrconfig.xml
<lib path="../../../dist/apache-solr-analysis-extras-3.6.2.jar" />
<lib path="../../../contrib/analysis-extras/lib/icu4j-4.8.1.1.jar" />
<lib path="../../../contrib/analysis-extras/lucene-libs/lucene-icu-3.6.2.jar" />

StackOverFlow に助けられた。
http://stackoverflow.com/questions/12377878/solr-cannot-find-icufoldingfilter-in-contrib-directory

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?