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

com.groupbyinc.flux.index.similarity.SimilarityService.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4R6com/groupbyinc/flux/index/similarity/SimilarityService0com/groupbyinc/flux/index/AbstractIndexComponentSimilarityService.javaIcom/groupbyinc/flux/index/similarity/SimilarityService$PerFieldSimilarityPerFieldSimilarityjava/util/Map$Entry	
java/util/MapEntry4com/groupbyinc/flux/common/settings/Settings$Builder,com/groupbyinc/flux/common/settings/SettingsBuilder%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupDEPRECATION_LOGGER6Lcom/groupbyinc/flux/common/logging/DeprecationLogger;DEFAULT_SIMILARITYLjava/lang/String;BM25defaultSimilarityILcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity;similaritiesLjava/util/Map;\Ljava/util/Map;DEFAULTS?Ljava/util/Map;>;BUILT_IN;(Lcom/groupbyinc/flux/index/IndexSettings;Ljava/util/Map;)V,(Lcom/groupbyinc/flux/index/IndexSettings;)V&(
)java/util/HashMap+size()I-./(I)V&1
,2
indexSettings)Lcom/groupbyinc/flux/index/IndexSettings;45	6'com/groupbyinc/flux/index/IndexSettings8getSettings0()Lcom/groupbyinc/flux/common/settings/Settings;:;
9<index.similarity>	getGroups#(Ljava/lang/String;)Ljava/util/Map;@A
BentrySet()Ljava/util/Set;DEF
java/util/SetHiterator()Ljava/util/Iterator;JKILjava/util/IteratorNhasNext()ZPQORnext()Ljava/lang/Object;TUOVgetKeyXU
Yjava/lang/String[%!	]containsKey(Ljava/lang/Object;)Z_`agetIndexVersionCreated()Lcom/groupbyinc/flux/Version;cd
9ecom/groupbyinc/flux/VersiongV_5_0_0_alpha1Lcom/groupbyinc/flux/Version;ij	hk	onOrAfter (Lcom/groupbyinc/flux/Version;)Zmn
ho"java/lang/IllegalArgumentExceptionqjava/lang/StringBuilders()V&u
tv%Cannot redefine built-in Similarity [xappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;z{
t|]~toString()Ljava/lang/String;??
t?(Ljava/lang/String;)V&?
r?getValue?U
?type?get&(Ljava/lang/String;)Ljava/lang/String;??
?Similarity [?] must have an associated type?Unknown Similarity type [?] for [?&(Ljava/lang/Object;)Ljava/lang/Object;???&com/groupbyinc/flux/common/TriFunction?getOrDefault8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;???EMPTY_SETTINGS.Lcom/groupbyinc/flux/common/settings/Settings;??	?applyJ(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;????put???#!	?addSimilarities](Ljava/util/Map;Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/Map;)Ljava/util/Map;??
?before?n
h? !	?default?7com/groupbyinc/flux/index/similarity/SimilarityProvider?K()Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity;????Gcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity?	?base?	?WThe [base] similarity is ignored since query normalization and coords have been removed?java/lang/Object?4com/groupbyinc/flux/common/logging/DeprecationLogger?
deprecated((Ljava/lang/String;[Ljava/lang/Object;)V??
??nameproviderSettingstypeNamedefaultFactory?Lcom/groupbyinc/flux/common/TriFunction;(Lcom/groupbyinc/flux/common/TriFunction;factoryentryWLjava/util/Map$Entry;Ljava/util/Map$Entry;bLjava/util/Map$Entry;this8Lcom/groupbyinc/flux/index/similarity/SimilarityService;	providerssimilaritySettingsQLjava/util/Map;providerMapping
similarity{(Lcom/groupbyinc/flux/index/mapper/MapperService;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity;|(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity;Lcom/groupbyinc/flux/index/mapper/MapperService;)V&?
?
mapperService0Lcom/groupbyinc/flux/index/mapper/MapperService;?Ljava/util/Map$Entry;>;
getSimilarityM(Ljava/lang/String;)Lcom/groupbyinc/flux/index/similarity/SimilarityProvider;getDefaultSimilarity*com/groupbyinc/flux/common/logging/Loggers?	getLogger4(Ljava/lang/Class;)Lorg/apache/logging/log4j/Logger;??
??$(Lorg/apache/logging/log4j/Logger;)V&?
??
,vclassic?"java/lang/invoke/LambdaMetafactory?metafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;??
????>com/groupbyinc/flux/index/similarity/ClassicSimilarityProviderq(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/Settings;)V&
?(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/index/similarity/SimilarityProvider;*()Lcom/groupbyinc/flux/common/TriFunction;?	
;com/groupbyinc/flux/index/similarity/BM25SimilarityProvider


boolean>com/groupbyinc/flux/index/similarity/BooleanSimilarityProvider

(Ljava/util/Map;)V&
,DFR:com/groupbyinc/flux/index/similarity/DFRSimilarityProvider

IB"9com/groupbyinc/flux/index/similarity/IBSimilarityProvider$
%&
LMDirichlet)Bcom/groupbyinc/flux/index/similarity/LMDirichletSimilarityProvider+
,-
LMJelinekMercer0Fcom/groupbyinc/flux/index/similarity/LMJelinekMercerSimilarityProvider2
34
DFI7:com/groupbyinc/flux/index/similarity/DFISimilarityProvider9
:;
java/util/Collections>unmodifiableMap (Ljava/util/Map;)Ljava/util/Map;@A
?BdefaultsbuiltIn
ConstantValue	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable (Lcom/groupbyinc/flux/index/IndexSettings;Ljava/util/Map;>;)V?(Ljava/util/Map;Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/Map;>;)Ljava/util/Map;BootstrapMethods
SourceFileInnerClasses1F !G"#!G$%!G$&'H*+?*?,Y,?0?3N*?7?=??C:?G?M:?S??W?
:?Z?\:?^?b?1+?f?l?p?$?rY?tY?wy?}?}?}????????:???:		?$?rY?tY?w??}?}??}?????,	?b??^	?b???.?rY?tY?w??}	?}??}?}?}??????^	????:
,	
????:???:-+?=????W???*+?=????:?G?M:?S?G?W?
:-?Z?b?+?f?l??????-?Z????W???*-??*-????-????????-????????-ù??????ɶϱI?
Q????????	!1??
0"??E
???5????45 !??!!??!d??!JR!1??
0"??E
???5?? $??"!???d??"K~BCD!EEFQHkI?K?L?M?N?O?PR!S0T5U:WRXUYdZ?\?]?_?`?a?b?c?degL??/9O?\
\?:\@-?'???9?O?5
?c?9?GM??HY+??Y*??+??*???I????KkLC???H?
}?,Y-?0?3:-?G?M:?S?W?W?
:?Z?\:????:+???:		???:		,????W????I\	>9?J-??W ??	2E??}??}?!}4?} !n?!J4J-??2E??}??} $n?"K*
qr2s>tJuWv\waywzz{LF?O?D
O
\??GN??HB*??+?????I???K??H/*???I??K??uH)???Y????Ż,Y??K*????W*???W*???W?,Y*?L+?!??W+#?(??W+*?/??W+1?6??W+8?=??W*?C??+?C?^?I?D!KYE!J?D$KYE$K:)01%233B5K6Z7i8x9?:?<?=?>OR???? ?'?.?5?<PQ"

		




© 2015 - 2024 Weber Informatics LLC | Privacy Policy