{"id":20578756,"url":"https://github.com/cclient/spring-boot-es-jpa-proxy","last_synced_at":"2025-06-27T14:06:07.212Z","repository":{"id":93977653,"uuid":"97831768","full_name":"cclient/spring-boot-es-jpa-proxy","owner":"cclient","description":"spring-boot elasticsearch 聚合 webapi服务","archived":false,"fork":false,"pushed_at":"2017-07-23T00:22:52.000Z","size":51,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T19:21:32.721Z","etag":null,"topics":["elasticsearch","jpa","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cclient.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-07-20T12:16:45.000Z","updated_at":"2021-06-10T05:17:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd1e2b06-15a8-4473-8505-453165af3a7a","html_url":"https://github.com/cclient/spring-boot-es-jpa-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cclient/spring-boot-es-jpa-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cclient%2Fspring-boot-es-jpa-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cclient%2Fspring-boot-es-jpa-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cclient%2Fspring-boot-es-jpa-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cclient%2Fspring-boot-es-jpa-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cclient","download_url":"https://codeload.github.com/cclient/spring-boot-es-jpa-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cclient%2Fspring-boot-es-jpa-proxy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262270429,"owners_count":23285164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elasticsearch","jpa","spring-boot"],"created_at":"2024-11-16T06:14:29.446Z","updated_at":"2025-06-27T14:06:07.200Z","avatar_url":"https://github.com/cclient.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"2016年的es查询半调研半过渡的项目\n\n当时es版本2.3，尝试用java封装es的各种查询和聚合逻辑\n\n用java的成本，开始作前就已有预料，真作，还是觉得太折腾\n\nes查询，说白了就是拼各种json查询条件\n\njava和go这种强类型的语言直接操作json还是太过痛苦\n\n用es原生api吧，不直观（作不到直接把json拷来拷去直接测试）\n\n把json字符串，大量的放在java代码里，不伦不类\n\n相比tcp的那点效率，不值得付出如此多的开发成本\n\n完成部分功能后，后期全改用nodejs重写\n\n主要功能\n\n1 ik elasticsearch plugin 动态更新词库api\n\n2 sql数据-\u003e行业词典文件生成 \n\n3 部分数据sql-\u003ees 索引+更新\n\n4 部分查询+聚合api\n\n\n当时尝试用java作的原因有几点\n\n1 一直想用spring-boot，算是以此为引子作个探索和学习\n\n2 其他语言的大部分都只是通过http接口，没有java直接走tcp高效\n\n3 其他语言部分特性支持不全，会碰到各种小问题，印象中python的包访问集群某个参数就不生效\n\n最主要的原因是想用spring-boot，虽然这个项目没有一直坚持下去\n\n但用这里的经验后期把大部分java项目，spring-boot+docker+kubernate微服务化，也算没白费时间\n\n把冗余的大量代码去了，姑且还能算是sprint-boot+jpa+es的demo项目,个人调研，所以代码比较粗糙\n\n备注\n\n项目中 mybatis 只是为了自动生成实体类用的，实际访问只用jpa，个人非常讨厌mybatis的项目\n\nmybatis 出活快，但不加约束规范，时间越久，代码会越来越难看，见过一个项目，三种不同风格的mybatis,也是服了\n\njsp页面和如今前后端分离相比完全落伍，当时也只展示几个页面，这也是最后一个带后端渲染的项目，保留算是个纪念","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcclient%2Fspring-boot-es-jpa-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcclient%2Fspring-boot-es-jpa-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcclient%2Fspring-boot-es-jpa-proxy/lists"}