Does anyone know if I can use Hibernate Search with Eclipse Link? Or do I have to use Hibernate as my JPA provider?
Hibernate search can't be used with another JPA provider... sorry
You have 2 options :
switch to Hibernate as your JPA provider
use EclipseLink with Solr (and SolrJ java API)
I am currently working on a integration of the Hibernate Search Engine that supports any JPA provider you throw at it. It's currently in, hmmm. let's call it late Alpha. Most features work (but I wouldn't suggest using it in production just yet) and you can give it a try with:
https://github.com/s4ke/hibernate-search-genericjpa-example
Some differences for your domain model are:
For more information visit: https://github.com/Hotware/Hibernate-Search-JPA
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With