# Min doc frequency for the whole phrase suggestion?

**URL:** <https://discuss.elastic.co/t/min-doc-frequency-for-the-whole-phrase-suggestion/119619>\
**Category:** Elasticsearch\
**Created:** [February 13, 2018, 11:26am UTC](https://discuss.elastic.co/t/min-doc-frequency-for-the-whole-phrase-suggestion/119619 "2018-02-13T11:26:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aclowkey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aclowkey/32/51020_2.png) [@aclowkey](https://discuss.elastic.co/u/aclowkey)\
**Post date:** [February 13, 2018, 11:26am UTC](https://discuss.elastic.co/t/min-doc-frequency-for-the-whole-phrase-suggestion/119619/1 "2018-02-13T11:26:06Z")

</div>

Say I'm using the phrase suggestion, and I want to get suggestion only when the whole phrase has results.

For example: User types: "Dog hous" - since there is no document which matches "Dog house" the suggestion "Dog house" wouldn't return but "Dog household" would.

Is this feature supported?  
Can you recommend other approaches to this issue.

EDIT:  
I found about collate and it works - thanks Elastic guys  
thanks

---

<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:** [March 13, 2018, 11:26am UTC](https://discuss.elastic.co/t/min-doc-frequency-for-the-whole-phrase-suggestion/119619/2 "2018-03-13T11:26:10Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
