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

查看:83
本文介绍了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(与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天全站免登陆