Jaro-Winkler Query

Hi,

Is it possible to use jaro-winker rather than levenshtein distance for
fuzzy queries? Any ideas how one could go about extending ES to enable
this.

I have looked at using function score like below however this does not work
for me seeing as I cannot combine this with another query that uses
provided analyzers. For example I would like to combine a search using
phonetic encoding & jaro-winker distance.

query: {
"function_score" : {
"query" : {
"match_all" : { }
},
"script_score" : {
"script" : "daon-jaro-winkler",
"lang" : "native",
"params" : {
"fullname_untokenized" : {
"query" : "some name"
}
}
}
}
}

Thanks,
Adrian

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/bf73b9ac-1984-46d7-b8ff-c02b94653eeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.