elasticsearch-analysis-ansj icon indicating copy to clipboard operation
elasticsearch-analysis-ansj copied to clipboard

Results 37 elasticsearch-analysis-ansj issues
Sort by recently updated
recently updated
newest added

目前新增自定义词库需要修改ansj.cfg.yml配置文件,并且重启,有没有方法可以动态添加自定义词库

Bumps [org.elasticsearch:elasticsearch](https://github.com/elastic/elasticsearch) from 8.11.3 to 8.14.0. Release notes Sourced from org.elasticsearch:elasticsearch's releases. Elasticsearch 8.14.0 Downloads: https://elastic.co/downloads/elasticsearch Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.14/release-notes-8.14.0.html Elasticsearch 8.13.4 Downloads: https://elastic.co/downloads/elasticsearch Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.13/release-notes-8.13.4.html Elasticsearch 8.13.3 Downloads: https://elastic.co/downloads/elasticsearch...

dependencies

``` dic: file:///usr/share/elasticsearch/plugins/elasticsearch-analysis-ansj/default.dic dic_d1: file:///usr/share/elasticsearch/config/elasticsearch-analysis-ansj/dict/main.dic ``` 启动不报错,但是 dic_d1测试没有被加载

特殊符号(减号)会跟后面的词粘连到一起,导致搜索减号后面的词,无法匹配: GET /_cat/ansj?text=狗狗系列-柴犬积木&type=index_ansj { "name": "-柴", "nature": "nrf", "offe": 4, "realName": "-柴", "synonyms": null }, GET /_cat/ansj?text=狗狗系列-哈士奇犬&type=index_ansj { "name": "-哈士奇", "nature": "nrf", "offe": 4, "realName": "-哈士奇", "synonyms": null }, 这样的话,如果搜索“柴犬”、“哈士奇”,就不能命中上面的句子。...

我在 ./elasticsearch-analysis-ansj/ansj.cfg.yml 中添加了: stop: file:///etc/elasticsearch/stopwords.txt 然后重启es了,为什么没用? GET /_cat/ansj?text=狗狗的系列-哈士奇犬&type=index_ansj 分词结果还是有停用词

现在的发布都是源码,不发release了吗?

elasticsearch-analysis-ansj有微信群吗?可以方便讨论问题