...
|
...
|
@@ -174,7 +174,7 @@ public class SknImageVectorsServiceImpl implements ISknImageVectorsService, Appl |
|
|
params.put("f", VECTORS_KEY);
|
|
|
params.put("fea", fea);
|
|
|
params.put("verbose", true);
|
|
|
String inlineScript = "hamming_score";
|
|
|
String inlineScript = "yoho_hamming_score";
|
|
|
Script script = new Script(inlineScript, ScriptService.ScriptType.INLINE, "native", params);
|
|
|
ScriptScoreFunctionBuilder scriptBuilder = ScoreFunctionBuilders.scriptFunction(script);
|
|
|
//function_score
|
...
|
...
|
|