Compass is a first class open source Java Search Engine Framework, enabling the power of Search Engine semantics to your application stack decoratively. Built on top of the amazing Lucene Search Engine, Compass integrates seamlessly to popular development frameworks like Hibernate and Spring. Now in the latest release Compass 1.2, they are providing search capabilities for object models also. Compass allows to map your domain model (Object, pure XML, and the map like Compass Resource) into the search engine simply using either xml or annotations, and integrates with leading ORM libraries (Hibernate, TopLink, OpenJPA) and web frameworks (Spring MVC, Grails) in order to simplify even more the introduction of search into an application.
When we started to work with Compass [with Spring framework and Hibernate and months before the release of Hibernate search] there were no good documentations at all about it. that time we want to use Lucene for our full text search purpose. But because of the complexity of Lucene integration we used Compass as a Mapping framework between Spring and Lucene. My friend Roshan had done a lot of efforts to complete that successfully. Only one or two examples are the guidelines for him. Now Compass is improved a lot. It has a well prepared documentation [ style is looking like Spring’s official documentation], more examples, more and more features… and …. Now Hibernate search is also came to help us for full text search in a great and easy way.