Update README.md
This commit is contained in:
parent
ae832800dd
commit
f59cb0786f
|
@ -21,8 +21,8 @@ ik-analyzer for solr7.x
|
|||
</li>
|
||||
<li>
|
||||
<p>3. 配置solr的managed-schema,添加ik分词器,示例如下;</p>
|
||||
<div class="content">
|
||||
<!-- ik分词器 -->
|
||||
<pre>
|
||||
<!-- ik分词器 -->
|
||||
<fieldType name="text_ik" class="solr.TextField">
|
||||
<analyzer type="index">
|
||||
<tokenizer class="org.wltea.analyzer.lucene.IKTokenizerFactory" isMaxWordLength="false" useSmart="false"
|
||||
|
@ -35,7 +35,7 @@ ik-analyzer for solr7.x
|
|||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
</div>
|
||||
</pre>
|
||||
</li>
|
||||
<li>
|
||||
<p>4. 启动solr服务测试分词;</p>
|
||||
|
|
Loading…
Reference in New Issue