Reputation: 2847
Is there a way to integrate full text search with spring data jpa? I am used to use hibernate search in my project.
Hibernate search(Hibernate Search brings the power of full text search engines to the persistence domain model by combining Hibernate Core with the capabilities of the Apache Lucene™ search engine.) can work with traditional jpa properly.
Now I am going to move to spring data jpa.What's the best practice to implement full text search?
Upvotes: 5
Views: 5767
Reputation: 6736
This project here is built upon solrj and spring but does not have a spring-data integration yet. So you'll still have to take care of indexing yourself. But nevertheless you may want to have a look.
Upvotes: 1
Reputation: 83171
Using Spring Data JPA shouldn't make any difference regarding the usage of your domain model for indexing. It's a thin layer on top of JPA to ease query execution to the most part.
Upvotes: 3