问题
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.
Any advice would be appreciated (I dont believe we can switch to Hibernate either)
Thanks in advance
回答1:
If you are ready to use Lucene via a server you can use Solr (with SolrJ)
SolJ provide to you the annotations to annotate your Pojo (look at this: https://wiki.apache.org/solr/Solrj#Directly_adding_POJOs_to_Solr)
来源:https://stackoverflow.com/questions/28377800/lucene-integration-with-eclipselink