Ok, so it wasn't actually that difficult to find out what was going on :)

https://github.com/kzwang/elasticsearch-image/blob/master/src/main/java/org/elasticsearch/index/query/image/AbstractImageScorer.java

I don't really understand the motivation for the following bit of code, is 
there something bad about returning the Lire score? Could you possibly 
explain please?

if (Float.compare(distance, 1.0f) <= 0) { // distance less than 1, consider 
as same image
  score = 2f - distance;
} else {
  score = 1 / distance;
}


Thank you,
V

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/dc239a01-7d7b-48e8-9fd5-caa6b829b11c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to