Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make analyser creation as documented

  • Loading branch information...
commit bfca8365c0da621d579a5ae5607bdffcab496b54 1 parent e6bb613
@dizzzz dizzzz authored
View
2  extensions/indexes/lucene/src/org/exist/indexing/lucene/AnalyzerConfig.java
@@ -402,7 +402,7 @@ private static KeyTypedValue getConstructorParameter(Element param) throws Param
final Set s = getConstructorParameterSetValues(param);
parameter = new KeyTypedValue(name, s, Set.class);
- } else if ("org.apache.lucene.analysis.util.CharArraySet".equals(type)) {
+ } else if ("org.apache.lucene.analysis.util.CharArraySet".equals(type) || "set".equals(type)) {
// This is mandatory to use iso a normal Set since Lucene 4
final CharArraySet s = getConstructorParameterCharArraySetValues(param);
parameter = new KeyTypedValue(name, s, CharArraySet.class);
Please sign in to comment.
Something went wrong with that request. Please try again.