Hibernate Search 4.0.0.Beta1 发布
时间:2011-09-16
来源:开源中国社区
在手机上看
手机扫描阅读
从 Alpha2 到 Beta1,今天 Hibernate Search 团队很高兴的发布了 4.0 的首个 Beta 版本,完整改进记录请看 Jira release notes. 值得关注的改进有:
- The parameter list of the annotation org.hibernate.search.annotation.Field has changed (HSEARCH-710, HSEARCH-711).
- The annotation mixed the concepts of analyzing and storing of norms into a single index parameter (NO, TOKENIZED, UN_TOKENIZED and NO_NORMS).
- There was no option for analyzed indexing while storing no norms and the terminology was using the term tokenizing instead of analyzing.
- For this reason we changed the API and made the different choices more explicit:
@Field(index=Index.YES|NO, analyze=Analyze.YES|NO, norms=Norms.YES|NO, ...)
- Another important API change is the ability to access an IndexReader by name (HSEARCH-903). For this purpose an new interface IndexReaderAccessor got introduced. It can be accessed via SearchFactory#getIndexReaderAccessor. The interface offers the following methods:
public interface IndexReaderAccessor { IndexReader open(Class... entities); IndexReader open(String... indexNames); void close(IndexReader indexReader); }
- Last but not least, you can now project on fields added by custom bridges (HSEARCH-890).
下载地址: SourceForge
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28