Hibernate Search v5.8.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
更新日志
- HSEARCH-2681 Lease request timeouts on the Elasticsearch async client lead to cascading failures
- HSEARCH-2664 Broken links in doc: delete-by-query plugin
- HSEARCH-2662 Querying an empty, dynamically sharded index won't work (Lucene + Elasticsearch)
- HSEARCH-2656 Range queries on fields with a custom MetadataProvidingFieldBridge may not detect numeric-ness correctly
- HSEARCH-2651 Calls to numericField in the programmatic API create duplicate fields
- HSEARCH-2631 Iterating on results of query on single class with criteria generates wrong statistics
- HSEARCH-2630 Queries on multiple classes returning a single result generates wrong statistics
- HSEARCH-2602 The documentation recommends using the deprecated byField(String, SortField.Type) method in the sort DSL
- HSEARCH-2541 FullTextQuery with single result does not populate fields or ID in entity results
- HSEARCH-2353 Add support for norms with Elasticsearch 5
- HSEARCH-2277 Some resources may not be cleaned on bootstrap failure
- HSEARCH-1862 Allow configuration of facets via programmatic configuration API
- HSEARCH-2661 Avoid the recurring calls to serviceManager.requestReference in ElasticsearchHSQueryImpl
- HSEARCH-2648 Add debug/trace logs showing execution time of Elasticsearch requests
- HSEARCH-2646 Mark the private JBoss Modules as private.api
- HSEARCH-2645 Separate the JBoss Module for the Elasticsearch client
- HSEARCH-2644 Mention what needs to be done to switch Elasticsearch version in docs
- HSEARCH-2600 Update javadoc configuration
- HSEARCH-2565 Boolean QueryBuilder clauses should accept a 'null' clause
- HSEARCH-2521 Clarify if error HSEARCH000278 could be caused by the entity not being a managed entity
- HSEARCH-2361 Make sure Elasticsearch related configuration properties are parsed and validated at boot time
- HSEARCH-2009 Document supported types for @FieldBridge#impl()
- HSEARCH-2001 By default enable a "strict mode" validation for sorting
- HSEARCH-2678 Add a simple query string entry point to the DSL
- HSEARCH-2469 Ability to fail over to the next host when a request to an Elasticsearch host fails
- HSEARCH-2686 No longer require the ByteBuddy dependency to run OSGi tests
- HSEARCH-2685 Update to Hibernate ORM 5.2.9.Final
- HSEARCH-2669 Remove mentions of HSEARCH-2605 in the Elasticsearch documentation
- HSEARCH-2660 Make index schema management strategy options more consistent with JPA
- HSEARCH-2654 Upgrade Elasticsearch RestClient + Sniffer to 5.3
- HSEARCH-2653 Rework credits section in the documentation
- HSEARCH-2635 Some clarifications in the Elasticsearch related documentation
- HSEARCH-2628 JNDI support should reuse the JNDIService from Hibernate ORM
- HSEARCH-2607 Improve OSGi test diagnostics when running tests on misconfigured networks
- HSEARCH-2581 Add the ability to support multiple incompatible Elasticsearch versions (dialects?)
- HSEARCH-2434 Add support for Elasticsearch 5
- HSEARCH-2382 Merge the JPA and Hibernate native components like ORM did
下載
本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/516d1042
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!