Can not use ICUTokenizerFactory in Solr

后端 未结 2 908
我寻月下人不归
我寻月下人不归 2021-01-03 07:32

I am trying to use ICUTokenizerFactory in Solr schema. This is how I have defined field and fieldType.



        
2条回答
  •  隐瞒了意图╮
    2021-01-03 08:16

    Add this at the top of your solrconfig.xml:

    
      
      
    

    This assumes that you are running from example directory with solr.solr.home set to your instance. Otherwise, just use absolute path to your Solr installation.

    You can also copy all those jars into lib directory (under your core, not solr home). But the above is an easier way.

提交回复
热议问题