Commit 60096144 authored by mohamad.alturky's avatar mohamad.alturky

Bug Fixing

parent a9880f0a
......@@ -71,7 +71,7 @@ public class Lucene {
.addTokenFilter(LowerCaseFilterFactory.NAME)
.addTokenFilter(StopFilterFactory.NAME)
.addTokenFilter(PorterStemFilterFactory.NAME)
.addTokenFilter(CapitalizationFilterFactory.class)
.addTokenFilter(CapitalizationFilterFactory.NAME)
.build();
List<String> customTokens = LuceneAnalyzer.analyze(customAnalyzer, text);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment