I am using Spring MVC for my project and would like to use Apache Solr to perform the database search. Could anybody guide me how to configure Apche Solr with Spring or can i use hibernate search? or any better approach.
Thanks & Regards
Vijay
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I haven’t used Hibernate search so can’t comment but I have written a number of Spring MVC webapps that use SOLR.
There are quite a few ways to integrate SOLR…
Servicethat calls SOLR via its REST web service interface (e.g., using Spring’sRestTemplate– JSON output is easier to marshall).I’ve used the last two approaches mentioned… Webservices is slightly easier to get up and running but SolrJ is more powerful. I’ve also used the embedded SOLR with SolrJ which simplifies deployment as there is only a single war file to deploy and manage.