Showing
1 changed file
with
1 additions
and
1 deletions
@@ -174,7 +174,7 @@ public class SknImageVectorsServiceImpl implements ISknImageVectorsService, Appl | @@ -174,7 +174,7 @@ public class SknImageVectorsServiceImpl implements ISknImageVectorsService, Appl | ||
174 | params.put("f", VECTORS_KEY); | 174 | params.put("f", VECTORS_KEY); |
175 | params.put("fea", fea); | 175 | params.put("fea", fea); |
176 | params.put("verbose", true); | 176 | params.put("verbose", true); |
177 | - String inlineScript = "hamming_score"; | 177 | + String inlineScript = "yoho_hamming_score"; |
178 | Script script = new Script(inlineScript, ScriptService.ScriptType.INLINE, "native", params); | 178 | Script script = new Script(inlineScript, ScriptService.ScriptType.INLINE, "native", params); |
179 | ScriptScoreFunctionBuilder scriptBuilder = ScoreFunctionBuilders.scriptFunction(script); | 179 | ScriptScoreFunctionBuilder scriptBuilder = ScoreFunctionBuilders.scriptFunction(script); |
180 | //function_score | 180 | //function_score |
-
Please register or login to post a comment