Version: 4.2.0.Final 15-01-2013
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.1 and above
- Apache Lucene 3.6
Include the following to your dependency list:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-search</artifactId>
<version>4.2.0.Final</version>
</dependency>
Download the distribution bundle from SourceForge and unzip to installation directory. Then read the documentation available in docs/reference.
> git clone git@github.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
- Hibernate JIRA HSEARCH (preferred)
- hibernate-dev@lists.jboss.org
This software and its documentation are distributed under the terms of the FSF Lesser Gnu Public License (see lgpl.txt).