Lucene 与 EclipseLink 的集成 [英] Lucene integration with EclipseLink

查看:27
本文介绍了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 的集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆