Hibernate Search v5.6.0.Beta1 发布下载,Hibernate Search的作用是对数据库中的数据进行检索的。它是hibernate对著名的全文检索系统Lucene的一个集成方案,作用在于对数据表中某些内容庞大的字段(如声明为text的字段)建立全文索引,这样通过hibernate search就可以对这些字段进行全文检索后获得相应的POJO,从而加快了对内容庞大字段进行模糊搜索的速度(sql语句中like匹配)。


Hibernate Search主要有以下功能特点:
- 功能强大,配置简单 - 配置只需要修改persistence.xml(JPA),hibernate.cfg.xml(Hibernate)
- 支持Hibernate,以及EJB3 JPA标准应用
- 集成全文搜索引擎Lucene - Lucene是Apache项目组下的一个功能强大的全文搜索引擎项目
- 可以简单透明索引查询过的数据
- 支持复杂检索 - 支持Wild Card(诸如*, ?等通配符号),多关键字,模糊查询,排序等
- 支持Clustering
- 支持直接访问Lucene API
- 对Lucene索引,API的高效管理
Hibernate Search运行的环境如下:
- JDK或JRE 5.0以上
- Hibernate-Search以及相应的依赖包
- Hibernate Core 3.2.X
- Hibernate Annotations 3.3.X

主/从结构的Hibernate Search architecture
更新日志
Bug修复
- [HSEARCH-2011] - HSEARCH000268 : Field does not exist or not configured for faceting
- [HSEARCH-2046] - Three fields are added to the index for an indexed element collection with two elements
- [HSEARCH-2120] - EdgeCaseFacetTest is unreliable on Elasticsearch
- [HSEARCH-2193] - LuceneBackendQueueTask does not release the Directory lock on update failures
- [HSEARCH-2200] - Typo in log message
- [HSEARCH-2210] - Missing types in NumericFieldUtils#requiresNumericRangeQuery
- [HSEARCH-2222] - The new AnalyzerReference infrastructure is not used in the DSL
- [HSEARCH-2226] - FullTextQuery does not override some returned Query types to allow method chaining
- [HSEARCH-2227] - elasticsearch.ProjectionConstants exposes Lucene constructs
- [HSEARCH-2233] - Elasticsearch - Dates and numerics should never be analyzed
- [HSEARCH-2237] - ScopedAnalyzerReference shouldn't close the underlying analyzer references
- [HSEARCH-2240] - Parallel service lookup might fail to find the service
- [HSEARCH-2251] - In the DSL, don't analyze string encoded dates
- [HSEARCH-2252] - Document that it's not recommended to sort on the id field
- [HSEARCH-2274] - Property "elasticsearch.host" isn't accessed correctly
- [HSEARCH-2275] - Elasticsearch massindexer does not guarantee a proper shutdown
- [HSEARCH-2280] - The JGroups backend module should not depend on the Elasticsearch module
新特性
- [HSEARCH-2064] - Implement filters in Elasticsearch backend
- [HSEARCH-2110] - Upgrade ES documentation before Beta1 release
- [HSEARCH-2199] - Allows the use of CharFilter in the programmatic API of SearchMapping
- [HSEARCH-2234] - Add dependency to "xml.bind" to ES JBoss Modules module.xml
Task
- [HSEARCH-2061] - Review package naming in the new ElasticSearch integration module
- [HSEARCH-2063] - Review the pending TODOs in the new Elasticsearch backend
- [HSEARCH-2067] - Rework ElasticSearchBridgeProvider integration to not affect non-ES indexing
- [HSEARCH-2071] - Support embedded ids with ES backend
- [HSEARCH-2106] - Discuss unique ProjectionConstants API
- [HSEARCH-2138] - Elasticsearch async: do not request reader refresh operations after each write
- [HSEARCH-2156] - Document requiring the bulk deletion Elasticsearch plugin
- [HSEARCH-2164] - Make Elasticsearch configuration properties index-scoped where feasible
- [HSEARCH-2187] - Documentation: Explain how to use the analyzers configured in ES
- [HSEARCH-2198] - Avoid using maven-injection-plugin to retrieve project Version
- [HSEARCH-2205] - Upgrade to Elasticsearch 2.3.1: Java9 compatibility and Lucene aligned to 5.5
- [HSEARCH-2211] - Upgrade Arquillian infrastructure
- [HSEARCH-2217] - Move Travis build to Trusty infrastructure and use Maven wrapper
- [HSEARCH-2229] - Improve error message in ElasticsearchIndexManager#analyzerName
- [HSEARCH-2238] - Upgrade to Byteman 3.0.5
- [HSEARCH-2242] - Convert FacetManager implementation to no longer use Filters
- [HSEARCH-2245] - Handle Calendar and resolution in the Elasticsearch specific BridgeProvider
- [HSEARCH-2246] - Using DSL with Elasticsearch and dates is broken
- [HSEARCH-2264] - Add additional comments on building metadata with/without IndexManager type
Sub-task
- [HSEARCH-2209] - Switch to ClassicSimilarity as default Similarity implementation
改进
- [HSEARCH-1724] - Simplify access to ClassLoaderService
- [HSEARCH-1951] - Improve resulting error message when applying the wrong Sort Type
- [HSEARCH-1970] - Untangle relationship of (DirectoryBased)IndexManager and BackendQueueProvider
- [HSEARCH-2093] - Clarify meaning of constant names on IndexSchemaManagementStrategy
- [HSEARCH-2100] - CPU hotspot in query.dsl.impl.Helper.getDocumentBuilder(QueryBuildingContext)
- [HSEARCH-2125] - Elasticsearch - support for MultiPhraseQuery
- [HSEARCH-2167] - Rename IndexManagementStrategy
- [HSEARCH-2178] - Send bulked index changes to ES when using the mass indexer
- [HSEARCH-2197] - Loading of search results produces useless garbage.
- [HSEARCH-2201] - Fix assorted typos in comments
- [HSEARCH-2202] - Fix SearchIntegrator camel casing throughout the codebase
- [HSEARCH-2203] - Reduce memory consumption of EntityInfoImpl objects.
- [HSEARCH-2212] - Improve Elasticsearch integration documentation
- [HSEARCH-2213] - Cryptic error when cluster is not green during index creation
- [HSEARCH-2214] - Provide an option to wait for Elasticsearch status yellow rather than green
- [HSEARCH-2243] - Allow provided services to implement Startable or Stoppable
- [HSEARCH-2244] - Unify the way TermQuery for numerics are handled
- [HSEARCH-2247] - Represent the kind of underlying technology with an explicit type
- [HSEARCH-2250] - Improve readability and efficiency of MultiWriteDrainableLinkedList
- [HSEARCH-2270] - Upgrade to Apache Lucene 5.5.1.Final
废弃
- [HSEARCH-2241] - Clarify deprecation of setFilter() method on FullTextQuery
下载
在 Hibernate Search 5.5 中对搜索结果进行排序 http://www.linuxidc.com/Linux/2015-09/123578.htm
Hibernate Search 的详细介绍:请点这里
Hibernate Search 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2016-05/131787.htm
