Comments (12)
1.4加入了远程加载字典功能,依赖httpclient包,需要拷贝httpclient-{version}.jar,httpcore-{version}.jar和common-logging.jar到elasticsearch下面的lib目录里面。
另外,还要在elasticsearch/config/ik/IKAnalyzer.cfg.xml中配置远程地址,如果不需要,可以注释掉。就可以正常启动了
from elasticsearch-analysis-ik.
注释掉还是这样。不过release里的zip解开是可以用的。
-rw-r--r-- 1 root root 232771 Dec 17 15:36 commons-codec-1.6.jar
-rw-r--r-- 1 root root 62050 Nov 20 10:09 commons-logging-1.1.3.jar
-rw-r--r-- 1 root root 62450 Dec 17 16:10 elasticsearch-analysis-ik-1.2.9.jar
-rw-r--r-- 1 root root 590533 Dec 17 15:36 httpclient-4.3.5.jar
-rw-r--r-- 1 root root 282269 Dec 17 15:36 httpcore-4.3.2.jar
from elasticsearch-analysis-ik.
楼上正解,请maven package之后使用release下面的包
from elasticsearch-analysis-ik.
不过注释远程路径之后仍然会执行httpclient,可能是个小bug
from elasticsearch-analysis-ik.
恩,需要fix一下
from elasticsearch-analysis-ik.
请问一下,这个里面是怎么配置的?这里面全是注释掉的代码,我在最下边加入代码以后,启动的时候报错。求解
from elasticsearch-analysis-ik.
from elasticsearch-analysis-ik.
@znketophawk 不用改任何配置的
from elasticsearch-analysis-ik.
但是我自己定义完分词库以后,好像没有什么效果。。。。。蒙了,方便 QQ联系么?
from elasticsearch-analysis-ik.
@znketophawk 需要重建数据哦,
QQ群:190605846 和 论坛http://elasticsearch.cn
from elasticsearch-analysis-ik.
D:\My Tools\ElasticSearch\elasticsearch-2.1.1\bin>elasticsearch.bat
[2016-10-28 15:21:39,398][WARN ][bootstrap ] unable to install syscall filter: syscall filtering not supported for OS: 'Windows 8.1'
[2016-10-28 15:21:39,866][INFO ][node ] [Silverclaw] version[2.1.1], pid[3464], build[40e2c53/2015-12-15T13:05:55Z]
[2016-10-28 15:21:39,866][INFO ][node ] [Silverclaw] initializing ...
[2016-10-28 15:21:40,382][INFO ][plugins ] [Silverclaw] loaded [elasticsearch-analysis-ik], sites [head]
[2016-10-28 15:21:40,414][INFO ][env ] [Silverclaw] using [1] data paths, mounts [[(D:)]], net usable_space [203.4gb], net total_space [376.8gb], spins? [unknown], types [NTFS]
Exception in thread "main" java.security.AccessControlException: access denied ("java.io.FilePermission" "D:\My%20Tools\ElasticSearch\elasticsearch-2.1.1\plugins\ik\config\ik\IKAnalyzer.cfg.xml" "read")
参考elasticsearch-analysis-ik安装说明安装,在启动es时报错.win10系统, ik1.7.0, elasticsearch-2.1.1.求解
from elasticsearch-analysis-ik.
@qq4628241 路径不能包含空格
from elasticsearch-analysis-ik.
Related Issues (20)
- 建议查询功能实现
- 求8.12版本的ik HOT 2
- 8.11.2为啥没有编译好的zip呀? HOT 1
- 中文简繁体同时存在时的检索 HOT 3
- 希望适配7.17.18 HOT 1
- ES8.9.2,没有对应的release版本 HOT 2
- 英文数词被标记为 CN_WORD HOT 3
- 缺少opensearch以往版本的ik分词器 HOT 4
- https://release.infinilabs.com/analysis-ik/stable/ 里 ik只有opensearch版本,没有 HOT 2
- 如何修改 analysis-ik 支持的 Elasticsearch版本号? HOT 4
- 希望提供8.13.2、7.17.19版本插件 HOT 2
- 希望提供 7.17.17 版本插件 HOT 1
- 为什么加入ik分词器后,kibana无法进行启动(版本都是与es对应的) HOT 4
- 希望提供 OpenSearch 2.13.0 版本插件 HOT 1
- 求7.17.20版本的ik HOT 2
- 希望提供V8.13.2版本
- 希望提供v7.17.20版本插件 HOT 1
- ik无法按照main.dic字典分词,比如创立,已经在词典了,但ik_smart的时候分不出来 HOT 1
- failed to find global analyzer [ik_smart] HOT 1
- OpenSearch 2.14.0 构建 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-ik.