# Fuzzy search and term length

**URL:** https://discuss.elastic.co/t/fuzzy-search-and-term-length/4623
**Category:** Elasticsearch
**Created:** [June 14, 2011, 10:05pm UTC](https://discuss.elastic.co/t/fuzzy-search-and-term-length/4623 "2011-06-14T22:05:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Michael\_Scholl](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@Michael\_Scholl](https://discuss.elastic.co/u/Michael_Scholl)
#### Post date: [June 14, 2011, 10:05pm UTC](https://discuss.elastic.co/t/fuzzy-search-and-term-length/4623/1 "2011-06-14T22:05:45Z")

</div>

Hi there,

we build an analysis tool for citations.  
We're doing a parent/child matching while importing the citations.  
(Right now we do a flt search on the title with min\_similarity option set to 0.9 and get the first hit with score above 0.8)

For most citations this matching works great and results are perfect (getting together titles with small differences in typing).  
The only problem are short terms, like "test" matching with longer titles like "this is a test".

Asking on irc for that problem we were suggested to use another analyzer like phonetic or combine score of different analyzers  
([http://www.elasticsearch.org/guide/reference/index-modules/analysis/phonetic-tokenfilter.html](http://www.elasticsearch.org/guide/reference/index-modules/analysis/phonetic-tokenfilter.html)).

That problem was stopping us using flt for Author/Publisher matching and switching back to term based matching.  
Single letters were a huge problem there.

But clintongormley also mentioned, that an option for flt to get length of search term into scoring could be a future feature.  
Is there already an issue for that we could vote for? 🙂

Any other ideas for matching are welcome!  
(Reading of [http://zmievski.org/2011/03/duplicates-detection-with-elasticsearch](http://zmievski.org/2011/03/duplicates-detection-with-elasticsearch) was leading us to fuzzy)

Cheers

Mischosch

---

<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, 4:03am UTC](https://discuss.elastic.co/t/fuzzy-search-and-term-length/4623/2 "2017-07-06T04:03:35Z")

</div>


