com.groupbyinc.flux.index.analysis.PatternAnalyzerProvider.class Maven / Gradle / Ivy
???? 4 ? :com/groupbyinc/flux/index/analysis/PatternAnalyzerProvider ?Lcom/groupbyinc/flux/index/analysis/AbstractIndexAnalyzerProvider; @com/groupbyinc/flux/index/analysis/AbstractIndexAnalyzerProvider PatternAnalyzerProvider.java analyzer 4Lcom/groupbyinc/flux/index/analysis/PatternAnalyzer; ?(Lcom/groupbyinc/flux/index/IndexSettings;Lcom/groupbyinc/flux/env/Environment;Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Settings;)V l(Lcom/groupbyinc/flux/index/IndexSettings;Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Settings;)V
>com/groupbyinc/flux/common/apache/lucene/analysis/CharArraySet EMPTY_SET @Lcom/groupbyinc/flux/common/apache/lucene/analysis/CharArraySet; 'com/groupbyinc/flux/index/IndexSettings getIndexVersionCreated ()Lcom/groupbyinc/flux/Version;
lowercase java/lang/Boolean valueOf (Z)Ljava/lang/Boolean;
deprecationLogger 6Lcom/groupbyinc/flux/common/logging/DeprecationLogger; " # $ ,com/groupbyinc/flux/common/settings/Settings & #getAsBooleanLenientForPreEs6Indices ?(Lcom/groupbyinc/flux/Version;Ljava/lang/String;Ljava/lang/Boolean;Lcom/groupbyinc/flux/common/logging/DeprecationLogger;)Ljava/lang/Boolean; ( )
' * booleanValue ()Z , -
. +com/groupbyinc/flux/index/analysis/Analysis 0 parseStopWords ?(Lcom/groupbyinc/flux/env/Environment;Lcom/groupbyinc/flux/Version;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/apache/lucene/analysis/CharArraySet;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/CharArraySet; 2 3
1 4 pattern 6 \W+ 8 get 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; : ;
' < "java/lang/IllegalArgumentException > java/lang/StringBuilder @ ()V B
A C
Analyzer [ E append -(Ljava/lang/String;)Ljava/lang/StringBuilder; G H
A I +] of type pattern must have a `pattern` set K toString ()Ljava/lang/String; M N
A O (Ljava/lang/String;)V Q
? R #com/groupbyinc/flux/env/Environment T java/lang/String V flags X &(Ljava/lang/String;)Ljava/lang/String; : Z
' [ &com/groupbyinc/flux/common/regex/Regex ] compile ?(Ljava/lang/String;Ljava/lang/String;)Ljava/util/regex/Pattern; _ `
^ a 2com/groupbyinc/flux/index/analysis/PatternAnalyzer c ](Ljava/util/regex/Pattern;ZLcom/groupbyinc/flux/common/apache/lucene/analysis/CharArraySet;)V e
d f h this