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

com.groupbyinc.flux.search.suggest.phrase.PhraseSuggestionBuilder.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4?Acom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder{Lcom/groupbyinc/flux/search/suggest/SuggestionBuilder;4com/groupbyinc/flux/search/suggest/SuggestionBuilderPhraseSuggestionBuilder.javaTcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder$CandidateGeneratorCandidateGeneratorjava/util/Map$Entry

java/util/MapEntry5com/groupbyinc/flux/common/xcontent/ToXContent$Params.com/groupbyinc/flux/common/xcontent/ToXContentParams8com/groupbyinc/flux/common/xcontent/XContentParser$Token2com/groupbyinc/flux/common/xcontent/XContentParserTokenLcom/groupbyinc/flux/search/suggest/SuggestionSearchContext$SuggestionContext:com/groupbyinc/flux/search/suggest/SuggestionSearchContextSuggestionContext1com/groupbyinc/flux/script/TemplateScript$Factory)com/groupbyinc/flux/script/TemplateScript FactoryZcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionContext$DirectCandidateGenerator#Acom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionContext%DirectCandidateGeneratorDcom/groupbyinc/flux/index/analysis/ShingleTokenFilterFactory$Factory(;collatePrunemodel:Lcom/groupbyinc/flux/search/suggest/phrase/SmoothingModel;
generators?Ljava/util/Map;>;(Ljava/lang/String;)V\]
^?EF	a cG2	e?s33HF	hIF	jLM	lNO	nWM	pjava/util/HashMapr()V\t
suZU	wthisCLcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder;fieldX(Ljava/lang/String;Lcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder;)VK(Ljava/lang/String;Lcom/groupbyinc/flux/search/suggest/SuggestionBuilder;)V\}
~JK	?P2	?Q2	?RS	?TU	?XY	?putAll(Ljava/util/Map;)V??
?	fieldnamein5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Vjava/io/IOException?\?
?0com/groupbyinc/flux/common/io/stream/StreamInput?	readFloat()F??
??readOptionalVInt()Ljava/lang/Integer;??
??8com/groupbyinc/flux/search/suggest/phrase/SmoothingModel?readOptionalNamedWriteableH(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;??
??readBoolean()Z??
??readVInt()I??
??readOptionalString()Ljava/lang/String;??
??
readString??
??!com/groupbyinc/flux/script/Script?
??readMap()Ljava/util/Map;??
??readOptionalBoolean()Ljava/lang/Boolean;??
??java/lang/Boolean?booleanValue??
??java/util/ArrayList?(I)V\?
??java/lang/String?java/util/List?Icom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGeneratorBuilder?
??add(Ljava/lang/Object;)Z????put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;??
?	generatorKLcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGeneratorBuilder;gtypenumberOfGeneratorsgeneratorsListhLjava/util/List;Ljava/util/List;i2Lcom/groupbyinc/flux/common/io/stream/StreamInput;generatorsEntries	doWriteTo6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V1com/groupbyinc/flux/common/io/stream/StreamOutput?
writeFloat(F)V??
??writeOptionalVInt(Ljava/lang/Integer;)V??
??writeOptionalNamedWriteable8(Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;)V??
??writeBoolean(Z)V??
??	writeVInt??
??writeOptionalString?]
??writeString?]
?writeTo?
?writeMapWithConsistentOrder?
?valueOf(Z)Ljava/lang/Boolean;	
?
writeOptionalBoolean(Ljava/lang/Boolean;)V
?size?
entrySet()Ljava/util/Set;

java/util/Setiterator()Ljava/util/Iterator;java/util/IteratorhasNext? next()Ljava/lang/Object;"#$getKey&#'getValue)#*??VLcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder$CandidateGenerator;entry?Ljava/util/Map$Entry;>;Ljava/util/Map$Entry;out3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;F(I)Lcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder;"java/lang/IllegalArgumentException6gramSize must be >= 18
7^java/lang/Integer;(I)Ljava/lang/Integer;=
<>F(F)Lcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder;max_error must be > 0.0A()Ljava/lang/Float;java/lang/FloatD(F)Ljava/lang/Float;F
EGW(Ljava/lang/String;)Lcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder;separator cannot be set to nullJjava/util/ObjectsLrequireNonNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;NO
MP(real_word_error_likelihood must be > 0.0Rconfidence must be >= 0.0TaddCandidateGenerator?(Lcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder$CandidateGenerator;)Lcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder;getTypeX?Yget&(Ljava/lang/Object;)Ljava/lang/Object;[\
]
?ulistclearCandidateGeneratorsE()Lcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder;clearct
dgetCandidateGeneratorsF(Z)Lcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder;smoothingModel(Lcom/groupbyinc/flux/search/suggest/phrase/SmoothingModel;)Lcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder;<()Lcom/groupbyinc/flux/search/suggest/phrase/SmoothingModel;token_limit must be >= 1k	highlighti(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder;7Pre and post tag must both be null or both not be null.o%com/groupbyinc/flux/script/ScriptTypeqINLINE'Lcom/groupbyinc/flux/script/ScriptType;st	rumustachewjava/util/CollectionsyemptyMap{?
z|](Lcom/groupbyinc/flux/script/ScriptType;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V\~
?h(Lcom/groupbyinc/flux/script/Script;)Lcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder;collateQueryTemplate%()Lcom/groupbyinc/flux/script/Script;T(Ljava/util/Map;)Lcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder;"collate parameters cannot be null.?\?
s?innerToXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;76	?%com/groupbyinc/flux/common/ParseField?getPreferredName??
??3com/groupbyinc/flux/common/xcontent/XContentBuilder?J(Ljava/lang/String;F)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;{?
??96	?86	?[(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;{?
??56	?:6	?\(Ljava/lang/String;Ljava/lang/Integer;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;{?
??<6	?J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;{?
??=6	?J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;{?
??isEmpty??
?
startArrayI(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??
toXContent???endArray7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??;6	?startObject??
??
??	endObject??
??>6	??6	?@6	?A6	?B6	?y(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/ToXContent;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;{?
??C6	?X(Ljava/lang/String;Ljava/util/Map;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;{?
??D6	??Ljava/util/Set;>;>;Ljava/util/Set;builder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;params7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;fromXContenty(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder;_na_?
^	nextToken<()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;???
END_OBJECT:Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;??	?
FIELD_NAME??	?currentName???isValue??
?ANALYZER_FIELD?6	?match(Ljava/lang/String;)Z??
??text???analyzerJ(Ljava/lang/String;)Lcom/groupbyinc/flux/search/suggest/SuggestionBuilder;
FIELDNAME_FIELD6	
SIZE_FIELD6	intValue
?9(I)Lcom/groupbyinc/flux/search/suggest/SuggestionBuilder;
SHARDSIZE_FIELD6		shardSizeK(Ljava/lang/Integer;)Lcom/groupbyinc/flux/search/suggest/SuggestionBuilder;

floatValue?H@
I@
GI
E@
 J5
"?Lg
%N5
'+com/groupbyinc/flux/common/ParsingException)getTokenLocation8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation;+,-java/lang/StringBuilder/
0u)suggester[phrase] doesn't support field [2append-(Ljava/lang/String;)Ljava/lang/StringBuilder;45
06]8toString:?
0;java/lang/Object=^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)V\?
*@START_ARRAYB?	CDIRECT_GENERATOR_FIELDE6	?FSTART_OBJECTH?	IPARSER>Lcom/groupbyinc/flux/common/xcontent/ConstructingObjectParser;KL	?M()Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;??
&?getShingleFilterFactory?(Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;)Lcom/groupbyinc/flux/index/analysis/ShingleTokenFilterFactory$Factory;??
?getMaxShingleSize??
)getMinShingleSize?
)getOutputUnigrams?
)!The default analyzer for field: [getField
?
&R] doesn't emit unigrams. If this is intentional try to set the analyzer explicitly
getRequireUnigram?
&LThe default candidate generator for phrase suggest can't operate on field: [l] since it doesn't emit unigrams. If this is intentional try to set the candidate generator field explicitly
$usetField]
$candidateGeneratorcandidateGenerators
scriptFactory3Lcom/groupbyinc/flux/script/TemplateScript$Factory;\Lcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionContext$DirectCandidateGenerator;shingleFilterFactoryFLcom/groupbyinc/flux/index/analysis/ShingleTokenFilterFactory$Factory;context3Lcom/groupbyinc/flux/index/query/QueryShardContext;suggestionContextCLcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionContext;
mapperService0Lcom/groupbyinc/flux/index/mapper/MapperService;0com/groupbyinc/flux/index/analysis/NamedAnalyzer'?
()1com/groupbyinc/flux/index/analysis/CustomAnalyzer+tokenFilters:()[Lcom/groupbyinc/flux/index/analysis/TokenFilterFactory;-.
,/:com/groupbyinc/flux/common/apache/lucene/analysis/Analyzer18[Lcom/groupbyinc/flux/index/analysis/TokenFilterFactory;3getInnerFactoryH()Lcom/groupbyinc/flux/index/analysis/ShingleTokenFilterFactory$Factory;56
+75com/groupbyinc/flux/index/analysis/TokenFilterFactory9tokenFilterFactory7Lcom/groupbyinc/flux/index/analysis/TokenFilterFactory;a3Lcom/groupbyinc/flux/index/analysis/CustomAnalyzer;
max_errorsV((Ljava/lang/String;[Ljava/lang/String;)V\X
?Yreal_word_error_likelihood[GI	gram_size_	smoothingaforce_unigramsctoken_limitempre_taghpost_tagjcollatelqueryn?pruneq
ConstantValue	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable
Exceptions?()Ljava/util/Map;>;z(Ljava/util/Map;)Lcom/groupbyinc/flux/search/suggest/phrase/PhraseSuggestionBuilder;7()Ljava/util/Map;
SourceFileInnerClasses!12s456768696:6;6<6=6>6?6@6A6B6C6D6EFG2HFIFJKLMNOP2Q2RSTUtVWMXYZUt[+\]u?8*+?_*`?b*d?f*g?i*?k*?m*
?o*?q*?sY?v?x?v8yz8{2w*
aPQRSV!W'\,^7b\|uH?*+,?*`?b*d?f*g?i*?k*?m*
?o*?q*?sY?v?x*,?b?b*,?f?f*,?i?i*,?k?k*,????*,?m?m*,?o?o*,????*,????*,????*,????*,?q?q*,????*?x,?x???v ?yz??2??zwbiPQRSV"W(\-^8j@kHlPmXn`ohppqxr?s?t?u?v?w?x\?ud	*+??*`?b*d?f*g?i*?k*?m*
?o*?q*?sY?v?x*+???b*+???i*+???k*+????*+???????*+???m*+???o*+????*+????*+???f+???*??Y+????*+????*+???ŵq+??=>?R+??:+??6??Y??:6???Y+??:??W????*?x??W?????v\	?
???!?O?C?2?=?O?2???T?Oyz???W?Ox?2??w?#~PQRSV!W'\,^7??G?O?W?d?l?t?|????????????????????????????????
?y<????????? ??z???u??+*?b??+*?i??+*?k??+*????+*????+*?m??+*?o??+*????+*????+*?f?*???+??*??+??+??+*???+*?q??+*?x???*?x??M,?!?],?%?N+-?(?̶-?+??:+?,???-:?!??%?:+?.??????v4??/?5???M02?yz?34x?5???M01wj???? ?(?0?8?@?H?P?W?\?g?l?t????????????????????y?g?.?>?? ?z?J5uc??7Y9?:?*????*?vyzJOw????yJ?u/*???vyzw?E@ub#????7YB?:?*#?b*?vyzEFw????yECu2*?b?H?vyzw?GIuK+K?QW*+?f*?vyzG2w??
?G?u/*?f?vyzw?H@ub#????7YS?:?*#?i*?vyzHFw??yHCu2*?i?H?vyzwI@ub#????7YU?:?*#?k*?vyzIFwyICu2*?k?H?vyzw VWu?:*?x+?Z?^??M,???Y?_M*?x+?Z,??W,+??W*?v :yz:?/'`?x'`?w)*+,0.8/y?0?abu9*?x?e*?vyzw
6	7f?u/*?x?vyzw>t{Lgu?*?m*?vyzLMw
FGL?u2*?m??vyzwNhiu?*+??*?vyzXYw
VWhju/*???vyzw^N5u_??7Yl?:?*?o*?vyzNOwbcefyN?u2*?o???vyzwmmnu?,+??,????7Yp?:?*+??*,??*?v ,yz,P2,Q2wuv x%y*zy@G???
P?u/*???vyzw?Q?u/*???vyzw?RIuO*??Y?vx+?}????*?vyzR2w
??R?u?*+??*?vyz?Sw
??R?u/*???vyzw?T?ud+??QW*?sY+????*?vyzTUxTVw???t|T?u/*???vyzw?t}Wgu?*?q*?vyzWMw
??W?u2*?q??vyzw???u??+????*?i??W+????*?k??W+????*?f??W+????*?b??W*???+????*????W+????*?m??W+????*?o??W*?x???v*?x?N-?:?!?Z?%?:+?(?̶?W?+?ι-:?!??%?:+,??W???+??W???*???+??????W*??+,??W+??W*???1+?Ƕ???W+?ɶ?*????W+?˶?*????W+??W*???G+?Ͷ???W+?϶?*????W*???+?Զ?*????W+?ٶ?*?q??W+??W+?v>?
?/?H02?i??yz??????x?H01?i?w?"???-?<?C?R?a?p?|???????????????????????"?1?@?E?L?W?f?m?|?????y!	?R?;?5?"? 46z?	??u??Y??LMN*??Y:?????
*??M??????6??,???+*???W??²,???
*??N????	,???+*??W????,???+*????W??{??,???+*??W??c??,???+*??W??K??,???+*???W??3??,???+*??!W????,???+*??#W????,???+*?$?&W????,???+*??(W??ӻ*Y*?.?0Y?13?7,?79?7?<?>?A??D?[?G,???%*??Y:?J???+?N*?T??VW???*Y*?.?0Y?1X?7,?79?7?<?>?A??J?ٲ?,???+?\+*?_?aW??%??,????::*??Y:??s??
*??M???????ڲ?,???*??:??Ų?,???*??:????*Y*?.?0Y?1c?7,?79?7?<?>?A?+?eW?????,????*??Y:???q??
*??M????,???I+?g?/?*Y*?.?0Y?1i?7,?79?7?<?>?A?*x?m:+?oW?????,???+*?r?tW??z??,???/*?w?+*?$?yW??Y?*Y*?.{?>?A??*Y*?.?0Y?1}?7,?79?7?<?>?A??*Y*?.?0Y?1X?7,?79?7?<?>?A??*Y*?.?0Y?13?7,?79?7?<?>?A?-?.?Y?0Y?1??7?????7??7?<?>????Y-+???vR??P2??Q2??S???z???
?2??2w*J??
???&?0?8?B?P?Z?d?n?|?????????????	
'1?ks}???????? ?!?"#$%&&0';(E)P+|0?1?2?3?4?5?6?7?;?<=
>?%@.A<CQG}L?P?V?W?XZy?#???? +!+!??? +?	 < +++.z???u\?&Y+??M+??N*-,??,*?f????,*?i?H??,*?k??,*?b?H??,*?m??,*?o??,*??????,*??????*???,*??????*?x????:?!?@?%??:?-:?!??%?:,-???ҧ?ާ??*???,*???ֶ?*???3+??*??????:,??*???,*????,*?q??*???,??????,????:*???N?I,???,???9??0??(?7Y?0Y?1	?7,??7?7? ;-3]?w2????? ?6?>?G?O?U?[?y+?2,44?:?
?2
YZuN*?A??7YC?:??vDzw???yE?u-4?vyzw?FGug?*?b?H+?b?H?K??*?f+?f?K??*?i?H+?i?H?K??*?k?H+?k?H?K??*?x+?x?K??*??+???K??*??+???K?{*?m?+?m??K?g*?o??+?o???K?S*??+???K?E*??+???K?7*??+???K?)*??+???K?*?q?+?q??K???v?yz?Lzw>??&?:?R?`?n?x???????????????y??@M?u???>Y*?b?HSY*?fSY*?i?HSY*?k?HSY*?xSY*??SY*??SY*?m?SY*?o??SY	*??SY
*??SY*??SY*??SY
*?q?S?Q?v?yzw?G?}???DFRu3	*+??T?v	yzw<UtuP??YW?̷Z????Y\?̷Z????Y]?̷Z????Y^?̷Z????Y`?̷Z????Yb?̷Z????Yd?̷Z????Yf?̷Z????Yg?̷Z?ǻ?Yi?̷Z?ɻ?Yk?̷Z?˻?Ym?̷Z?ͻ?Yo?̷Z?ϻ?Yp?̷Z?Ի?Yr?̷Z?ٱw>@A"B3CDDUEfFwG?H?I?J?K?L?M?Nt~J			
		D		!"	$&')+"-/0	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy