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
????4?6com/groupbyinc/flux/index/similarity/SimilarityService0com/groupbyinc/flux/index/AbstractIndexComponentSimilarityService.javaIcom/groupbyinc/flux/index/similarity/SimilarityService$PerFieldSimilarityPerFieldSimilarityjava/util/Map$Entry	
java/util/MapEntry%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupDEPRECATION_LOGGER6Lcom/groupbyinc/flux/common/logging/DeprecationLogger;DEFAULT_SIMILARITYLjava/lang/String;BM25CLASSIC_SIMILARITYclassicDEFAULTSLjava/util/Map;?Ljava/util/Map;>;>;BUILT_INLjava/util/Map;>;defaultSimilarityILcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity;similarities?Ljava/util/Map;>;e(Lcom/groupbyinc/flux/index/IndexSettings;Lcom/groupbyinc/flux/script/ScriptService;Ljava/util/Map;)V,(Lcom/groupbyinc/flux/index/IndexSettings;)V%'
(java/util/HashMap*size()I,-.(I)V%0
+1
indexSettings)Lcom/groupbyinc/flux/index/IndexSettings;34	5'com/groupbyinc/flux/index/IndexSettings7getSettings0()Lcom/groupbyinc/flux/common/settings/Settings;9:
8;index.similarity=,com/groupbyinc/flux/common/settings/Settings?	getGroups#(Ljava/lang/String;)Ljava/util/Map;AB
@CentrySet()Ljava/util/Set;EFG
java/util/SetIiterator()Ljava/util/Iterator;KLJM(com/groupbyinc/flux/script/ScriptServiceOjava/util/IteratorQhasNext()ZSTRUnext()Ljava/lang/Object;WXRYgetKey[X
\java/lang/String^	`containsKey(Ljava/lang/Object;)ZbcdgetIndexVersionCreated()Lcom/groupbyinc/flux/Version;fg
8hcom/groupbyinc/flux/VersionjV_5_0_0_alpha1Lcom/groupbyinc/flux/Version;lm	kn	onOrAfter (Lcom/groupbyinc/flux/Version;)Zpq
kr"java/lang/IllegalArgumentExceptiontjava/lang/StringBuilderv()V%x
wy%Cannot redefine built-in Similarity [{append-(Ljava/lang/String;)Ljava/lang/StringBuilder;}~
w]?toString()Ljava/lang/String;??
w?(Ljava/lang/String;)V%?
u?getValue?X
?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;???applyJ(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;????Gcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity?"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;??
???X
lambda$new$14?(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity;??
??K()Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity;?h(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity;)Ljava/util/function/Supplier;???put???	?java/util/function/Function?????java/util/function/Supplier?#	?default??X??!"	?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??
??nameproviderSettings.Lcom/groupbyinc/flux/common/settings/Settings;typeNamedefaultFactory?Lcom/groupbyinc/flux/common/TriFunction;(Lcom/groupbyinc/flux/common/TriFunction;factory
similarityentryWLjava/util/Map$Entry;Ljava/util/Map$Entry;?Ljava/util/Map$Entry;>;>;this8Lcom/groupbyinc/flux/index/similarity/SimilarityService;
scriptService*Lcom/groupbyinc/flux/script/ScriptService;	providerssimilaritySettingsQLjava/util/Map;{(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;
getSimilarityM(Ljava/lang/String;)Lcom/groupbyinc/flux/index/similarity/SimilarityProvider;7com/groupbyinc/flux/index/similarity/SimilarityProvider?^(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity;)V%?
??simhLjava/util/function/Supplier;Ljava/util/function/Supplier;getDefaultSimilaritylambda$static$13?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/Version;Lcom/groupbyinc/flux/script/ScriptService;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity;8com/groupbyinc/flux/index/similarity/SimilarityProviderscreateDfiSimilarity?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/DFISimilarity;
settingsversionlambda$static$12createLMJelinekMercerSimilarity?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/LMJelinekMercerSimilarity;

lambda$static$11createLMDirichletSimilarity?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/LMDirichletSimilarity;
lambda$static$10createIBSimilarity?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/IBSimilarity;
lambda$static$9createDfrSimilarity?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/DFRSimilarity;
lambda$static$8createBooleanSimilarity?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/BooleanSimilarity;!"
#lambda$static$7createBM25Similarity?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity;&'
(lambda$static$6?The [classic] similarity is now deprecated in favour of BM25, which is generally accepted as a better alternative. Use the [BM25] similarity or build a custom [scripted] similarity instead.+createClassicSimilarity?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/ClassicSimilarity;-.
/scriptlambda$static$5<(Lcom/groupbyinc/flux/Version;)Ljava/util/function/Supplier;Ncom/groupbyinc/flux/common/apache/lucene/search/similarities/BooleanSimilarity4
5ylambda$static$47?
89?lambda$static$3EMPTY=?	@>lambda$static$2?(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity;@A
BCl(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity;)Ljava/util/function/Supplier;?EFMLcom/groupbyinc/flux/common/apache/lucene/search/similarities/BM25Similarity;lambda$static$1lambda$static$0?(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/ClassicSimilarity;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity;JK
LMo(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/ClassicSimilarity;)Ljava/util/function/Supplier;?OPPLcom/groupbyinc/flux/common/apache/lucene/search/similarities/ClassicSimilarity;*com/groupbyinc/flux/common/logging/LoggersT	getLogger4(Ljava/lang/Class;)Lorg/apache/logging/log4j/Logger;VW
UX$(Lorg/apache/logging/log4j/Logger;)V%Z
?[
+y?I3
_`3()Ljava/util/function/Function;?cd<3
fgdbooleanj23
lmd?*
qr*()Lcom/groupbyinc/flux/common/TriFunction;?uv%
xyv 
|}	vDFR?
??
vIB?
??vLMDirichlet?
??vLMJelinekMercer?
??
vDFI?
??vscripted??com/groupbyinc/flux/index/similarity/ScriptedSimilarityProvider?
?yjava/util/Collections?unmodifiableMap (Ljava/util/Map;)Ljava/util/Map;??
??defaultsbuiltIn
ConstantValue	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTablea(Lcom/groupbyinc/flux/index/IndexSettings;Lcom/groupbyinc/flux/script/ScriptService;Ljava/util/Map;>;)VBootstrapMethods
SourceFileInnerClasses1???? !"#?$%&??*+?)?+Y-?/?2:*?6?<>?D:?H?N:?V?!?Z?
:?]?_:?a?e?1+?i?o?s?$?uY?wY?z|???????????????@:		???:

?$?uY?wY?z?????????????-
?e??a
?e???.?uY?wY?z???
????????????????a
????:-
????:	+?i,????:

????W??۲??H?N:?V?:?Z?
:?]?_????+?i???ƹ?W???*??*ʹ??ʹ??ƹ???????ƹ?????й??????ֶܱ??R?????	???
"3??1$??D?"
F??}(????34??#??"???H"3??1$??F??}(??# ??$"????nhij"lFmRolp?r?s?t?u?v?wy"z1{D|U}X~}??????????????{
?08PR?\
_?:@_@-?D8P?R?@i?8P??????a+??Y*??+???*?ΰ??????????C?????&*??+????M,????Y+,???????? &??&???????????????/*?ΰ?????
???,*???"?|
?D*+?	?? 
?m???]
?D*+??? 
?m???[
?D*+??? 
?m???Y
?D*+??? 
?m???W
?D*+??? 
?m???U
 ?D*+?$?? 
?m???S
%?D*+?)?? 
?m???Q
*?U??,?ֶ?*+?0?? 
?m1??
K
N
23?G?5Y?6L+?;??m?"?
DE
7??,*???"?E
<3?G??*?)L+?G??m?H?
@A
@A?,*???H?A
I3?G??*?0L+?Q??m?R?
78
JK?=??,?ֶ?*???R?
9
<Sx?t??Y?Y?\?һ+Y?]K*?e??W*?i??W*k?o??W?+Y?]L+?w??W+?{??W+k???W+?????W+?????W+?????W+?????W+?????W+???Y????W*????+???a????J?????J?? ?J/56%?3CBHJIXPfRuT?V?X?Z?\?^?_?`?a????????:???D???N??^ab?^hb?^nb?pst?pzt?p~t?p?t?p?t?p?t?p?t?p?t??

	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy