发布于 2016-03-16 05:19:24 | 367 次阅读 | 评论: 0 | 来源: 网友投递
Hibernate Search 全文检索工具
Hibernate Search是在apache Lucene的基础上建立的主要用于Hibernate的持久化模型的全文检索工具。像Lucene这样的检索引擎能够给我们的项目在进行检索的时候带来 非常高的效率,但是它们在基本对象的检索时会有一些问题,比如不能实现检索内容跟实体的转换,Hibernate Search正是在这样的情况下发展起来的,基于对象的检索引擎,能够很方便的将检索出来的内容转换为具体的实体对象。此外Hibernate Search能够根据需要进行同步或异步的索引更新。
Hibernate Search 5.6.0.Alpha3 发布了,
更新日志:
It indexes your domain model with the help of a few annotations.
Takes care of database/index synchronization.
Brings back regular managed objects from free text queries.
版本要求:
Hibernate ORM 5.0.x
Apache Lucene 5.5.x
项目分为几个Maven模块:
backends: Remote backends receiving an indexing job and executing it via different protocols.
build-config: Code related artefacts like checkstyle rules.
distribution: Builds the distribution package.
documentation: The project documentation.
engine: The engine of the project. Most of the beef is here.
integrationtest: Integration tests with various technologies like WildFly, Spring or Karaf. Also includes performance tests.
modules: Integration with WildFly using JBoss Modules.
orm: Native integration for Hibernate ORM.
serialization: Serialization code used by remote backends.
testing: Various helper classes to write tests using Hibernate Search. This module is semi private.
下载地址:https://sourceforge.net/projects/hibernate/files/latest/download