From ff47493dbdad056c9487633767d6129d2f994395 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Tue, 30 Nov 2010 02:44:47 +0000 Subject: [PATCH] fix bug where StandardFilter isn't respected git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040390 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/lucene/analysis/id/IndonesianAnalyzer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/analysis/common/src/java/org/apache/lucene/analysis/id/IndonesianAnalyzer.java b/modules/analysis/common/src/java/org/apache/lucene/analysis/id/IndonesianAnalyzer.java index e4b78e8a61a..210f9ae4d58 100644 --- a/modules/analysis/common/src/java/org/apache/lucene/analysis/id/IndonesianAnalyzer.java +++ b/modules/analysis/common/src/java/org/apache/lucene/analysis/id/IndonesianAnalyzer.java @@ -120,7 +120,7 @@ public final class IndonesianAnalyzer extends StopwordAnalyzerBase { Reader reader) { final Tokenizer source = new StandardTokenizer(matchVersion, reader); TokenStream result = new StandardFilter(matchVersion, source); - result = new LowerCaseFilter(matchVersion, source); + result = new LowerCaseFilter(matchVersion, result); result = new StopFilter(matchVersion, result, stopwords); if (!stemExclusionSet.isEmpty()) { result = new KeywordMarkerFilter(result, stemExclusionSet);