Hibernate Search 5.4.0.CR1 发布,更新内容如下: Bug 修复 * [HSEARCH-1924] - JBoss Logging upgrade needs explicit dependencies in our sub-modules ** 增强 * [HSEARCH-1919] - Don't use FieldCache in SortTest * [HSEARCH-1922] - JMS backend should set the JMS message header JMSXGroupID ** 新特性 * [HSEARCH-668] - Provide a setting to bring under the same transaction the DB operation and the JMS queue * [HSEARCH-1878] - Add google analytics to the HTML documentation ** 任务 * [HSEARCH-1893] - Enable again the distribution of custom JBoss Modules * [HSEARCH-1906] - Enable the WildFly integration tests even on Java 9 * [HSEARCH-1920] - Document the new 'enlist_in_transaction' setting * [HSEARCH-1923] - Upgrade to Hibernate Commons Annotations 5.0.0.Final * [HSEARCH-1926] - Checkstyle not running on the OSGi test modules * [HSEARCH-1928] - Upgrade to Hibernate ORM 5.0.0.CR2 * [HSEARCH-1930] - Upgrade to WildFly 9.0.0.Final and align configuration files * [HSEARCH-1931] - Upgrade integration tests to WildFly 10.0.0.Alpha5 to use provided Hibernate 5 modules 下载:hibernate-search-5.3.0.Final-dist.tar.gz (27.0 MB),更多内容请看发行说明。 Hibernate Search的作用是对数据库中的数据进行检索的。它是hibernate对著名的全文检索系统Lucene的一个集成方案,作用在于对数据表中某些内容庞大的字段(如声明为text的字段)建立全文索引,这样通过hibernate search就可以对这些字段进行全文检索后获得相应的POJO,从而加快了对内容庞大字段进行模糊搜索的速度(sql语句中like匹配)。 Hibernate Search主要有以下功能特点: 1,功能强大,配置简单 - 配置只需要修改persistence.xml(JPA),hibernate.cfg.xml(Hibernate) 2,支持Hibernate,以及EJB3 JPA标准应用 3,集成全文搜索引擎Lucene - Lucene是Apache项目组下的一个功能强大的全文搜索引擎项目 4,可以简单透明索引查询过的数据 5,支持复杂检索 - 支持Wild Card(诸如*, ?等通配符号),多关键字,模糊查询,排序等 6,支持Clustering 7,支持直接访问Lucene API 8,对Lucene索引,API的高效管理 Hibernate Search运行的环境如下: 1、JDK或JRE 5.0以上 2、Hibernate-Search以及相应的依赖包 3、Hibernate Core 3.2.X 4、Hibernate Annotations 3.3.X Hibernate Search 5.4.0.CR1 发布下载地址