Lucene integration with EclipseLink(Lucene 与 EclipseLink 的集成)
问题描述
我正在尝试将 Lucene 与 EclipseLink 一起使用,并且想知道是否有任何好的集成库?我见过太阳耀斑,它看起来很石灰,它可能会做我想做的事,但它已经过时了(虽然我有旧版本的 EclipseLink,我使用的是 Lucene 的 4.10)这可能有效,但我找不到任何文档,如何使用它的示例或教程.
I am trying to use Lucene with EclipseLink, and was wondering if there are any good integration libraries out there? I have seen solar-flare, and it looks lime it might do what I want, but it's out of date (although i have an older version of EclipseLink, I am using 4.10 of Lucene) That may work, but I cant find any documentation, examples or tutorials on how to use it.
任何建议都将不胜感激(我不相信我们也可以切换到 Hibernate)
Any advice would be appreciated (I dont believe we can switch to Hibernate either)
提前致谢
推荐答案
如果你准备通过服务器使用 Lucene,你可以使用 Solr (with SolrJ)
If you are ready to use Lucene via a server you can use Solr (with SolrJ)
SolJ 向您提供注释以注释您的 Pojo(查看此:https://wiki.apache.org/solr/Solrj#Directly_adding_POJOs_to_Solr)
SolJ provide to you the annotations to annotate your Pojo (look at this: https://wiki.apache.org/solr/Solrj#Directly_adding_POJOs_to_Solr)
这篇关于Lucene 与 EclipseLink 的集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Lucene 与 EclipseLink 的集成


- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01