How to set the edit distance of the fuzzy like this query?


(joa) #1

When doing a query string search, the edit distance can set by doing the
following quikc~2.

But how can the edit distance set in the fuzzy_like_this query? It also
uses the Levenshtein distance, right?
Is it the min_similarity parameter? If so, what does a similarity of 0.5
mean?

Thanks

--
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/97faca1e-d950-4679-b4f7-73602a89f866%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Binh Ly) #2

It should be the fuzziness property:

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-flt-query.html

More details about how you can customize it here:

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/common-options.html#fuzziness

--
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/1ba19644-129e-432b-b4b7-0d33a3c0c48f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3