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

com.groupbyinc.flux.search.suggest.completion.context.ContextMappings.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4?Ecom/groupbyinc/flux/search/suggest/completion/context/ContextMappingsjava/lang/Object.com/groupbyinc/flux/common/xcontent/ToXContentContextMappings.javaGcom/groupbyinc/flux/search/suggest/completion/context/ContextMappings$1Wcom/groupbyinc/flux/search/suggest/completion/context/ContextMappings$TypedContextField
TypedContextField6com/groupbyinc/flux/index/mapper/ParseContext$Document
-com/groupbyinc/flux/index/mapper/ParseContextDocumentYcom/groupbyinc/flux/search/suggest/completion/context/ContextMapping$InternalQueryContextDcom/groupbyinc/flux/search/suggest/completion/context/ContextMappingInternalQueryContext5com/groupbyinc/flux/common/xcontent/ToXContent$ParamsParamsIcom/groupbyinc/flux/search/suggest/completion/context/ContextMapping$TypeTypecontextMappingsLjava/util/List;XLjava/util/List;contextNameMapLjava/util/Map;iLjava/util/Map;$assertionsDisabledZ(Ljava/util/List;)V()V%'
(java/util/List*size()I,-+.'java/lang/UnsupportedOperationException0java/lang/StringBuilder2
3(/Maximum of 10 context types are supported was: 5append-(Ljava/lang/String;)Ljava/lang/StringBuilder;78
39(I)Ljava/lang/StringBuilder;7;
3<toString()Ljava/lang/String;>?
3@(Ljava/lang/String;)V%B
1C	Ejava/util/HashMapG(I)V%I
HJ !	Literator()Ljava/util/Iterator;NO+Pjava/util/IteratorRhasNext()ZTUSVnext()Ljava/lang/Object;XYSZname\?
]
java/util/Map_put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;ab`cmappingFLcom/groupbyinc/flux/search/suggest/completion/context/ContextMapping;thisGLcom/groupbyinc/flux/search/suggest/completion/context/ContextMappings;getZ(Ljava/lang/String;)Lcom/groupbyinc/flux/search/suggest/completion/context/ContextMapping;&(Ljava/lang/Object;)Ljava/lang/Object;ik`ljava/util/ArrayListnkeySet()Ljava/util/Set;pq`r(Ljava/util/Collection;)V%t
oujava/util/Collectionswsorty&
xz"java/lang/IllegalArgumentException|Unknown context name [~], must be one of ?
@
}Ckeys$Ljava/util/List;Ljava/lang/String;contextMappingaddFieldo(Lcom/groupbyinc/flux/index/mapper/ParseContext$Document;Ljava/lang/String;Ljava/lang/String;ILjava/util/Map;)V?(Lcom/groupbyinc/flux/search/suggest/completion/context/ContextMappings;Ljava/lang/String;Ljava/lang/String;ILjava/util/Map;Lcom/groupbyinc/flux/index/mapper/ParseContext$Document;)V%?
?addB(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableField;)V??
?document8Lcom/groupbyinc/flux/index/mapper/ParseContext$Document;inputweightIcontextsLLjava/util/Map;>;toContextQuery?(Lcom/groupbyinc/flux/common/apache/lucene/search/suggest/document/CompletionQuery;Ljava/util/Map;)Lcom/groupbyinc/flux/common/apache/lucene/search/suggest/document/ContextQuery;Mcom/groupbyinc/flux/common/apache/lucene/search/suggest/document/ContextQuery?U(Lcom/groupbyinc/flux/common/apache/lucene/search/suggest/document/CompletionQuery;)V%?
??isEmpty?U`?=com/groupbyinc/flux/common/apache/lucene/util/CharsRefBuilder?
?(grow?I
??	setCharAt(IC)V??
??	setLength?I
??(I)Ljava/lang/Object;i?+?context??	?Y(Ljava/lang/CharSequence;)Lcom/groupbyinc/flux/common/apache/lucene/util/CharsRefBuilder;7?
??
toCharsRef:()Lcom/groupbyinc/flux/common/apache/lucene/util/CharsRef;??
??boost??	?isPrefix?$	?Pcom/groupbyinc/flux/common/apache/lucene/search/suggest/document/CompletionQuery?6com/groupbyinc/flux/common/apache/lucene/util/CharsRef?
addContext(Ljava/lang/CharSequence;FZ)V??
??[Lcom/groupbyinc/flux/search/suggest/completion/context/ContextMapping$InternalQueryContext;internalQueryContextmLjava/util/List;typeIdscratch?Lcom/groupbyinc/flux/common/apache/lucene/util/CharsRefBuilder;queryRLcom/groupbyinc/flux/common/apache/lucene/search/suggest/document/CompletionQuery;
queryContexts?Ljava/util/Map;>;typedContextQueryOLcom/groupbyinc/flux/common/apache/lucene/search/suggest/document/ContextQuery;getNamedContexts!(Ljava/util/List;)Ljava/util/Map;java/lang/CharSequence?charAt(I)C????#$	?java/lang/AssertionError?!Returned context has invalid type?(Ljava/lang/Object;)V%?
??
java/util/Set?java/util/HashSet?
?(length?-??subSequence(II)Ljava/lang/CharSequence;????(Ljava/lang/Object;)Z????contextEntries)Ljava/util/Set;Ljava/util/Set;typedContextLjava/lang/CharSequence;*Ljava/util/List;
contextMaploadx(Ljava/lang/Object;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/search/suggest/completion/context/ContextMappings;/com/groupbyinc/flux/ElasticsearchParseException?
o(t(Ljava/util/Map;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/search/suggest/completion/context/ContextMapping;?
+?%expected at least one context mapping((Ljava/lang/String;[Ljava/lang/Object;)V%
	
singletonList$(Ljava/lang/Object;)Ljava/util/List;
x
.expected a list or an entry of context mapping%&

contextConfigLjava/lang/Object;configurations$Ljava/util/List;
configurationindexVersionCreatedLcom/groupbyinc/flux/Version;\extractRequiredValue5(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
typeR$SwitchMap$org$elasticsearch$search$suggest$completion$context$ContextMapping$Type[I!"		#
fromString_(Ljava/lang/String;)Lcom/groupbyinc/flux/search/suggest/completion/context/ContextMapping$Type;%&
'ordinal)-
*java/lang/String,Lcom/groupbyinc/flux/search/suggest/completion/context/CategoryContextMapping.q(Ljava/lang/String;Ljava/util/Map;)Lcom/groupbyinc/flux/search/suggest/completion/context/CategoryContextMapping;?0
/1Gcom/groupbyinc/flux/search/suggest/completion/context/GeoContextMapping3l(Ljava/lang/String;Ljava/util/Map;)Lcom/groupbyinc/flux/search/suggest/completion/context/GeoContextMapping;?5
46unknown context type[8]:5com/groupbyinc/flux/index/mapper/DocumentMapperParser<checkNoRemainingFieldsA(Ljava/lang/String;Ljava/util/Map;Lcom/groupbyinc/flux/Version;)V>?
=@5Ljava/util/Map;	missing [C] in context mappingEremoveGk`H	paramName
paramValue
toXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;java/io/IOExceptionN3com/groupbyinc/flux/common/xcontent/XContentBuilderPstartObject7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;RS
QTLM
V	endObjectXS
QYbuilder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;params7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;hashCodejava/util/Objects`hash([Ljava/lang/Object;)Ibc
adequalsf?+gobjother
access$000Y(Lcom/groupbyinc/flux/search/suggest/completion/context/ContextMappings;)Ljava/util/List;x0java/lang/ClassodesiredAssertionStatusqU
pr	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable[(Ljava/util/List;)V?(Lcom/groupbyinc/flux/index/mapper/ParseContext$Document;Ljava/lang/String;Ljava/lang/String;ILjava/util/Map;>;)V3(Lcom/groupbyinc/flux/common/apache/lucene/search/suggest/document/CompletionQuery;Ljava/util/Map;>;)Lcom/groupbyinc/flux/common/apache/lucene/search/suggest/document/ContextQuery;x(Ljava/util/List;)Ljava/util/Map;>;
Exceptions?(Ljava/util/Map;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/search/suggest/completion/context/ContextMapping;[(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
SourceFileInnerClasses!t !t"#$%&us*?)+?/??#?1Y?3Y?46?:+?/?=?A?D?*+?F*?HY+?/?K?M+?QM,?W?,?[?N*?M-?^-?dW??ޱv `efsghswsx&	9:=0?5@FA`BoCrDy?0+?S?$tz,-u4
*?F?/?v
ghxKiju?P*?M+?m?M,???oY*?M?s?vN-?{?}Y?3Y?4?:+?:??:-???:?A???,?v*#+?PghP\?B?fw#+??xRST#U'VNXy?N??u?	+?Y*,-+?????v>gh??\??????!w??x
`at{??u 
???Y+??N,??????Y??:??6*?F?/???????*?F???:,?^?m?+:?R?Q:?W???[?:		????W-??	???	??????????????l-?v\	?-??	QdefaT?$???????gh?????!	???waT?????xF?	???!?2?;?A?Q?a?f?????????????y??$???J+S?8
?`??+S???
?`??+S????`???t|??u???HY+?/?KM+?QN-?W??-?[??:??6?ߚ*?F?/?
??Y??*?F???:,?^?m??:???Y??:,?^?dW??????W??q,?vH3q??aCefq3??){???gh????!w q3????????x2??)?3?Q?a?q?v????????y+?`S?;??;??+`t}	??uq?*?+?Y?oY?M*?+N-?Q:?W??[:,?`+??W???,?/??Y??
??(*?`?*?`+??M??Y??
??Y,??vH/FNp???	w*FNp?	x2????/???B?K?Z?d?s???y?++S?%???+~
?u,w*?M* ?N?$-?(?+.?-#,*?2:?3,*?7:?)?Y?3Y?49?:-?:;?:?A??
?,*+?A?vH;?fE?fw!wo\?g?n	?fwwBx*
???4?;?>?E?H?n?t?y?4--		?%t
u??*+?mM,?)?Y?3Y?4D?:+?:F?:?A??
?*+?IW,???v ?!?J?7Kw?Bx???2?:?y?2t?LMu?5*?F?QN-?W?#-?[?:+?UW+,?WW+?ZW???+?v*?f5gh5[\5]^x#	+
03y?
S?(~O_-u9?Y*?FS?e?vghxf?ut +?
+???+?M*?F,?F?h?v  gh ijhx
yklu/*?F?vmhx5n'u4?s???߱x5y@??2				@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy