【solr】添加分词器ik-analyzer-solr
项目在此基础上:solr7.2.1+tomcat8.5.37+jdk8安装配置
github:https://github.com/magese/ik-analyzer-solr
历史版本下载地址:https://search.maven.org/search?q=g:com.github.magese%20AND%20a:ik-analyzer&core=gav
下载的jar包复制到
添加分词字段类型
<!-- 分词类型 --> <fieldType name="text_ik" class="solr.TextField"> <analyzer type="index"> <tokenizer class="org.wltea.analyzer.lucene.IKTokenizerFactory" conf="ik.conf" useSmart="false"/> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> <analyzer type="query"> <tokenizer class="org.wltea.analyzer.lucene.IKTokenizerFactory" conf="ik.conf" useSmart="false"/> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> </fieldType>
相关推荐
spylyt 2020-09-11
TyCoding 2020-01-08
江夏lz 2014-05-31
wsxsxz 2019-12-14
upxiaofeng 2020-06-11
TyCoding 2020-05-03
upxiaofeng 2020-04-30
TyCoding 2020-04-08
TyCoding 2020-03-26
wenchanter 2020-03-26
roygbip 2020-02-16
wsxsxz 2020-02-03
lionelf 2020-02-03
lionelf 2020-02-03
TyCoding 2020-02-01
heniancheng 2020-01-31
lionelf 2020-01-30