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

**URL:** <https://discuss.elastic.co/t/how-to-set-the-edit-distance-of-the-fuzzy-like-this-query/15724>\
**Category:** Elasticsearch\
**Created:** [February 11, 2014, 10:52am UTC](https://discuss.elastic.co/t/how-to-set-the-edit-distance-of-the-fuzzy-like-this-query/15724 "2014-02-11T10:52:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joa/32/1807_2.png) [@joa](https://discuss.elastic.co/u/joa)\
**Post date:** [February 11, 2014, 10:52am UTC](https://discuss.elastic.co/t/how-to-set-the-edit-distance-of-the-fuzzy-like-this-query/15724/1 "2014-02-11T10:52:56Z")

</div>

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](mailto: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](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](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Binh\_Ly](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@Binh\_Ly](https://discuss.elastic.co/u/Binh_Ly)\
**Post date:** [February 14, 2014, 1:44pm UTC](https://discuss.elastic.co/t/how-to-set-the-edit-distance-of-the-fuzzy-like-this-query/15724/2 "2014-02-14T13:44:08Z")

</div>

It should be the fuzziness property:

[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-flt-query.html](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](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](mailto: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](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](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:50am UTC](https://discuss.elastic.co/t/how-to-set-the-edit-distance-of-the-fuzzy-like-this-query/15724/3 "2017-07-06T01:50:07Z")

</div>


