Suppose I want to index this string NashQ/c++.test and i used the
following procedure to do the processing.
NormalizeCharMap RECOVERY_MAP = new NormalizeCharMap();
CharFilter filter = new LowercaseCharFilter(reader);//LowercaseCharFilter,
see the source code at the bottome
filter = new MappingCharFilter(RECOVERY_MAP,filter);
StandardTokenizer tokenStream = new StandardTokenizer(Version.LUCENE_30,
TokenStream result = new StandardFilter(tokenStream);
//result = new LowerCaseFilter(result);
result = new StopFilter(enableStopPositionIncrements, result, stopSet);
result = new SnowballFilter(result, STEMMER);
When i search this index with keyword nashq, nothing is returned, but if I
uncomment resut=new LowerCaseFilter(result); it will works fine?
Does anybody here know what's going on? It seems my LowercaseCharFilter has
already done this job.