Update README.md

This commit is contained in:
Magese 2018-05-10 14:40:13 +08:00 committed by GitHub
parent ae832800dd
commit f59cb0786f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -21,8 +21,8 @@ ik-analyzer for solr7.x
</li>
<li>
<p>3. 配置solr的managed-schema添加ik分词器示例如下</p>
<div class="content">
&lt;!-- ik分词器 --&gt;
       <pre>
       &lt;!-- ik分词器 --&gt;
&lt;fieldType name="text_ik" class="solr.TextField"&gt;
&lt;analyzer type="index"&gt;
&lt;tokenizer class="org.wltea.analyzer.lucene.IKTokenizerFactory" isMaxWordLength="false" useSmart="false"
@ -35,7 +35,7 @@ ik-analyzer for solr7.x
&lt;filter class="solr.LowerCaseFilterFactory"/&gt;
&lt;/analyzer&gt;
&lt;/fieldType&gt;
</div>
</pre>
</li>
<li>
<p>4. 启动solr服务测试分词</p>