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

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

There is a newer version: 129
Show newest version
????4b1com/groupbyinc/flux/search/suggest/SuggestBuilder4com/groupbyinc/flux/action/support/ToXContentToBytes.com/groupbyinc/flux/common/io/stream/WriteableSuggestBuilder.javajava/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/SuggestionSearchContextSuggestionContextGLOBAL_TEXT_FIELD'Lcom/groupbyinc/flux/common/ParseField;
globalTextLjava/lang/String;suggestionsLjava/util/Map;\Ljava/util/Map;>;$assertionsDisabledZ()V%&
'java/util/HashMap)
*' !	,this3Lcom/groupbyinc/flux/search/suggest/SuggestBuilder;5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Vjava/io/IOException10com/groupbyinc/flux/common/io/stream/StreamInput3readOptionalString()Ljava/lang/String;56
47	9readVInt()I;<
4=
readString?6
4@4com/groupbyinc/flux/search/suggest/SuggestionBuilderBreadNamedWriteableH(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;DE
4Fput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;HIJiIin2Lcom/groupbyinc/flux/common/io/stream/StreamInput;sizewriteTo6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V1com/groupbyinc/flux/common/io/stream/StreamOutputSwriteOptionalString(Ljava/lang/String;)VUV
TWP<Y	writeVInt(I)V[\
T]entrySet()Ljava/util/Set;_`a
java/util/Setciterator()Ljava/util/Iterator;efdgjava/util/IteratorihasNext()Zkljmnext()Ljava/lang/Object;opjqgetKeysp	tjava/lang/StringvwriteStringxV
TygetValue{p	|3com/groupbyinc/flux/common/io/stream/NamedWriteable~writeNamedWriteable8(Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;)V??
T?
suggestionbLjava/util/Map$Entry;>;Ljava/util/Map$Entry;out3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
setGlobalTextG(Ljava/lang/String;)Lcom/groupbyinc/flux/search/suggest/SuggestBuilder;%Lcom/groupbyinc/flux/common/Nullable;
getGlobalText
addSuggestion}(Ljava/lang/String;Lcom/groupbyinc/flux/search/suggest/SuggestionBuilder;)Lcom/groupbyinc/flux/search/suggest/SuggestBuilder;every suggestion needs a name?java/util/Objects?requireNonNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;??
??get&(Ljava/lang/Object;)Ljava/lang/Object;???"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?',already added another suggestion with name [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??]?toString?6
??%V
??name9Lcom/groupbyinc/flux/search/suggest/SuggestionBuilder<*>;6Lcom/groupbyinc/flux/search/suggest/SuggestionBuilder;getSuggestions()Ljava/util/Map;
toXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;3com/groupbyinc/flux/common/xcontent/XContentBuilder?startObject7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??text?field[(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
????
C?	endObject??
??builder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;params7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;fromXContenti(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/search/suggest/SuggestBuilder;
'currentToken<()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;???	nextToken???#$	?START_OBJECT:Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;??	?java/lang/AssertionError?$current token must be a start object?(Ljava/lang/Object;)V%?
??
END_OBJECT??	?
FIELD_NAME??	?currentName?6?isValue?l
?	?%com/groupbyinc/flux/common/ParseField?match(Ljava/lang/String;)Z??
???6???
?[suggest] does not support [?suggestion must have name?l(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/search/suggest/SuggestionBuilder;??
C??
+com/groupbyinc/flux/common/ParsingExceptiongetTokenLocation8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation;unexpected token [
-(Ljava/lang/Object;)Ljava/lang/StringBuilder;?
?
	] after [java/lang/Object^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)V%
suggestionNameparser4Lcom/groupbyinc/flux/common/xcontent/XContentParser;suggestBuilder	fieldNametokenbuildq(Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/search/suggest/SuggestionSearchContext;
'?(Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/search/suggest/SuggestionSearchContext$SuggestionContext;
C getText:()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;"#
$#The required text option is missing&+com/groupbyinc/flux/common/lucene/BytesRefs(
toBytesRefL(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;*+
),setText;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V./
0c(Ljava/lang/String;Lcom/groupbyinc/flux/search/suggest/SuggestionSearchContext$SuggestionContext;)V?2
3suggestionContextNLcom/groupbyinc/flux/search/suggest/SuggestionSearchContext$SuggestionContext;context3Lcom/groupbyinc/flux/index/query/QueryShardContext;suggestionSearchContext
?'(Ljava/lang/Object;Ljava/lang/Object;)Z;A
?BotherLjava/lang/Object;ohashCodehash([Ljava/lang/Object;)IHI
?Jjava/lang/ClassMdesiredAssertionStatusOl
NP((Ljava/lang/String;[Ljava/lang/String;)V%R
?S	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable
ExceptionsLocalVariableTypeTable"RuntimeVisibleParameterAnnotationsRuntimeVisibleAnnotations?(Ljava/lang/String;Lcom/groupbyinc/flux/search/suggest/SuggestionBuilder<*>;)Lcom/groupbyinc/flux/search/suggest/SuggestBuilder;^()Ljava/util/Map;>;
SourceFileInnerClasses! !U"#$
%&VB*?(*?*Y?+?-?W./X839%0V?>*?(*?*Y?+?-*+?8?:+?>=>?*?-+?A+C?G?KW????W*LM>./>NO"PMX">3?@A#B7A=DY?4?Z2QRV?Z+*?:?X*?-?Z=+?^*?-?b?hN-?n?--?r?	:+?u?w?z+?}?????бW*:??Z./Z??HPM[:??X"HIJK:LHMVNYOY?&j?2Z2??V?*+?:*?W./X
YZ\??6V/*?:?W./Xb]???V?E+???W*?-+???*?-+,?KW?#??Y??Y?????+??????????*?W E./E?E??[E??Xklm#oCqY#U^??V/*?-?W./XyU_??V?h+??W*?:?+?*?:??W*?-?b?hN-?n?5-?r?	:+?u?w??W?}?C+,??W+??W???+??W+?W*:$??h./h??h??[:$??X*
~??:?I?Y?^?a?f?Y?j?:Z2	??V??Y??LM*???
*??W?ך*???ۥ
??Y߷?*??YN???-??
*??M???-??;??,???+*????W??Ż?Y??Y?????,??????????-?ۦ#,:?
??Y????+*??W??~?Y*?	??Y????-???,??????????+?W4???/
?>??XR??
???6?D?K?U?\?f?t?????????????????Y?w??w?
4Z2Vv?Y?M*?-?b?hN-?n?W-?r?	:?}?C+?!:?%?!*?:???Y'???*?:?-?1,?u?w?4???,?W4;656+F??v./v78n9:[+F??X*
??+?;?C?J?U?a?q?t?Y?j?=	?Z2;<V??*+??+?*?@+?@??+?M*?:,?:?C?*?-,?-?C???W ?./?DE"F/X"??????3?>?Y
?$@G<V@?Y*?:SY*?-S?K?W./X?L&VH!?Q???׻?Y??w?T??X
/0Y@`a"			D		




© 2015 - 2025 Weber Informatics LLC | Privacy Policy