Elasticsearch fuzzy search scores the same for exact match and non-exact match


(Tolga Tezel) #1

I index two documents, one with text "testphone5" and one with text
"testphone 4s". I then perform a fuzzy query on the text field,
specifying "testphone5" as the value. Both documents get returned with the
exact same score. Why is this? Shouldn't the exact match have a higher
score than the non-exact match?

Gist to recreate the issue is below (it's really simple):

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3