# Elastic search double words in suggestions

**URL:** <https://discuss.elastic.co/t/elastic-search-double-words-in-suggestions/23144>\
**Category:** Elasticsearch\
**Created:** [April 8, 2015, 7:01am UTC](https://discuss.elastic.co/t/elastic-search-double-words-in-suggestions/23144 "2015-04-08T07:01:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yauheni\_Butsko](https://avatars.discourse-cdn.com/v4/letter/y/a87d85/32.png) [@Yauheni\_Butsko](https://discuss.elastic.co/u/Yauheni_Butsko)\
**Post date:** [April 8, 2015, 7:01am UTC](https://discuss.elastic.co/t/elastic-search-double-words-in-suggestions/23144/1 "2015-04-08T07:01:11Z")

</div>

If I trying to get suggestions for phrase using this query

POST \_search  
{  
"suggest":{  
"my-suggest-1" : {  
"text" : "täta tack",  
"phrase" : {  
"field" : "fieldName"  
}  
}  
}  
}

I get response with double words in suggestions

"suggest": {  
"my-suggest-1": [  
{  
"text": "täta tack",  
"offset": 0,  
"length": 9,  
"options": [  
{  
"text": "tält tack tack",  
"score": 0.000005947221  
},  
{  
"text": "tätt tack tack",  
"score": 0.0000057828424  
},  
{  
"text": "tät tack tack",  
"score": 0.000003946186  
},  
{  
"text": "tvätt tack tack",  
"score": 0.0000038843486  
},  
{  
"text": "tända tack tack",  
"score": 0.0000034827103  
}  
]  
}  
]  
}

Looks like "täta"-\>"tält tack", "tack"-\>"tack" = "tält tack tack".

How can I fix it?

--  
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/71122d17-b4e2-48d3-b697-31c20c2432a7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/71122d17-b4e2-48d3-b697-31c20c2432a7%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:20am UTC](https://discuss.elastic.co/t/elastic-search-double-words-in-suggestions/23144/2 "2017-07-06T00:20:58Z")

</div>


