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.
|