更新README.md;

This commit is contained in:
gaozhicheng 2020-12-30 11:42:31 +08:00
parent 8b04070253
commit 9b731bb002
2 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@
``` ```
4. 配置Solr的`managed-schema`,添加`ik分词器`,示例如下; 4. 配置Solr的`managed-schema`,添加`ik分词器`,示例如下;
```console ```xml
<!-- ik分词器 --> <!-- ik分词器 -->
<fieldType name="text_ik" class="solr.TextField"> <fieldType name="text_ik" class="solr.TextField">
<analyzer type="index"> <analyzer type="index">

View File

@ -34,7 +34,7 @@ ik-analyzer for solr 7.x-8.x
* jar包下载地址[![GitHub version](https://img.shields.io/badge/version-8.3.1-519dd9.svg)](https://search.maven.org/remotecontent?filepath=com/github/magese/ik-analyzer/8.3.1/ik-analyzer-8.3.1.jar) * jar包下载地址[![GitHub version](https://img.shields.io/badge/version-8.3.1-519dd9.svg)](https://search.maven.org/remotecontent?filepath=com/github/magese/ik-analyzer/8.3.1/ik-analyzer-8.3.1.jar)
* 历史版本:[![GitHub version](https://img.shields.io/maven-central/v/com.github.magese/ik-analyzer.svg?style=flat-square)](https://search.maven.org/search?q=g:com.github.magese%20AND%20a:ik-analyzer&core=gav) * 历史版本:[![GitHub version](https://img.shields.io/maven-central/v/com.github.magese/ik-analyzer.svg?style=flat-square)](https://search.maven.org/search?q=g:com.github.magese%20AND%20a:ik-analyzer&core=gav)
```console ```xml
<!-- Maven仓库地址 --> <!-- Maven仓库地址 -->
<dependency> <dependency>
<groupId>com.github.magese</groupId> <groupId>com.github.magese</groupId>
@ -59,7 +59,7 @@ ik-analyzer for solr 7.x-8.x
``` ```
3. 配置Solr的`managed-schema`,添加`ik分词器`,示例如下; 3. 配置Solr的`managed-schema`,添加`ik分词器`,示例如下;
```console ```xml
<!-- ik分词器 --> <!-- ik分词器 -->
<fieldType name="text_ik" class="solr.TextField"> <fieldType name="text_ik" class="solr.TextField">
<analyzer type="index"> <analyzer type="index">
@ -86,7 +86,7 @@ ik-analyzer for solr 7.x-8.x
| ext_stopwords | String | 停用词典文件名称,多个用分号隔开 | stopword.dic; | | ext_stopwords | String | 停用词典文件名称,多个用分号隔开 | stopword.dic; |
6. `ik.conf`文件说明: 6. `ik.conf`文件说明:
```console ```properties
files=dynamicdic.txt files=dynamicdic.txt
lastupdate=0 lastupdate=0
``` ```