Lucene 与 EclipseLink 的集成

2022-01-15 00:00:00 lucene java 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)

相关文章