Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问兼容lucene4.3.1吗 #120

Open
GoogleCodeExporter opened this issue Nov 14, 2015 · 2 comments
Open

请问兼容lucene4.3.1吗 #120

GoogleCodeExporter opened this issue Nov 14, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

我用最新的源码打包成jar,但是还是报错Error creating bean with 
name 
'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor
#0' defined in class path resource [applicationContext-dao.xml]: Initialization 
of bean failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'sessionFactory' defined in class path resource 
[applicationContext-dao.xml]: Invocation of init method failed; nested 
exception is java.lang.VerifyError: class 
org.hibernate.search.util.impl.DelegateNamedAnalyzer overrides final method 
tokenStream.(Ljava/lang/String;Ljava/io/Reader;)Lorg/apache/lucene/analysis/Toke
nStream;

Original issue reported on code.google.com by wxleida@gmail.com on 11 Jul 2013 at 5:40

@GoogleCodeExporter
Copy link
Author

我也遇到这个问题了  IKAnalyzer好久没更新了啊

Original comment by zhaoyong...@gmail.com on 10 Sep 2013 at 3:56

@GoogleCodeExporter
Copy link
Author

好像只能如此配置:
<fieldType name="text_ik" class="solr.TextField">
     <analyzer type="index" isMaxWordLength="false" class="org.wltea.analyzer.lucene.IKAnalyzer"/>
     <analyzer type="query" isMaxWordLength="true" class="org.wltea.analyzer.lucene.IKAnalyzer"/>

Original comment by xiezh...@gmail.com on 21 Nov 2013 at 8:35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant