Comments (3)
ES有自己的security规则,单纯的给相关文件权限还不够,需要设置es的权限:
1,增加security.policy增加对jcseg需要访问的文件的授权,例如:https://gitee.com/lionsoul/elasticsearch-jcseg/blob/master/security.policy
2,然后在config/jvm.options中增加对新增加的security.policy的导入:
# Define the security policy
-Djava.security.policy=security.policy
具体例子可以参考下:https://gitee.com/lionsoul/elasticsearch-jcseg
from jcseg.
这边得到的之前的一些用户的反馈是,集群情况下,这样配置偶尔也会抛个异常,具体和版本有关,你可以试下。
最终解决方案就是把相关的资源全部打包到jar里面去,这样就完全没有权限问题了。
from jcseg.
最新的master分之,通过es的安全的path方式访问资源了,无需再设置security.policy也不会存在权限问题了。
from jcseg.
Related Issues (20)
- 结合ES使用时词典更新问题 HOT 3
- hi 我现在使用es 6.2.2,使用jcseg的插件数组字段分词的时候会有问题 HOT 16
- 同义词或是中文数字转阿拉伯数字的问题 HOT 10
- 如何不对切分结果进行小写字母的转换? HOT 1
- **仓库无法下载2.3.0版本 HOT 2
- 关于ILexicon.CJK_WORD类型的疑问 HOT 1
- 怎么识别文中的人名 HOT 3
- Missing jcseg pom for 2.3.0 in central repository HOT 2
- 本机的外网网址为什么不支持 HOT 3
- BUILD FAILED 2.4.0 HOT 3
- jcseg-server内存占用 HOT 1
- 一类英文分词错误的问题 HOT 2
- 2.4.1版本 match_phrase 查询查不到结果 HOT 4
- 请问词库的文件格式有什么要求吗? HOT 1
- 请问最多分词这个功能支持了吗 HOT 1
- 请问如何识别身份证呢 HOT 1
- 多语言支持
- DETECT模式下的setEnWordSeg(false)似乎不生效 HOT 3
- solr 9.0+ 有计划后续支持吗?
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 jcseg.