For a full text search to the web app, there are several approaches available:
Add a customized SQL dialect for the Hibernate and use MYSQL or any SQL DB full text search functionality.
Use hibernate search and integrate with existing Spring MVC app.
Although it is recommended to not use the first approach as it is not portable. Which means, using the second approach is the best approach. This article intends to track all the information and give the audience a good working copy of the app.
Read the rest of the tutorial here:http://www.codeproject.com/Articles/830529/Integrating-Full-Text-Search-to-Spring-MVC-with-Hi