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 的集成


基础教程推荐
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- 降序排序:Java Map 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01