JRE Version Migration Guide&Lucene JDK版本影响&升级注意
来源:互联网 发布:淘宝刷一钻要多少钱 编辑:程序博客网 时间:2024/05/18 13:43
JRE Version Migration Guide
If possible, use the same JRE major version at both index and search time.When upgrading to a different JRE major version, consider re-indexing.
尽量保证索引和查询时,使用相同的JRE版本,当升级了JRE版本的时候,最好考虑重建索引。
Different JRE major versions may implement different versions of Unicode, which will change the way some parts of Lucene treat your text.
For example: with Java 1.4, LetterTokenizer
will split around the character U+02C6, but with Java 5 it will not. This is because Java 1.4 implements Unicode 3, but Java 5 implements Unicode 4.
不同版本的JRE版本实现了不同版本的unicode。
如:jdk 1.4实现Unicode 3.0 jdk1.5实现Unicode 4.0
For reference, JRE major versions with their corresponding Unicode versions:
- Java 1.4, Unicode 3.0
- Java 5, Unicode 4.0
- Java 6, Unicode 4.0
- Java 7, Unicode 6.0
- Java 8, Unicode 6.2
- Java 9 (not yet released / offcially supported by Lucene), Unicode 7.0
In general, whether or not you need to re-index largely depends upon the data that you are searching, and what was changed in any given Unicode version. For example, if you are completely sure that your content is limited to the "Basic Latin" range of Unicode, you can safely ignore this.
Special Notes: LUCENE 2.9 TO 3.0, JAVA 1.4 TO JAVA 5 TRANSITION
StandardAnalyzer
will return the same results under Java 5 as it did under Java 1.4. This is because it is largely independent of the runtime JRE for Unicode support, (with the exception of lowercasing). However, no changes to casing have occurred in Unicode 4.0 that affect StandardAnalyzer, so if you are using this Analyzer you are NOT affected.SimpleAnalyzer
,StopAnalyzer
,LetterTokenizer
,LowerCaseFilter
, andLowerCaseTokenizer
may return different results, along with many otherAnalyzer
s andTokenStream
s in Lucene's analysis modules. If you are using one of these components, you may be affected.
- JRE Version Migration Guide&Lucene JDK版本影响&升级注意
- jdk版本升级对单元测试造成的影响
- JDK AND JRE version problem
- Migration guide
- LoadRunner 版本升级注意
- JAVA7所有版本下载地址 JRE jre jdk JDK
- 升级JDK版本
- Self Summary: Multi-version JDK Management and JDK vs JRE
- ActionScript.3.0.Migration.Guide
- JDK与JRE各种版本下载地址
- JDK 和JRE 解决版本不一致问题
- 升级oracle中的JDK版本
- MyEclipse 升级jdk的版本
- 升级Myeclipse的JDK版本
- 【version Update版本升级】Android 自动检测版本升级
- Browser JRE安全证书版本 Bad Version 问题解决
- JDk版本不同对系统的影响
- major minor version jdk版本对照表
- Windows下配置Gitblit服务器
- 【Unity3D】3D模型的自动寻路与Animation连击
- 面向对象(继承,重写,this,super,抽象类)
- ClientWebSocket
- 利用QPixmap显示图片
- JRE Version Migration Guide&Lucene JDK版本影响&升级注意
- 仿QQ联系人列表
- 关于JaveScriptCore框架使用注册方法
- php QQ第三方登录/OAuth2.0验证
- 微信小程序开发
- 欢迎使用CSDN-markdown编辑器
- Linux上安装JKD
- 实现ScrollView中包含ListView,动态设置ListView的高度(listview不能显示全,不能正确计算item的高度)
- 云计算是什么?【科普】