Comments (8)
可以写ESTestCase,进行测试
from elasticsearch-analysis-ansj.
可以看看Testing
from elasticsearch-analysis-ansj.
IDE用intellij ,现在是把es和ansj插件都下载下来,es可以单独启动,ansj插件不知道怎么放到es里,按maven模块做了依赖,也是没起来,提示es依赖的jar找不到类,劳烦指导下
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser
from elasticsearch-analysis-ansj.
您是用intellij直接run的elasticsearch,没起来,报的这个错吗?
from elasticsearch-analysis-ansj.
嗯,把插件做为子模块了,我把代码都拷到es里直接运行,现在可以了。
ps:我是想实现分词的时候每个用户都用自己的用户字典进行分词,看插件代码没找到入口,这个是需要改es源码(索引和查询的时候),还是ansj插件这块就可解决呢?
from elasticsearch-analysis-ansj.
同问
发自我的 iPhone
在 2016年11月23日,14:13,kaka [email protected] 写道:
嗯,把插件做为子模块了,我把代码都拷到es里直接运行,现在可以了。
ps:我是想实现分词的时候每个用户都用自己的用户字典进行分词,看插件代码没找到入口,这个是需要改es源码,还是ansj插件这块就可解决呢?—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
from elasticsearch-analysis-ansj.
每个用户都用自己的用户字典进行分词,意思是配置不同分析器,每个分词器加载自己的词典吗?
目前,插件配置的词典是全局生效的,暂不支持配置不同分析器,每个分词器加载自己的词典
from elasticsearch-analysis-ansj.
这个需求也是咱们的需求之一!
所以要做 思考题! 不难
发自我的 iPhone
在 2016年11月23日,22:15,shiyuan [email protected] 写道:
每个用户都用自己的用户字典进行分词,意思是配置不同分析器,每个分词器加载自己的词典吗?
目前,插件配置的词典是全局生效的,暂不支持配置不同分析器,每个分词器加载自己的词典
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
from elasticsearch-analysis-ansj.
Related Issues (20)
- elasticsearch6.4.0如何配置mysql方式的热加载词典 HOT 3
- 7.8 ansj 插件的实现是不是有点过时了
- 配置自定义字典为jdbc方式,启动elasticsearch后报错 HOT 5
- 配置自定义词典都没有成功是什么原因 HOT 1
- 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
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.