{"repo":"sing1ee/elasticsearch-jieba-plugin","free":true,"listed":false,"github":"https://github.com/sing1ee/elasticsearch-jieba-plugin","clone":"git clone https://github.com/sing1ee/elasticsearch-jieba-plugin.git","description":"jieba analysis plugin for elasticsearch","language":"Java","stars":538,"topics":["jieba","stopwords","elasticsearch","dict","elasticsearch-jieba-plugin"],"license":"MIT","category":"data-pipelines","readme_excerpt":"elasticsearch-jieba-plugin Jieba 中文分词 Elasticsearch 插件 更新日志 20251128 - 更新 ES 版本到 8.11.1 - 更新 Java 版本到 17 - 更新 jieba-analysis 依赖 20221201 - 新增 7.17.x 分支，支持 ES 7.17.0 - 新增 8.4.1 分支，支持 ES 8.4.1 --- 特点 - 支持动态添加字典，不重启 ES - 简单修改即可适配不同版本的 ES 快速开始 环境要求 组件 版本 ------ ------ Gradle 7.6 Java 17+ (需与目标 ES 版本兼容) Elasticsearch 8.11.1 (当前默认) 参考 ES 和 JDK 版本对应关系 克隆项目 构建打包 构建成功后，插件包位于： build/distributions/elasticsearch-jieba-plugin-{version}.zip 安装到 Elasticsearch 测试分词 --- 适配不同 ES 版本（完整教程） 如果需要适配其他版本的 Elasticsearch，按以下步骤操作： 第一步：确定版本信息 根据目标 ES 版本，查阅 ES 和 JDK 版本对应关系，确定需要的 Java 版本。 例如： ES 版本 推荐 Java 版本 --------- ---------------- 8.x 17, 21 7.17.x 11, 17 7.x 11 第二步：修改 build.gradle 修改以下三处： 第三步：修改 src/main/resources/plugin-descriptor.properties 第四步：确认 Java 环境 确保当前 Java 版本与配置一致。 第五步：构建 第六步：验证 构建成功后，检查生成的 zip 包： --- 常见问题 Gradle Wrapper 缺失 如果遇到 ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain ，执行： Java 版本不匹配 如果遇到 错误: 无效的源发行版 ，检查： 1. 系统 Java 版本： java -version 2. build.gradle 中的 sourceCompatibility 3. plugin-descriptor.properties 中的 java.version 确保三者一致。 --- 相关文档 - 支持动态添加字典，ES不需要重启 - jieba index 和 jieba search 的应用 - 简单修改适配不同版本 ES --- 版本对应 分支 tag elasticsearch版本 Release Link --- --- --- --- master - v8.11.1 从源码构建 7.7.0 tag v7.7.1 v7.7.0 Download: v7.7.0 7.4.2 tag v7.4.2 v7.4.2 Download: v7.4.2 7.3.0 tag v7.3.0 v7.3.0 Download: v7.3.0 7.0.0 tag v7.0.0 v7.0.0 Download: v7.0.0 6.4.0 tag v6.4.1 v6.4.0 Download: v6.4.1 6.0.0 tag v6.0.0 v6.0.0 Download: v6.0.1 5.4.0 tag v5.4.0 v5.4.0 Download: v5.4.0 5","default_branch":null,"files":null,"tree":[],"storefront":"/r/sing1ee","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sing1ee/elasticsearch-jieba-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}