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: 198
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$TypeTypeDEPRECATION_LOGGER6Lcom/groupbyinc/flux/common/logging/DeprecationLogger;contextMappingsLjava/util/List;XLjava/util/List;contextNameMapLjava/util/Map;iLjava/util/Map;$assertionsDisabledZ(Ljava/util/List;)V()V')
*java/util/List,size()I./-0'java/lang/UnsupportedOperationException2java/lang/StringBuilder4
5*/Maximum of 10 context types are supported was: 7append-(Ljava/lang/String;)Ljava/lang/StringBuilder;9:
5;(I)Ljava/lang/StringBuilder;9=
5>toString()Ljava/lang/String;@A
5B(Ljava/lang/String;)V'D
3E 	Gjava/util/HashMapI(I)V'K
JL"#	Niterator()Ljava/util/Iterator;PQ-Rjava/util/IteratorThasNext()ZVWUXnext()Ljava/lang/Object;Z[U\name^A
_
java/util/Mapaput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;cdbemappingFLcom/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;kmbnjava/util/ArrayListpkeySet()Ljava/util/Set;rsbt(Ljava/util/Collection;)V'v
qwjava/util/Collectionsysort{(
z|"java/lang/IllegalArgumentException~Unknown context name [?], must be one of ?
B
Ekeys$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?Wb?=com/groupbyinc/flux/common/apache/lucene/util/CharsRefBuilder?
?*grow?K
??Pcom/groupbyinc/flux/common/apache/lucene/search/suggest/document/CompletionQuery?	setCharAt(IC)V??
??	setLength?K
??(I)Ljava/lang/Object;k?-?context??	?Y(Ljava/lang/CharSequence;)Lcom/groupbyinc/flux/common/apache/lucene/util/CharsRefBuilder;9?
??
toCharsRef:()Lcom/groupbyinc/flux/common/apache/lucene/util/CharsRef;??
??boost??	?isPrefix?&	?6com/groupbyinc/flux/common/apache/lucene/util/CharsRef?
addContext(Ljava/lang/CharSequence;FZ)V??
??	??The ability to query with no context on a context enabled completion field is deprecated and will be removed in the next major release.?4com/groupbyinc/flux/common/logging/DeprecationLogger?
deprecated((Ljava/lang/String;[Ljava/lang/Object;)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;
hasContextgetNamedContexts!(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
q*t(Ljava/util/Map;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/search/suggest/completion/context/ContextMapping;

-%expected at least one context mapping'?


singletonList$(Ljava/lang/Object;)Ljava/util/List;
z.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;'(
)type+R$SwitchMap$org$elasticsearch$search$suggest$completion$context$ContextMapping$Type[I-.		/
fromString_(Ljava/lang/String;)Lcom/groupbyinc/flux/search/suggest/completion/context/ContextMapping$Type;12
3ordinal5/
6java/lang/String8Lcom/groupbyinc/flux/search/suggest/completion/context/CategoryContextMapping:q(Ljava/lang/String;Ljava/util/Map;)Lcom/groupbyinc/flux/search/suggest/completion/context/CategoryContextMapping;
<
;=Gcom/groupbyinc/flux/search/suggest/completion/context/GeoContextMapping?l(Ljava/lang/String;Ljava/util/Map;)Lcom/groupbyinc/flux/search/suggest/completion/context/GeoContextMapping;
A
@Bunknown context type[D]F5com/groupbyinc/flux/index/mapper/DocumentMapperParserHcheckNoRemainingFieldsA(Ljava/lang/String;Ljava/util/Map;Lcom/groupbyinc/flux/Version;)VJK
IL5Ljava/util/Map;	missing [O] in context mappingQremoveSmbT	paramName
paramValue
toXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;java/io/IOExceptionZ3com/groupbyinc/flux/common/xcontent/XContentBuilder\startObject7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;^_
]`XY
b	endObjectd_
]ebuilder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;params7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;hashCodejava/util/Objectslhash([Ljava/lang/Object;)Ino
mpequalsr-sobjother
access$000Y(Lcom/groupbyinc/flux/search/suggest/completion/context/ContextMappings;)Ljava/util/List;x0
access$1008()Lcom/groupbyinc/flux/common/logging/DeprecationLogger;java/lang/Class}desiredAssertionStatusW
~?*com/groupbyinc/flux/common/logging/Loggers?	getLogger4(Ljava/lang/Class;)Lorg/apache/logging/log4j/Logger;??
??$(Lorg/apache/logging/log4j/Logger;)V'?
??	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! ?!"#?$%&'(?s*?++?1??#?3Y?5Y?68?<+?1???C?F?*+?H*?JY+?1?M?O+?SM,?Y?,?]?N*?O-?`-?fW??ޱ? `ghsijs ?s!?&	?@C0E5FFG`HoIrJ??0-?U?$??./?4
*?H?1??
ij?Qkl??P*?O+?o?M,???qY*?O?u?xN-?}?Y?5Y?6??<+?<??<-???ij??^??????#????
fg?????cԻ?Y+??N6,??????Y??:??6*?H?1???????*?H???:,?`?o?-:?U?S:		?Y?B	?]?:

????W-??
?†
?Ś?????6??????i???????-??f
?0??
TgghdW? '???????ij?????#	?????&?dW??????V?	????$?5?>?D?T?d?i??????????????????????'?b???J-U?8?b??-U????b??-U????b???????????JY+?1?MM+?SN-?Y??-?]??:??6??*?H?1?
??Y??*?H???:,?`?o??:???Y??:,?`?fW?????W??q,??H3q??aCghq3){?ij?? ?	#? q3???	??2??)?3?Q?a?q?v?????????+?bU?;??;??-b??	
?q?*?-?Y?qY?M*?-N-?S:?Y??]:,?b+??W???,?1??
Y????(*?b?*?b+??M??
Y????Y,???H/ F! N p ?# ?$%?	 ?*F!"N!p!?	!?2????/???B?K?Z?d?s?????--U?%???-?


?,w*&?*M*,?*N?0-?4?7.?-#,*?>:?3,*?C:?)?
Y?5Y?6E?<-?<G??E?Hnt??499		?%??
'(???*+?oM,?)?
Y?5Y?6P?<+?<R?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy