Version: 4.1.0.CR2 15-3-2012
Full text search engines like Apache Lucene are very powerful technologies to add efficient free text search capabilities to applications. However, Lucene suffers several mismatches when dealing with object domain models. Amongst other things indexes have to be kept up to date and mismatches between index structure and domain model as well as query mismatches have to be avoided.
Hibernate Search addresses these shortcomings - it indexes your domain model with the help of a few annotations, takes care of database/index synchronization and brings back regular managed objects from free text queries.
Hibernate Search is using Apache Lucene under the cover.
This version of Hibernate Search requires:
- Hibernate Core 4.0 and above
- Apache Lucene 3.5
Include the following to your dependency list:
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-search</artifactId> <version>4.1.0.CR2</version> </dependency>
Download the distribution bundle from SourceForge and unzip to installation directory. Then read the documentation available in docs/reference.
Building from source
> git clone email@example.com:hibernate/hibernate-search.git > cd hibernate-search > mvn clean install -s settings-example.xml
If you want to also build the documentation, use
> mvn clean install -Pdocs -s settings-example.xml
If you want to contribute, read Contributing to Hibernate Search
Free Technical Support:
This software and its documentation are distributed under the terms of the FSF Lesser Gnu Public License (see lgpl.txt).