发布于 2016-02-29 03:56:24 | 155 次阅读 | 评论: 0 | 来源: 网友投递
Hibernate Search 全文检索工具
Hibernate Search是在apache Lucene的基础上建立的主要用于Hibernate的持久化模型的全文检索工具。像Lucene这样的检索引擎能够给我们的项目在进行检索的时候带来 非常高的效率,但是它们在基本对象的检索时会有一些问题,比如不能实现检索内容跟实体的转换,Hibernate Search正是在这样的情况下发展起来的,基于对象的检索引擎,能够很方便的将检索出来的内容转换为具体的实体对象。此外Hibernate Search能够根据需要进行同步或异步的索引更新。
Hibernate Search 5.6.0.Alpha2 发布了,改进记录:
** Bug
* [HSEARCH-1917] - Cannot index null or empty values for faceted fields
** New Feature
* [HSEARCH-2065] - Support the Faceting feature over Elasticsearch
* [HSEARCH-2114] - Allow to use "elasticsearch" as alias for index manager configuration
* [HSEARCH-2117] - Add FullTextEntityManager#createFullTextQuery(QueryDescriptor, Class<?>...)
** Task
* [HSEARCH-2131] - Include basic Elasticsearch getting started elements in the documentation
** Improvement
* [HSEARCH-2099] - Upgrade to Apache Lucene 5.5.0
* [HSEARCH-2105] - Don't use nested mapping by default with ES backend
* [HSEARCH-2113] - Elasticsearch - Better sort support
* [HSEARCH-2118] - Add infrastructure to be able to ignore tests when running the Elasticsearch backend
* [HSEARCH-2121] - Split DSLTest to facilitate Elasticsearch testing
* [HSEARCH-2122] - Elasticsearch - add support for FuzzyQuery
* [HSEARCH-2123] - Elasticsearch - add support for boost
* [HSEARCH-2124] - Elasticsearch - add support for phrase query
下载地址:
https://github.com/hibernate/hibernate-search/releases/tag/5.6.0.Alpha2