Created
April 25, 2014 16:06
-
-
Save nik9000/11294678 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main/java/org/elasticsearch/index/analysis/StandardAnalyzerProvider.java b/src/main/java/org/elasticsearch | |
@@ -60,4 +63,8 @@ public class StandardAnalyzerProvider extends AbstractIndexAnalyzerProvider<Stan | |
public StandardAnalyzer get() { | |
return this.standardAnalyzer; | |
} | |
+ | |
+ public static void buildAsDefault(XContentBuilder builder) throws IOException { | |
+ AnalyzerXContentUtil.buildAnalyzer(builder, "standard", "standard", "standard", "lowercase"); | |
+ } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment