All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.search.suggest.SuggestUtils.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????33/com/groupbyinc/flux/search/suggest/SuggestUtilsjava/lang/ObjectSuggestUtils.java1com/groupbyinc/flux/search/suggest/SuggestUtils$16com/groupbyinc/flux/search/suggest/SuggestUtils$FieldsFields=com/groupbyinc/flux/search/suggest/SuggestUtils$TokenConsumer
TokenConsumer5com/groupbyinc/flux/search/suggest/Suggest$Suggestion*com/groupbyinc/flux/search/suggest/Suggest
Suggestion:com/groupbyinc/flux/search/suggest/Suggest$Suggestion$SortSortLcom/groupbyinc/flux/search/suggest/SuggestionSearchContext$SuggestionContext:com/groupbyinc/flux/search/suggest/SuggestionSearchContextSuggestionContextDcom/groupbyinc/flux/index/analysis/ShingleTokenFilterFactory$Factory;SCORE_COMPARATOR()V$%
&this1Lcom/groupbyinc/flux/search/suggest/SuggestUtils;getDirectSpellChecker?(Lcom/groupbyinc/flux/search/suggest/DirectSpellcheckerSettings;)Lcom/groupbyinc/flux/common/apache/lucene/search/spell/DirectSpellChecker;Hcom/groupbyinc/flux/common/apache/lucene/search/spell/DirectSpellChecker,
-&=com/groupbyinc/flux/search/suggest/DirectSpellcheckerSettings/accuracy()F12
03setAccuracy(F)V56
-7C$SwitchMap$org$elasticsearch$search$suggest$Suggest$Suggestion$Sort[I9:	;sort>()Lcom/groupbyinc/flux/search/suggest/Suggest$Suggestion$Sort;=>
0?ordinal()IAB
C#!	E !	G"java/lang/IllegalArgumentExceptionIjava/lang/StringBuilderK
L&Illegal suggest sort: Nappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;PQ
LR-(Ljava/lang/Object;)Ljava/lang/StringBuilder;PT
LUtoString()Ljava/lang/String;WX
LY(Ljava/lang/String;)V$[
J\java/util/Comparator^
setComparator(Ljava/util/Comparator;)V`a
-bstringDistanceH()Lcom/groupbyinc/flux/common/apache/lucene/search/spell/StringDistance;de
0fsetDistanceI(Lcom/groupbyinc/flux/common/apache/lucene/search/spell/StringDistance;)Vhi
-jmaxEditslB
0msetMaxEdits(I)Vop
-qmaxInspectionssB
0tsetMaxInspectionsvp
-wmaxTermFreqy2
0zsetMaxQueryFrequency|6
-}prefixLengthB
0?setMinPrefix?p
-?
minWordLength?B
0?setMinQueryLength?p
-?
minDocFreq?2
0?setThresholdFrequency?6
-?setLowerCaseTerms(Z)V??
-?
comparator
suggestion?Lcom/groupbyinc/flux/search/suggest/DirectSpellcheckerSettings;directSpellCheckerJLcom/groupbyinc/flux/common/apache/lucene/search/spell/DirectSpellChecker;join?(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder;[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;=com/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder?clear?%
??;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)VP?
??get:()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;??
??iI	separator8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;result?Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder;toJoin9[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;analyze(Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Ljava/lang/String;Lcom/groupbyinc/flux/search/suggest/SuggestUtils$TokenConsumer;Lcom/groupbyinc/flux/common/apache/lucene/util/CharsRefBuilder;)Ijava/io/IOException?=com/groupbyinc/flux/common/apache/lucene/util/CharsRefBuilder?
copyUTF8Bytes??
??:()Lcom/groupbyinc/flux/common/apache/lucene/util/CharsRef;??
???(Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Lcom/groupbyinc/flux/common/apache/lucene/util/CharsRef;Ljava/lang/String;Lcom/groupbyinc/flux/search/suggest/SuggestUtils$TokenConsumer;)I??
?analyzerIllegal suggest sort @sortValresolveDistanceZ(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/spell/StringDistance;internalEINTERNAL_LEVENSHTEINFLcom/groupbyinc/flux/common/apache/lucene/search/spell/StringDistance;GH	-Idamerau_levenshteinKdamerauLevenshteinMOcom/groupbyinc/flux/common/apache/lucene/search/spell/LuceneLevenshteinDistanceO
P&
levensteinRHcom/groupbyinc/flux/common/apache/lucene/search/spell/LevensteinDistanceT
U&jarowinklerWIcom/groupbyinc/flux/common/apache/lucene/search/spell/JaroWinklerDistanceY
Z&ngram\Ccom/groupbyinc/flux/common/apache/lucene/search/spell/NGramDistance^
_&Illegal distance option adistanceValparseDirectSpellcheckerSettings?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/String;Lcom/groupbyinc/flux/search/suggest/DirectSpellcheckerSettings;Lcom/groupbyinc/flux/common/ParseFieldMatcher;)Z12com/groupbyinc/flux/common/xcontent/XContentParserg
floatValuei2hj16
0lSUGGEST_MODE'Lcom/groupbyinc/flux/common/ParseField;no		p,com/groupbyinc/flux/common/ParseFieldMatcherrmatch<(Ljava/lang/String;Lcom/groupbyinc/flux/common/ParseField;)Ztu
svtextxXhy
{F(Lcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestMode;)V2}
0~=34
??(Lcom/groupbyinc/flux/search/suggest/Suggest$Suggestion$Sort;)V=?
0?STRING_DISTANCE?o		?CD
?di
0?	MAX_EDITS?o		?intValue?Bh?lp
0?Illegal max_edits value ?(I)Ljava/lang/StringBuilder;P?
L?MAX_INSPECTIONS?o		?sp
0?
MAX_TERM_FREQ?o		?y6
0?
PREFIX_LENGTH?o		?p
0?MIN_WORD_LENGTH?o		?minQueryLength?p
0?MIN_DOC_FREQ?o		??6
0?parser4Lcom/groupbyinc/flux/common/xcontent/XContentParser;	fieldNameparseFieldMatcher.Lcom/groupbyinc/flux/common/ParseFieldMatcher;parseSuggestContext?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Lcom/groupbyinc/flux/index/mapper/MapperService;Ljava/lang/String;Lcom/groupbyinc/flux/search/suggest/SuggestionSearchContext$SuggestionContext;Lcom/groupbyinc/flux/common/ParseFieldMatcher;)Z?.com/groupbyinc/flux/index/mapper/MapperService?analysisService6()Lcom/groupbyinc/flux/index/analysis/AnalysisService;??
??2com/groupbyinc/flux/index/analysis/AnalysisService?F(Ljava/lang/String;)Lcom/groupbyinc/flux/index/analysis/NamedAnalyzer;??
??
Analyzer [?] doesn't exists?setAnalyzer?(Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;)V??
??setField?[
?size?setSize?p
?
SHARD_SIZE?o		?setShardSize?p
?analyzerName
mapperService0Lcom/groupbyinc/flux/index/mapper/MapperService;NLcom/groupbyinc/flux/search/suggest/SuggestionSearchContext$SuggestionContext;verifySuggestion?(Lcom/groupbyinc/flux/index/mapper/MapperService;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/search/suggest/SuggestionSearchContext$SuggestionContext;)VgetField?X
?$The required field option is missing?getText??
?#The required text option is missing?setText??
?getAnalyzer>()Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;??
?searchAnalyzer??
??getShardSize()Ljava/lang/Integer;??
?java/lang/Integer?
??getSize?B
java/lang/Mathmax(II)I

globalTextgetShingleFilterFactory?(Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;)Lcom/groupbyinc/flux/index/analysis/ShingleTokenFilterFactory$Factory;0com/groupbyinc/flux/index/analysis/NamedAnalyzer??

1com/groupbyinc/flux/index/analysis/CustomAnalyzertokenFilters:()[Lcom/groupbyinc/flux/index/analysis/TokenFilterFactory;
8[Lcom/groupbyinc/flux/index/analysis/TokenFilterFactory;getInnerFactoryH()Lcom/groupbyinc/flux/index/analysis/ShingleTokenFilterFactory$Factory;
5com/groupbyinc/flux/index/analysis/TokenFilterFactorytokenFilterFactory7Lcom/groupbyinc/flux/index/analysis/TokenFilterFactory;a3Lcom/groupbyinc/flux/index/analysis/CustomAnalyzer;Tcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestWordFrequencyComparator"
#&Fcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestWordQueue%DEFAULT_COMPARATOR'!	&(	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable
Exceptions
SourceFileInnerClasses1 !*"#!*"$%+3*?'?,()-
46	*++v??-Y?.L+*?4?8?<*?@?D.?' ?FM?(?HM?!?JY?LY?MO?S*?@?V?Z?]?+,?c+*?g?k+*?n?r+*?u?x+*?{?~+*????+*????+*????+??+?,48?!??!??????`D?!. 8?"??"`D?"-J:;=4?8@;B?CBE`GeHmIuJ}K?L?M?N?O?P/?4-?_???+?/+??>,?d?+,2??+*??????+,,?d2??+???,*??/??/??/??-TUVWU Y*Z/	??	??+h+??*??,-???,4??????????-
st0?	??+p
|*,??Y+??+??+?׷ڶ?::-??6?!???:?????::?:?!???:		?????/47?%K?%T`eh?KVT,4b??|??|??|??|??-xz%{KxT{/d?7?????????????H??	???????0?	??+	X=>*??+*??*???
+??????+??
*??,?Y*S?	?:?
*???Y*S?	??";;=;,*X
?X??V?T
-B????
????"?&?-?8?;?A?H?V?/?
M???
?0?	+?N*??K*???%?'*???*?,*???/??JY?LY?M1?S*?S?Z?]?,N2?-"???? ?$?.?2?/

	34+|86*???:?<*??????JY?LY?MA?S*?S?Z?]?,8B?-?
????/
	CD+?|F*???J?L*??
N*???PY?Q?S*???UY?V?X*???ZY?[?]*???_Y?`??JY?LY?Mb?S*?S?Z?]?,|c?-.?
??"?*?4?<?F?N?X?`?/	de+?'f+??,*?k?m?-+?q?w?,*?z?|????+??,*?z??????-+???w?,*?z??????-+???w?<,*????,?n?,?n???JY?LY?M??S,?n???Z?]?-+???w?,*?????e-+???w?,*?k???M-+???w?,*?????5-+???w?,*?????-+???w?,*?k?????,*'??'??'??'??-b?
??"?2?<?L?W?g?r?|?????????????????????#?%?/$0?	??+K??,??G*?z:+????:?&?JY?LY?MȶS?SʶS?Z?]?-?ΧL?,??-*?z?ҧ5?,??-*???ק,?ڶw?-*???ݧ??,H9??.?????????????????-:?
???"?E?K?X?e?o?|??????/?E???0?	??+?T,????JY?]?,???+??JY??]?,+??,???,*????,?????,,???ݱ, T??T?T??-.
(-4<GS/		
+]*??*??K*??H*?L+?M,N-?66?.-2:???????	???????,*6@  ;]??-2  6!>"G#O$U [(/+????
??!%+-?#Y?$?H?)?F?-
1
212:	
	
		@	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy