Comments (7)
目前的热更新,是通过Redis Pub/Sub实现的
from elasticsearch-analysis-ansj.
这个即将支持,目前还在测试版本中..会在5.1.0中出现...感谢你的提议
from elasticsearch-analysis-ansj.
这样的话,es集群就可以共用同一个分词库了,不需要把分词库文件拷贝到每一个集群节点下面,不用拷贝文件就可以自动更新分词库,实现集中式管理分词库
from elasticsearch-analysis-ansj.
这个现在已经支持了,访问接口/_ansj/flush/dic
from elasticsearch-analysis-ansj.
我的插件2.3.3 es也是2.3.3 我访问http://127.0.0.1:9200/_ansj/flush/dic
es报错是没有索引:
{
error: {
root_cause: [
{
type: "index_not_found_exception",
reason: "no such index",
resource.type: "index_expression",
resource.id: "_ansj",
index: "_ansj"
}
],
type: "index_not_found_exception",
reason: "no such index",
resource.type: "index_expression",
resource.id: "_ansj",
index: "_ansj"
},
status: 404
}
麻烦帮忙看下 谢谢
from elasticsearch-analysis-ansj.
不好意思哈,2.4.2或5.2.0以上才支持刷新接口的哦
from elasticsearch-analysis-ansj.
@shi-yuan 非常感谢!
from elasticsearch-analysis-ansj.
Related Issues (20)
- 7.6.2.0版本 HOT 11
- ansj.cfg.yml HOT 2
- 配置中文停用词不生效 HOT 1
- 如何实现短语屏蔽功能 HOT 6
- 2.4.5版本中flush/dic接口奇怪现象 HOT 9
- 除修改config/ansj.cfg.yml添加自定义词典,还有其他方式添加自定义词典吗? HOT 8
- 怎么在插件中加载自己训练的crf模型 HOT 1
- 使用自定义停用词库后报错 HOT 1
- 请问后续能支持8.4.1版本吗?8.3.3版本安装不上 HOT 4
- 8.3.3版本的包各种报错 HOT 1
- 7.10.x版本支持 HOT 1
- 7.17.9版本支持 HOT 2
- 8.7.0版本配置完自定义词典后,分词报error HOT 2
- 如何热更新词语 HOT 1
- 8.7.1版本 _analyze 报错 HOT 2
- es8.8.2配置分词不生效 HOT 1
- 8.11.3版本mvn构建出错(类文件具有错误的版本 55.0, 应为 52.0) HOT 1
- index模式(type=index_ansj)不符合预期 HOT 1
- 希望提供8.13.2版本 HOT 1
- 如何动态配置自定义词库
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticsearch-analysis-ansj.