-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate Search 5.2.0.Beta1
PostPosted: Wed Apr 22, 2015 5:12 am 
Newbie

Joined: Wed Apr 22, 2015 4:58 am
Posts: 4
Hi Sanne,

hibernate-search-analyzers module is removed as per migration docs of 5.2.0.Beta1 .now All Analyzer which used in our application unable to compile.
Error:

tokenStream(String,Reader) in UpperCaseKeywordAnalyzer cannot override tokenStream(String,Reader) in Analyzer

[javac] public TokenStream tokenStream(String fieldName, Reader reader) {
^

[javac] TokenStream tokenStream = new KeywordTokenizer(reader);

[javac] tokenStream = new UppercaseFilter(Version.LUCENE_35, tokenStream);
[javac] ^
[javac] symbol: variable LUCENE_35

[javac] charUtils = CharacterUtils.getInstance(matchVersion);

[javac] setLowercaseExpandedTerms(lowercase);

In this situation What analyzer we should use or any other depenedeny we have to use for it .I have tried mutilple dependency from lucene Analyzer(common,core,others).

Below Classes are unable to find in dependency.
a) KeywordTokenizer
b)LowerCaseFilter
c)KeywordAnalyzer
d)ClassicAnalyzer
e)SimpleAnalyzer
f)PerFieldAnalyzerWrapper
g)ParseException
h)StandardAnalyzer


Many Other TermDocs and other classes are unabel to resolve the depenedency.


Top
 Profile  
 
 Post subject: Re: Hibernate Search 5.2.0.Beta1
PostPosted: Fri Apr 24, 2015 11:30 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi,
have you checked the migration guide? http://hibernate.org/search/documentation/migrate/5.0/

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.